Skip to main content

ERC-20

How do I transfer ROOT token?

ROOT token contract address is 0xcCcCCccC00000001000000000000000000000000 and it fully supports the ERC-20 standard.

How do I transfer XRP token or any other ERC-20 tokens?

Just like the ROOT token, XRP and any other ERC-20 token contract addresses can be derived from its native asset IDs.
Tip:
To retrieve a list of available tokens and their asset IDs, check out the Tokens section in our Rootscan Explorer.

ERC-721

How do I create and mint an ERC-721 NFT?

It’s possible to create an ERC-712 collection by calling initializeCollection() method exposed by the nft precompile.
Caution: The royaltyEntitlements is in permill (parts per million) scaling, so if you want a 10% royalty, that would be 100,000 (as (100_000 / 1_000_000) * 100 = 10%).
Once the collection is created, use the same owner wallet to mint the NFT: