Skip to main content
9 events
when toggle format what by license comment
Nov 5, 2022 at 15:37 vote accept austinmilt
Oct 23, 2022 at 12:50 comment added nickfrosty That could be the issue. The version of the Token program could be different between your localnet and the devnet/production version. Try running your same code on devnet. There are currently changes in the works for the SPL token program and token swap program
Oct 22, 2022 at 20:58 answer added austinmilt timeline score: 0
Oct 22, 2022 at 16:11 comment added austinmilt I'm using localnet, running tests for my program using anchor test
Oct 22, 2022 at 14:26 comment added nickfrosty I just tested my code sample for creating a mint using the JS library with no issues. What Solana network cluster are you connecting to?
Oct 22, 2022 at 10:39 comment added Ademola I can't say specifically why this fails but this is the preferred way of creating an spl token(according to the spl docs): ``` let mint = await spl.createMint( connection, authority, authority.publicKey, authority.publicKey, 9 ); return mint; ```
Oct 22, 2022 at 3:17 history edited austinmilt CC BY-SA 4.0
deleted 12 characters in body
S Oct 22, 2022 at 3:11 review First questions
Oct 22, 2022 at 21:04
S Oct 22, 2022 at 3:11 history asked austinmilt CC BY-SA 4.0