GEB Docs
  • Quick Start
  • GEB Consensus
    • Mother Consensus
    • Sub Consensus(Agere)
  • Learn
    • BitAgere Guide
      • Auditor Reference Concepts
      • Executor Reference Concepts
  • Build
    • Validator
      • Wasm Operation
      • L-BTC Validator Operation
    • BitAgere
      • RelayAgere
      • Agere Auditor
      • Agere Executor
  • Use
    • Wasm Wallet
    • Earn $GEB
      • Stake L-BTC
        • What is L-BTC?
        • Download and Run LND Desk
        • Config LND
        • Node Asset Management
          • Open Channel(Get L-BTC)
          • L-BTC ⇌ BTC (on GEB chain)
        • Stake L-BTC Earn $GEB
      • Stake GEB on Agere
    • Earn $BTC
      • Claim and Other Operations
      • Transfer BTC to EVM
    • Bridge
      • Official Bridge
        • BEVM Mainnet
        • BEVM Canary
      • Third-Party Bridge
        • BEVM Mainnet
          • Swap from EVM to BEVM Mainnet
        • BEVM Canary
          • Swap from EVM to BEVM Canary
          • Other assets
            • Bridge PCX from BEVM Canary to Chainx
      • Transfer(EVM<-->Wasm)
  • EVM Development
    • Fee Calculation
      • GEB Mainnet
      • BEVM Canary
    • Smart Contract
      • Write a Contract
        • Set Up the Metamask Configuration
        • Deploy Smart Contract on GEB Signet
        • Deploy Smart Contract on BEVM Canary
      • Foundry
        • Deploy and verify contract by Foundry
      • Contract Verification (BlockScout)
      • ThirdWeb
    • Integrations
      • Oracle
        • Supra
        • DIA
      • Indexer
        • SubQuery
      • Account Abstraction
        • Particle Network
    • Libraries
      • ethereum-list/chains
      • Wagmi
      • Multicall3
    • Canonical contracts
    • Finality
  • Tokenomics
  • The Journy of GEB
  • Audit Reports
  • Community
Powered by GitBook
On this page
  1. EVM Development
  2. Fee Calculation

BEVM Canary

PreviousGEB MainnetNextSmart Contract

Last updated 2 months ago

When conducting transactions on the BEVM MainNet, BTC is required as gas. The Bitcoin network employs the UTXO model, while the BEVM network utilizes an account model. This implies that the usage paradigms of the two networks are different. However, we ensure that each BTC on the BEVM network originates from the Bitcoin MainNet, and there are comprehensive asset proofs available for querying on both the Bitcoin network and the BEVM network.

The following describes the calculation method of gas fees on the BEVM Preliminary Network:

BEVM transaction fees consist of three components: initial gas, real gas, and refund gas. The following are the calculation methods and their inherent relationships:

initial gas

real gas

refund gas

When considering the gas price on BEVM Canary (Chain ID: 1501), you might consider establishing it as a default configuration at 0.05 GWei. Regarding the gas limit, you can experiment with it on the BEVM TestNet and subsequently set it as the default on the front end.

If you want to view the actual gas situation for each transaction, you can browse:

initial=gas_limit×max_gas_price1010 initial = \dfrac{gas\_limit\times max\_gas\_price}{10^{10}}initial=1010gas_limit×max_gas_price​
real=gas_used×500000001010real = \dfrac{gas\_used\times50000000}{10^{10}}real=1010gas_used×50000000​
refund=initial−realrefund = initial-realrefund=initial−real
https://scan-canary.bevm.io/