Skip to main content
Build Solidity contracts on Tavchain Testnet using familiar Ethereum development tools. Choose a browser workflow for a first contract or a local project for compilation and tests.

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 use eth_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: Deploy your own instance when following a tutorial. Use Verify a contract to publish its original source and compiler settings.

Compatibility and security

General EVM compatibility does not guarantee every opcode revision, precompile or tool combination. Consult release information and validate your application’s requirements. The examples are demonstrations, not audited contracts for valuable assets.