A verified Greeter example is available on chain 771002. Deploy your own instance to follow the tutorial from its initial state; the shared example allows anyone to change its greeting.
Connect your wallet
- In Remix, open Deploy & Run Transactions.
- Choose Browser Extension, then MetaMask. Older versions may call this Injected Provider or Injected Web3.
- Approve connecting
app.remix.livein MetaMask. Unlock the wallet privately if needed. - With the Remix tab active, select Tavchain Testnet for that connected site in MetaMask. Before deploying, require Custom (771002) and your intended account in Remix.
Deploy once
- Select Greeter and confirm it is compiled using the compiler settings.
- Leave Value at 0. This constructor takes no arguments. For the separate verification workflow in this guide, turn off Verify Contract on Explorers if Remix displays that switch.
- Click Deploy once.
- In MetaMask, review Tavchain Testnet, the contract-deployment request and estimated fee. Confirm once.
- Wait for the successful receipt. Save the transaction hash and the created contract address.
Read the greeting
Under Deployed Contracts, expand your Greeter instance. Next to greet, click Call. The result should be:Optional: change the greeting
- Enter
Hello Tavchainin setGreeting (string). - Leave Value at 0 and click Transact once.
- Review and confirm that contract interaction in MetaMask.
- Save the new transaction hash and require a successful receipt.
- Click Call beside greet again. It should now return
Hello Tavchain.
Check the explorer
Search your transaction hash in the explorer. Check success, sender, contract address, block and fee. An indexed deployment does not mean the explorer has verified the contract’s source code. The reference deployment transaction created Greeter at0x065c1c017b8EF74f3B6001b51d188665bA9f4cd1 on chain 771002. Its Contract → Code page shows Contract source code verified (exact match).
Use your own returned address when following the tutorial. The shared example’s greeting may have changed since deployment.