Update NFT Schema

For NFT_Schema that already created we are allow admin to fix or add some update to it such as add more action, add more attribute, disable some action and etc.

Change Organization Owner

For the first time we create NFT_Schema, we automatically create organization name to Schema owner. Such as six.rocket_ticket organization name will be six . Then when we want to change owner or transfer the owner we now can use this msg.

sixd tx nftmngr change-org-owner <string_org_name> <new_owner_address> \
    --from <your_address_or_key> --keyring-backend=os \
    --node https://rpc1.fivenet.sixprotocol.net:443 --chain-id fivenet \
    --gas auto --gas-adjustment 1.5 --gas-prices 1.25usix -y

for example of this command should be:

sixd tx nftmngr change-org-owner six 6x1v23u9k5c8pwm87jtvxwwmuzt8nj250xu4lr4vh \
    --from alice --keyring-backend=os \
    --node https://rpc1.fivenet.sixprotocol.net:443 --chain-id fivenet \
    --gas auto --gas-adjustment 1.5 --gas-prices 1.25usix -y

Add new Action to schema

{
  "name": "new_action",
  "desc": "New Action",
  "disable": false,
  "params": [
    {
      "name": "param1",
      "desc": "Param1",
      "data_type": "number",
      "required": true,
      "default_value": "10"
    }
  ],
  "when": "meta.GetBoolean('started') == true",
  "then": [
    "meta.SetNumber('points', meta.GetNumber('points') - params['param1'].GetNumber())"
  ]
}

for example of this command should be:

Add new NFT Attribute

circle-info

Location = 0 => NFT Attribute

Location = 1 => Token Attribute

encode New Attributes with base64 then use it to next command example

for example of this command should be:

Add new token attribute

To Show or Hide multiple attributes in one command

circle-info

false => to hide

true => to show

for example of this command should be:

To disable action

Sometimes when we add new action we might want to disable some action that we don't need

circle-info

disable = true => To disable action

disable = false => To enable action

for example of this command should be:

Update base URI of NFT Schema

When we hide original URI then we want to reveal it to publish URI we can use this message to set new base uri.

for example of this command should be:

Add system actioner

A system_actioner is Array of addresses that has permission to perform actions on behalf of admin or schema owner

for example of this command should be:

Remove system actioner

Also we provided remove system actioner when the address is out of responsible

for example of this command should be:

Last updated