> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tavchain.safeney.com/llms.txt
> Use this file to discover all available pages before exploring further.

# EVM contract workflow

> Choose Remix or Hardhat to compile, test, deploy and verify Solidity contracts on Tavchain Testnet, with links to token and transaction guides.

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.

> [card] [Remix quickstart](https://docs.tavchain.safeney.com/tavchain/write-contract.md)
>
> Write and compile Greeter, then deploy and interact with MetaMask.

> [card] [Hardhat project](https://docs.tavchain.safeney.com/tavchain/hardhat.md)
>
> Build and test locally, deploy with Ignition and verify source.

> [card] [ERC-20 token](https://docs.tavchain.safeney.com/tavchain/erc20-token.md)
>
> Create an OpenZeppelin token, read balances and transfer tokens.

> [card] [Verify source](https://docs.tavchain.safeney.com/tavchain/verify-contract.md)
>
> 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](https://docs.tavchain.safeney.com/tavchain/connect.md), chain ID **771002**, and obtain [Test TAV](https://docs.tavchain.safeney.com/tavchain/faucet.md) 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](https://docs.tavchain.safeney.com/tavchain/api/transaction.md) after submission.

## Explore a deployed example

Inspect either verified example on chain **771002**:

* [Greeter reference contract](https://explorer.tavchain.safeney.com/address/0x065c1c017b8EF74f3B6001b51d188665bA9f4cd1?tab=contract), using the [Remix deployment workflow](https://docs.tavchain.safeney.com/tavchain/deploy-token.md).
* [GLD reference contract](https://explorer.tavchain.safeney.com/address/0x9FEE6A0eAf071Dc6fFa1B6193cE1ab52E085F525?tab=contract), using the [Hardhat starter](https://docs.tavchain.safeney.com/tavchain/hardhat.md#example-deployment), with a successful 10-GLD transfer.

Deploy your own instance when following a tutorial. Use [Verify a contract](https://docs.tavchain.safeney.com/tavchain/verify-contract.md) 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](https://docs.tavchain.safeney.com/tavchain/status.md) and validate your application's requirements. The examples are demonstrations, not audited contracts for valuable assets.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.