Skip to main content
Tavchain has a native coin, TAV, and supports smart-contract tokens such as ERC-20s. Their balances and uses are different.

Native TAV

Use TAV for native transfers and transaction gas. On testnet, obtain valueless Test TAV from the faucet. Read its balance with eth_getBalance.

Contract tokens

An ERC-20 records token balances in a smart contract. Identify it by network and contract address, not its ticker alone. Two contracts can use the same symbol without representing the same asset. Read a token’s own decimals() when displaying amounts. Its decimals do not have to match native TAV’s 18 decimals. An ERC-20 balance does not replace the TAV needed for gas.

Build an example token

Follow Create and transfer an ERC-20 token to deploy OpenZeppelin’s Gold (GLD) example, read its supply and transfer tokens. GLD is a fictional demonstration, not gold-backed or an official Tavchain asset. Read a token balance · Tavcoin units