Before you begin
Use a desktop browser with MetaMask installed. Add Tavchain Testnet and obtain Test TAV. Keep your seed phrase and private key inside your wallet.Create Greeter
Open Remix’s file explorer, createGreeter.sol at the root of your workspace and paste the example below. It starts with Hello, lets anyone change the greeting and emits an event for each change. It is a demonstration contract with no ownership restriction.
Greeter.sol
Compile Greeter
In Solidity Compiler, select:
Open Advanced Configurations to find the EVM target and optimizer. Click Compile Greeter.sol, then select Greeter in the contract selector. Resolve any compilation errors before continuing.
Retain the source, compiler settings, ABI and bytecode. Keep the original Standard JSON compiler input when your build produces it; it can be used for source verification. Changing the source filename can change Solidity’s metadata and full bytecode even when the executable logic is unchanged.
Continue to deployment
Follow deploy and interact to connect MetaMask, deploy once and readHello. You can then make the optional Hello Tavchain update and verify the source.
The verified Greeter example uses this source as Greeter.sol with the settings above. Use your own deployment for a predictable initial greeting.
Use the compiler and EVM settings above for this example. Check compatibility before changing compiler versions or targeting a different EVM revision.