Asset Registery Transaction Message Example

This sample will attempt to perform two different Asset Registry Transactions. Upon first pressing the button it will attempt a link transaction, Linking NFT B the designated "Slot" on NFT A. The next press will attempt to Delete that Link, unlinking the NFT B from that slot on NFT A. This sample uses default values, It is recommended that you update the values (found in the ARTM_Button in this level) to match NFT's you have access to.

You can update the "NFT A", "NFT B" and "Slot" values by selecting the button in the world, they will appear as instance-editable variables in the actor details panel. You will need to set these to an NFT, which has ARTM support (such as a porcini-testnet Racier or Partybear) that is in the wallet that is connected.

When the player presses the button, it calls SendFutureverseARTM. The type of link is swapped by the bool "LinkUnlinkToggle" which is flipped every time a ARTM is completed (successfully or not). As you can see the message in the ARTM is "Update is being made to your inventory!".

Last updated