diff --git a/ts/cluster1/spl_mint.ts b/ts/cluster1/spl_mint.ts index 07c48fb..26bcf82 100644 --- a/ts/cluster1/spl_mint.ts +++ b/ts/cluster1/spl_mint.ts @@ -16,24 +16,14 @@ const mint = new PublicKey(""); (async () => { try { - const ata = await getOrCreateAssociatedTokenAccount( - connection, - keypair, - mint, - keypair.publicKey - ); - console.log(`Your ata is: ${ata.address.toBase58()}`); + // Create an ATA + // const ata = ??? + // console.log(`Your ata is: ${ata.address.toBase58()}`); - const mintTx = await mintTo( - connection, - keypair, - mint, - ata.address, - keypair, - 1000n * token_decimals - ) - console.log(`Your mint txid: ${mintTx}`); + // Mint to ATA + // const mintTx = ??? + // console.log(`Your mint txid: ${mintTx}`); } catch(error) { console.log(`Oops, something went wrong: ${error}`) } -})() \ No newline at end of file +})()