Introduction
Mainsail EVM is a high-performance, EVM-compatible execution environment built into the Mainsail Layer 1 blockchain. It is not an Ethereum client but an independent blockchain with it's own consensus, state model, and networking stack.
At its core, Mainsail uses REVM, a fast and modular Ethereum Virtual Machine implementation written in Rust. It is paired with Heed, an ACID-compliant key-value store used as the ledger's database backend.
Mainsail exposes a built-in, Ethereum-compatible JSON-RPC interface, allowing developers to interact with smart contracts using standard Ethereum tooling like Hardhat, Foundry, Remix, and web3.js — but operating on an entirely separate chain with it's own chainId, accounts, and block structure.
Mainsail also supports out-of-the-box integration with popular Ethereum wallets, including:
Developers and users can connect to Mainsail simply by adding a custom RPC network using the provided chainId
and endpoint, just as they would for any EVM-compatible chain.