Skip to content

Riceee69/On-chain-metadata-NFTs-ERC721

Repository files navigation

This is a NFT contract with the Token URI being generated on-chain. Learnt the use of Chainlink VRF to produce random numbers to change token URI on-chain for the NFT.

Steps to test it:

  1. Deploy the contract and verify it (I have used Amoy Testnet)
  2. Call the mint function to mint the Warrior NFT
  3. Call the train function to generate random numbers for the Warrior attributes.

P.S. : You need to setup Chainlink's VRF for this contract

npx hardhat help
npx hardhat test
REPORT_GAS=true npx hardhat test
npx hardhat node
npx hardhat ignition deploy ./ignition/modules/Lock.ts

About

ERC721 NFTs with on-chain metadata

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors