Skip to main content

Tutorials

Hands-on walkthroughs that take you from "what is Etherlink?" to working code on the Previewnet.

Every tutorial is written so you can copy-paste, run, and verify the result in an explorer. They assume you've already skimmed the Overview and have a wallet ready (MetaMask for the EVM interface, Temple for the Michelson interface — see Wallet support).

Available tutorials

  • Prediction Market - Create a small prediction market application on Etherlink EVM, as you would do on any other EMV-compatible chain, using standard tools such as Solidity and Hardhat. This tutorial is intended as a friendly starting point for developers familiar with EVM.

  • Cross-interface counter — Build a counter whose state lives on the Michelson interface but is incremented and decremented from a Solidity contract on the EVM interface. The whole call chain runs in a single atomic transaction. Good first contact with Native Atomic Composability: you'll see a real callMichelson go through the gateway, follow the result in both block explorers, and trigger an atomic revert to confirm the failure semantics.

More tutorials are on the way — check back, or open an issue at gitlab.com/tezos/xdocs if there's a specific scenario you'd like covered.

You may want to also take a look to our Advanced examples section, which features complete, runnable dApps that demonstrate Etherlink features working together in more realistic contexts than the tutorials.

For live, already deployed hosted demos and example dApps, see the Previewnet dashboard — it lists the showcase apps currently running on the network (Potluck, xDex, …).

arrow icon

Prev

Participating in sequencer governance

Next

arrow icon
Tutorial: Create a prediction market