This repository contains TypeScript scripts to interact with the Solana blockchain, including uploading NFT images, NFT metadata and creating NFTs.
Use this command to upload an image to be used for an NFT.
npx esrun nft-image.tsThis script uploads an image and returns a URI to access it.
This command uploads metadata for an NFT, including name, symbol, description, and attributes.
npx esrun nft-metadata.tsThis script generates metadata in JSON format and uploads it to a decentralized storage service, returning a metadata URI.
Checking https://devnet.irys.xyz/FrMQVN9YZakxmoiR7rXaxxESxhFSB4YbTM5mx7SNphdw for NFT Metadata.
This command mints a new NFT on the Solana blockchain using the uploaded metadata.
npx esrun nft-create.tsThis script initializes a new NFT mint, assigns metadata, and confirms the transaction on the blockchain.
Checking https://solscan.io/tx/2prAC26AzT1M7U6x89Ji5v5mGR6XzNkYEqB46AmQ8wQQTAoLN48TgXY8WdkrdvdCdXZnm9x3kyWNxjKE3uULRsdF?cluster=devnet and Mint for NFT Details.




