Ethereal Chain Documentation
  • Introduction
  • Industry use cases
    • Decentralized applications
    • NFT Marketplaces
    • Decentralized finance
  • Wallets
    • Ethereal Wallet Guide
    • App Wallets
      • Ethereal Wallets
  • Web Wallets
    • Web Wallets
  • Command-Line Wallets
    • Command-Line Wallets
    • Paper Wallet
    • File System Wallet
  • Support/ Troubleshooting
  • Staking
    • Staking on Ethereal
    • Stake Account Structure
  • Grants
    • Ethereal's $100 Thousand Grants Program
    • Ethereal's Grants Process
  • Command Line
    • Command-line Guide
    • Install the Ethereal Tool Suite
    • Using Ethereal CLI
    • Connecting to a Cluster
    • Send and Receive Tokens
    • Offline Transaction Signing
    • Durable Transaction Nonces
  • Developing on native Ethereal
    • Programming Model
      • Overview
      • Transactions
      • Accounts
      • Runtime
      • Calling Between Programs
  • Clients
    • JSON RPC API
    • JavaScript API
  • Runtime Facilities
    • Native Programs
    • Sysvar Cluster Data
  • On-chain Programs
    • Overview
    • Developing with Rust
    • Developing with C
    • Deploying
    • Debugging
  • Ethereal Test Validator
  • EVM Integration
    • EVM in Ethereal
    • Legacy Address convention
    • EVM Bridge
  • Integrating
    • Add Ethereal to Your Exchange
  • Validating
    • Running a Validator
    • Validator Requirements
    • Starting a Validator
    • Vote Account Management
    • Staking
    • Monitoring a Validator
    • Publishing Validator Info
  • Clusters
    • Ethereal Clusters
    • Benchmark a Cluster
    • Performance Metrics
  • Architecture
    • Cluster
      • Ethereal Cluster
      • Synchronization
      • Leader Rotation
      • Fork Generation
    • Validator
      • Anatomy of a Validator
      • Blockstore
      • Gossip Service
  • Software
    • Vision Documentation
    • Quick Start
    • Specifications
    • Technical Perspective
  • Tutorials
    • Solidity Tutorials
      • Deploy a NFT (ERC-721) Tutorial
      • Deploy a Smart Contract
      • Deploy a ERC-20 Token
      • How To Build an NFT Marketplace
  • Set up MetaMask (Mainnet)
  • Set up MetaMask (Testnet)
Powered by GitBook
On this page
  • EVM Bridge
  • Gas price, and gas limit collecting:
  1. EVM Integration

EVM Bridge

EVM Bridge

Any Ethereum transaction is wrapped into a native format. In order to execute a native transaction, someone should pay a fee in a native coin. EVM bridge manages this routine in eth_sendRawTransaction method by wrapping EVM transaction into a native one, paying the native fee, and collecting the EVM fee (gas). The rest of the methods get forwarded to the upstream native RPC as is. This mechanism provides incentives to developers to host independent EVM bridges, improve decentralization and/or serve users of their own dApps.

To run the bridge, provide a path to keypair of fee payer account along with native RPC endpoint, address:port to bind to, and EVM chain id.

evm-bridge keypair.json https://api.testnet.Ethereal.com 127.0.0.1:8545 111

For testnet, we provide a public evm-bridge, which is located at https://evmexplorer.testnet.Ethereal.com/rpc/

Gas price, and gas limit collecting:

Each evm-bridge sets its own commission while connecting clients pay this commission via gas in EVM transaction. This mechanism serves as an incentive to host your own evm bridge publicly and improve decentralization.

Refer to EtherealNetwork Clusters to get a list of public clusters with their corresponding chain IDs.

PreviousLegacy Address conventionNextIntegrating

Last updated 2 years ago