Skip to main content

Smart Contracts

Beyond can support the 80+ largest blockchains in the industry — including all the major L1s, L2s, EVM, and non-EVM chains. Check out the list of supported chains for more details. This article explains the various smart contracts powering Beyond’s omnichain interoperability, which work in conjunction with their Bitcoin L1 counterpart: the Forge.

Omnichain Interoperability

Beyond's smart contracts leverage the OFT standard (Omnichain Fungible Token) from LayerZero as an omnichain transfer protocol for all non-Bitcoin-L1 chains (the list currently includes the 80+ largest blockchains in the industry). OFT tokens are easily transferred from a source chain to a destination chain, without workarounds like wrapped assets or liquidity pools.

The contracts currently operate using LayerZero’s OFT V2 standard natively, but they're designed to be composable and interchangeable with other standards that offer equivalent functionality, such as Wormhole’s NTT standard.

Core Contract

The Core contract is deployed on Ethereum L1 and facilitates token transfers between any blockchain and any token standard — including Ethereum/EVM (ERC-20), Bitcoin (Runes, BRC-20...), Solana (SPL), and more.

Features

  • Omnichain Bridging
    • ERC-20ERC-20: Transfer between EVM-compatible chains
    • ERC-20BRC-20: Bridge to/from Bitcoin's BRC-20 standard
    • ERC-20Runes: Bridge to/from Bitcoin's Runes standard
    • Native ETH: Transfer native ETH across supported chains
    • BTC (Un)Wrapping: Convert between native BTC and wrapped versions (e.g. WBTC, cbBTC...)
  • Liquidity Consolidation, gathered from all the 80+ non-Bitcoin chains supported

Key Functions

  1. Token Registration
    • Register/unregister ERC-20, BRC-20, and Runes tokens
  2. Bridging Operations
    • Bridge ERC-20 and native tokens across chains
    • Handle BTC wrapping/unwrapping
  3. Fee Management
    • Set and update bridging fees
    • Configure token-specific fees
    • Withdraw collected fees
  4. Utility Functions
    • Estimate bridging fees
    • Calculate total operation costs

Relayer Contracts

The Relayer contracts are deployed on all the 80+ non-Bitcoin chains supported, except Ethereum L1 where the Core contract takes the lead. The Relayer contracts provide supplementary functionality for bridging and token management across chains, tokens, and bridge directions that may not be directly supported by the OFT standard.

Features

Key Functions

  1. Token Operations
    • Register token mappings
    • Bridge wrapped tokens
    • Convert between standards
  2. Fee Management
    • Configure bridging fees
    • Estimate operation costs
  3. Administrative
    • Manage token bridging permissions
    • Handle cross-chain messages