6 hours ago - Translate

https://solanaminty.com
https://solanaminty.com
To reiterate, all spl-token is doing is sending instructions to the token program. The createAccount perform here's a helper perform within the spl-token library that submits a transaction with two directions. To do that, we'll use the createMint perform from @solana/. When creating a new mint from a script that has access to your secret key, you may simply use the createMint function. The createMint function returns the publicKey of the brand new token mint. Note that the first line in the perform physique of the previous code snip