Above is a NFT project for cryptographic puzzle . Intially we have a puzzle, and we will get an image once we have solved the puzzle and its description too . One can also request for hints if they dont get an idea!!!!
To connect to the Solana Devnet, use the following command:
solana config set --url devnetDeploying a contract will require some tokens. Obtain Devnet tokens using the command:
solana airdrop 1After obtaining Devnet tokens, deploy the contract with the following command:
solana program deploy target/deploy/nft.sonow save the YOUR_PROGRAM_ID
Install the required node_modules dependencies by running:
yarn installAdditionally, install the @solana/spl-token package manually using:
yarn add @solana/spl-token
With the contract and frontend set up, test the NFT contract by executing the client:
npx ts-node app.ts <YOUR_PROGRAM_ID>