Skip to content

REI-Network/rei-GenesisProposalBadgesNFT

Repository files navigation

rei-GenesisProposalBadgesNFT Project

Install

npm install

Build

npm run build

Test

npm run test:nft

Environment variables

  • PRIVATE_KEY:Deployer private key
  • uri:URI of the nft
  • nftAddress:Address of the nft after deploy

Scripts

deploy

Deploy the contract according to the environment variables.

mint

Batch mint the nft to the WihteList.

Deploy

Deploy to Testnet

  • run cp .env.example .env and edit the settings in.env
  • run npm run deploy -- --network rei-testnet

Deploy to Mainnet

  • run cp .env.example .env and edit the settings in.env
  • run npm run deploy -- --network rei-mainnet

You will get Address of the contract in the console, change the nftAddress in the environment variables.

Mint

Mint to Testnet

  • run cp whitelist.example.txt whitelist.txt and put your whitelist in whitelist.txt

  • run npm run mint -- --network rei-testnet

  • Mint to Mainnet

  • run cp whitelist.example.txt whitelist.txt and put your whitelist in whitelist.txt

  • run npm run mint -- --network rei-mainnet

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published