Skip to content

Godtide/nftscript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to NftScript

  • 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 Image

  • Add your .png files to ./input/nft)

Project Setup

  • install node.js on your local system here
  • clone the repository to your local system here
  • run npm i to install dependencies

RUN a node

npx hardhat node --fork https://api.avax.network/ext/bc/C/rpc

Compile and test solidity file

 npx hardhat compile
 npx hardhat test

How to use

mint an Nft

node index.js mint nft

Transfer Nft

node index.js transfer nft  0x06a8e8f19682749fd01807943168020f52e0da58 0x5f98Bf2254BF20F70f1ca7722abBa28359591de

Development suggestions

  • 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

About

A simple cmd tool to generate nft on-chain

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published