1e-12
and scaling up outputs by 1e12
. Any fractional amounts < 1e12
/ 0.000001 XRP
are always rounded up only by adding 1e12
.
ROOT token is available as an ERC-20 token at 0xcCcCCccC00000001000000000000000000000000
. ROOT is also a 6dp token but requires no special handling as per the ERC20 standard.
Tip: The @therootnetwork/evm
package exports a handy method assetIdToERC20Address
that converts the native asset id to EVM contract address. In ROOT case, it’s effectively assetIdToERC20Address(1)
with ROOT asset id is 1
.
1 XRP
to receiver
1.00001 XRP
to receiver
(i.e. rounds up by 0.00001 XRP
)0.00001 XRP
to receiver
1.2 XRP
to receiver
wei
(18dp) as normal
< 1e12
are always rounded up
eth_feeHistory
RPC is provided for this purpose. See eth_feeHistory - Ethereum documentation for more details.
Fees are charged for deploying and executing smart contracts on The Root Network.
Executing a smart contract on The Root Network costs a minimal transaction fee, typically a few XRPs.
Deploying a smart contract is slightly more expensive than executing it. This is because each contract deployed to the EVM will be stored on the chain forever. It requires storage space.
v8.20.0 (Shanghai)
and below, with future support for newer version is underway.