SFT (ERC-1155)
Pallet Precompile
Use this precompile to interact with the sft
runtime pallet to create an ERC-1155 collection.
Contract Address
Solidity Interfaces
Token Precompile
Contract Address
The ERC-1155 contract address for The Root Network native semi-fungible tokens uses the following format:
To make things easier, the @therootnetwork/evm
provides a handy function to convert token asset ID to its equivalent contract address.
Solidity Interfaces
Soulbound Tokens
The ERC1155 precompile supports Soulbound token functionality and implements the IERC5484 interface.
Soulbound token ABI
The minting of Soulbound tokens is a two-step process. The collection owner creates
a pending issuance via issueSoulbound
. However the burn authority
for a token
must already be set prior to calling issueSoulbound
.
The token is only minted once the token owner calls acceptSoulbound
.
Was this page helpful?