Quick Start

Quick start guide for developing on BEVM

Quick Overview

BEVM is a Bitcoin Layer-2 Network developed based on Substrate, fully compatible with the Ethereum Virtual Machine (EVM).

As a result, you can engage in comprehensive interactions with BEVM using the Ethereum API and Substrate API. BEVM employs the same account system as Ethereum, and your mnemonic phrase and private key are interchangeable with your Ethereum account. Consequently, you can use Metamask or other wallets fully compatible with Ethereum to interact with BEVM.

Network Configurations

Parameter
Value

Network name

BEVM Mainnet

Type

Mainnet

Native Asset Symbol

BTC

Decimal

18

Chain-ID

11501

Explorer

RPC Endpoint

WebSocket

wss://rpc-mainnet-1.bevm.io/ws

Quick Add

Finality

Typically, it takes 3 blocks (~18 seconds) to be finalized. Considering the potential fluctuations in a PoS network, we provide a more secure method for finality detection.

  1. bevm_isBlockFinalized Parameter: EVM block hash Example:

    curl --location 'https://rpc-mainnet-1.bevm.io' \
    --header 'Content-Type: application/json' \
    --data '{
      "jsonrpc":"2.0",
      "method":"bevm_isBlockFinalized",
      "params":["0x0e5a331fb3cffea6900357a14079eed0e38fbeae633069b831ce124e05b2b0a3"],
      "id":1
    }'
  2. bevm_isTxFinalized Parameter: EVM transaction hash Example:

    curl --location 'https://rpc-mainnet-1.bevm.io' \
    --header 'Content-Type: application/json' \
    --data '{
      "jsonrpc":"2.0",
      "method":"bevm_isTxFinalized",
      "params":["0xc86fe836e177d05399cb31e7a72a37ca40b287ba4f73ba347fbc8adba7fece62"],
      "id":1
    }'

Development Tools

Based on the features of BEVM, you have the option to choose from both Substrate-based and Ethereum-based development tools. We have listed some partnership dev tools here for your quick check.

Last updated