Create minting QR Codes for gasless POAPs/NFTs on the Solana blockchain! follow these simple steps to get started,
Note: This is an open-sourced, example implementation, security of private keys being used to pay for gas behind the scenes is at your risk!
Fork the repo and edit the following details based on your NFT details,
- Custom RPC URL under
./nft.ts
for better speed (optional) uri
under the./nft.ts
file. This holds the metadata details of your NFT. Create a new JSON file with required details, host on pltaforms like Shadow.storage or Cloudinary and paste the hosted url here to mint NFT with your required metadata (required)
Deploy on Railway and make sure to add value to the env SOL_PRIVATE_KEY
with private key of wallet that will pay for gas fees behind the scenes! (Each NFT mint costs ~0.012 SOL, fund according to your expected mint numbers!)
- After deployment on railway, your server will be hosted! Create a domain for your server under
custom domain
settings and copy the URL. - Visit URL Encoder, psste your server URL, click encode, an encoded URL will be generated. Copy it for the final step
- Visit QR Code Monkey, under your URL section, add a text
solana:
in start and then paste your encoded server url. Note- Adding thesolana:
text is reuired and minting will not work if this process is not followed properly! - Design your QR Code according to your needs and download the final image.
That's all! you're all set to mint and share some gasless NFTs on the Solana blockchain!