Update spl_init.ts
This commit is contained in:
@@ -12,14 +12,8 @@ const connection = new Connection("https://api.devnet.solana.com", commitment);
|
||||
(async () => {
|
||||
try {
|
||||
// Start here
|
||||
const mint = await createMint(
|
||||
connection,
|
||||
keypair,
|
||||
keypair.publicKey,
|
||||
null,
|
||||
6
|
||||
)
|
||||
// const mint = ???
|
||||
} catch(error) {
|
||||
console.log(`Oops, something went wrong: ${error}`)
|
||||
}
|
||||
})()
|
||||
})()
|
||||
|
||||
Reference in New Issue
Block a user