Update spl_init.ts

This commit is contained in:
Dean 利迪恩
2023-08-15 21:03:13 +08:00
committed by GitHub
parent 662db94f65
commit 8ee74a9695

View File

@@ -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}`)
}
})()
})()