Runtime Precompiles
NFT (ERC-721)
Pallet Precompile
Use this precompile to interact with the nft
runtime pallet to create an ERC-721 collection.
Contract Address
Solidity Interfaces
Token Precompile
Contract Address
The ERC-721 contract address for The Root Network native non-fungible token 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 ERC721 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
, and states the burn authority
on this call.
The token is only minted once the token owner calls acceptSoulbound
.
Was this page helpful?