Add burn command to CLI
psiemens opened this issue · comments
Peter Siemens commented
The Freshmint CLI should include a command to burn NFTs.
Peter Siemens commented
I'm thinking something like this:
fresh burn --network <network> [ids...]
# Burn NFTs on testnet with IDs 3425, 1235, 4524, 216661
fresh burn --network testnet 3425 1235 4524 216661
# As with all commands, "network" should default to "emulator"
fresh burn 42
@freshmint/core
already has a destroy_nft.cdc transaction that can be modified to accept multiple IDs. "Destroying" is equivalent to burning.