3️Configure Candy Machine

After you have creating the candy machine, here are the action that you can do with it. Please, make sure that you are in the js/cli directory before you proceed with this step.

Open Candy Machine

npx ts-node src/candy-machine-cli.ts open -d data -n testnet
Param
Required
Example
Description

-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)

You will be greeted with this if it open successfully.

open candy machine complete: CC9BD2EAB797FCB4A1156E7695397C4DC2CDA6EA576DC4D560CC891FD965A916

Close Candy Machine

npx ts-node src/candy-machine-cli.ts close -d data -n testnet
Param
Required
Example
Description

-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)

You will be greeted with this if it close successfully.

close candy machine complete: B18CCD570E3CE6439E4677BB88C74D2CC6A8F3FDCDBB59607FDF7323F9751545

View Information

npx ts-node src/candy-machine-cli.ts info -d data -n testnet
Param
Required
Example
Description

-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)

You will see those information if it run successfully

network: testnet
candy machine address: terra18tehsjdcx8jk6k6ukzl7k0089wt6rvcrpjl9mmvt0ym9w4q2zanqvhqgpz
owner: terra1perl7ywrpaa53exw4asqqhecvcfzxvuruh5s50
nft address: terra1q9ur0llh76xantxp2r765ssuelwgs8nnvhafh373z9lvjg0hug7qkvxdfl
mint price: 100000 uluna
minting fee receiver wallet: terra1perl7ywrpaa53exw4asqqhecvcfzxvuruh5s50
whitelist enable: false
current round: public
status: close
total minted: 0 / 8

Last updated