A complete course for learning Solana, including creating and transferring tokens, making NFTs, on-chain app development, and more.
Mozilla Public License 2.0
395
stars
134
forks
source link
Replace `utils.ts` in compressed NFTs section with @solana-developers/helpers #278
Closed
mikemaccana closed 9 months ago
We now have an official place for devrel to put helper functions like this (long term they'll end up in web3.js)
getOrCreateKeypair
-> have an .env file, then usegetKeypairFromFile()
airdropSolIfNeeded
-> check if below 1 SOL then userequestAndConfirmAirdrop()
The others -
createNftMetadata
andgetOrCreateCollectionNFT
are still needed.