Remix quickstart
Write and compile Greeter, then deploy and interact with MetaMask.
Hardhat project
Build and test locally, deploy with Ignition and verify source.
ERC-20 token
Create an OpenZeppelin token, read balances and transfer tokens.
Verify source
Publish the original source and compiler settings to the explorer.
Build an application
Smart contracts let you define application rules and update shared state on Tavchain. You can use them as building blocks for payments and escrow, finance and DeFi, tokens, memberships, games and verifiable records. These guides demonstrate contract deployment, token transfers and source verification. Broader applications require their own contracts, interfaces, security checks and any necessary external integrations. A smart contract cannot independently verify an off-chain event such as delivery of physical goods.Before deploying
Connect to Tavchain Testnet, chain ID 771002, and obtain Test TAV for gas. Retain your source, dependencies, compiler settings and deployment artifacts for later verification. The tutorials use Solidity 0.8.21, the Shanghai EVM target, optimization enabled and 200 runs. Use the settings specified by your own project when building or verifying a different contract.Reads and transactions
Read-only contract calls useeth_call and do not submit a transaction. Deployment and state-changing methods require local signing and gas. Check transaction receipts after submission.
Explore a deployed example
Inspect either verified example on chain 771002:- Greeter reference contract, using the Remix deployment workflow.
- GLD reference contract, using the Hardhat starter, with a successful 10-GLD transfer.