4๏ธUpdate Whitelist
Here are the action that you can do with the whitelist mechanism. Please, make sure that you are in the js/cli directory before you proceed with this step.
Set Whitelist
This command will set whitelist address to candy machine contract.
npx ts-node src/candy-machine-cli.ts set-whitelist -d data -n testnet -w example-assets/whitelist.csv-d, --data <string>
true
data
Data folder that will store created NFT contract information
-n, --network <string>
true
testnet
Terra network. (localterra, testnet and mainnet)
-w, --whitelist <string>
true
example-assets/whitelist.csv
Whitelist file
After setting whitelist successfully you will be greeted with
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ 100% | ETA: 0s | 4/4
set whitelist completeGet Single Address Whitelist
npx ts-node src/candy-machine-cli.ts get-whitelist -d data -a terra1x46rqay4d3cssq8gxxvqz8xt6nwlz4td20k38v -r 1 -n testnet-d, --data <string>
true
data
Data folder that will store created NFT contract information
-a, --address <string>
true
terra1x46rqay4d3cssq8gxxvqz8xt6nwlz4td20k38v
Address that want to check for whitelist
-r, --round <number>
true
1
Round number
-n, --network <string>
true
testnet
Terra network. (localterra, testnet and mainnet)
After getting whitelist successfully you will be greeted with
address: terra1x46rqay4d3cssq8gxxvqz8xt6nwlz4td20k38v
round: 1
total: 1Check Whitelist Address
This command will check total remaining number that this address can mint in current round.
-d, --data <string>
true
data
Data folder that will store created NFT contract information
-a, --address <string>
true
terra1x46rqay4d3cssq8gxxvqz8xt6nwlz4td20k38v
Terra address
-n, --network <string>
true
testnet
Terra network. (localterra, testnet and mainnet)
After checking whitelist successfully you will be greeted with
Set Whitelist Round
This command will change round of candy machine contract.
-d, --data <string>
true
data
Data folder that will store created NFT contract information
-n, --network <string>
true
testnet
Terra network. (localterra, testnet and mainnet)
-r, --round <number>
true
2
Round number
After setting whitelist round successfully you will be greeted with
Open Candy Machine with Public Round
This command will change round of candy machine to public round
-d, --data <string>
true
data
Data folder that will store created NFT contract information
-n, --network <string>
true
testnet
Terra network. (localterra, testnet and mainnet)
After opening successfully you will be greeted with
Close Candy Machine with Public Round
-d, --data <string>
true
data
Data folder that will store created NFT contract information
-n, --network <string>
true
testnet
Terra network. (localterra, testnet and mainnet)
After closing successfully you will be greeted with
Last updated