- This is a simple proof of concept cmd script to Mint and transfer NFT's on-chain, feel free to contribute to this repo with new ideas.
- Add your .png files to
./input/nft
)
- install
node.js
on your local system here - clone the repository to your local system here
- run
npm i
to install dependencies
npx hardhat node --fork https://api.avax.network/ext/bc/C/rpc
npx hardhat compile
npx hardhat test
node index.js mint nft
node index.js transfer nft 0x06a8e8f19682749fd01807943168020f52e0da58 0x5f98Bf2254BF20F70f1ca7722abBa28359591de
-
The transfer cmd is currently in-progress, check the config.js file to make a useful PR.
-
There's a better way to do the transfer without recreating/redeploying Readmore
Best... Tide