Skip to content

Baseline EVM (Ethereum Virtual Machine) Template

Introduction

Tanssi's EVM Appchain template is specifically designed for teams developing their applications on top of an EVM (Ethereum Virtual Machine). It contains all the essential parts to add the extra layer of Ethereum compatibility to a Substrate node:

  • EVM - adds a Rust-based Ethereum Virtual Machine execution layer for EVM-based smart contract applications
  • Etherum JSON RPC Support - Tanssi EVM Appchains are fully Ethereum JSON RPC compliant. Consequently, all Ethereum-based tools like MetaMask, Ethers.js, Viem, Hardhat, Foundry and more, work seamlessly out of the box
  • Unified Accounts - allows Tanssi EVM Appchains to feature Ethereum-styled ECDSA accounts instead of Substrate-native accounts

EVM Appchain Template

Since the template already contains the necessary configuration for seamless integration into the Polkadot ecosystem and for Tanssi protocol compatibility, if the use case is entirely developed on top of the EVM, then this template requires no additional changes in the runtime.

This means that this template is ready to be built as-is and deployed through Tanssi, unlocking many features, such as:

Included Modules

Tanssi EVM Appchain template is built on top of the Substrate Appchain template. Consequently, it includes the same baseline modules.

In addition, the specific modules included for full Ethereum-compatibility are the following:

  • pallet_evm - the EVM pallet allows for unmodified EVM bytecode to be executed in a Substrate-based blockchain. It uses the Rust-based SputnikVM as the underlying EVM engine
  • pallet_ethereum - the Ethereum pallet works together with the EVM pallet to provide full emulation for Ethereum block processing. Among many other tasks, it is responsible for creating emulated Ethereum blocks for Ethereum-specific components such as EVM logs

Both of the included modules are part of Frontier, which is the backbone of Ethereum-compatible Substrate-based chains.

Last update: January 16, 2024
| Created: November 4, 2023