npm install
npm run build
npm run test:nft
PRIVATE_KEY
:Deployer private keyuri
:URI of the nftnftAddress
:Address of the nft after deploy
deploy
Deploy the contract according to the environment variables.
mint
Batch mint the nft to the WihteList.
- run
cp .env.example .env
and edit the settings in.env
- run
npm run deploy -- --network rei-testnet
- 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.
-
run
cp whitelist.example.txt whitelist.txt
and put your whitelist inwhitelist.txt
-
run
npm run mint -- --network rei-testnet
-
run
cp whitelist.example.txt whitelist.txt
and put your whitelist inwhitelist.txt
-
run
npm run mint -- --network rei-mainnet