Script
To make it easy to use NFT Gen2 we provided bash script for any user to use it.
Make sure that you had modify some important informations before using script
Download Script
After unzip file we need to modify nft_schema.json to our specific code (nft-schema-code) such as "code": "six.rocket_tiket"
and name (schema_name) such as "name":"sixlauncher001"
. Then we are ready to use the script
Then modify key or address in file init_data.sh from --from alice
to --from <your-address_or_yourkey>
such as --from 6x1v23u9k5c8pwm87jtvxwwmuzt8nj250xu4lr4vh
How to user scripts
1. Initial schema
2. Interact with schema
The differentiation between line 1 and line 3: The first one we need to input schema code every times we want to use script while the second one we can skip the step Enter Schema Code:
To make it more efficient we can replace some step such as replace ${address_key} with actual address or key of user and remove line of From (address or key):
For example:
After finish initial schema now we are ready to interact with it
Last updated