Skip to content
Anton Bukov edited this page Sep 5, 2019 · 11 revisions

Welcome to the Near <> Ethereum Bridge wiki!

Initial Bridge discussion started here: https://github.com/nearprotocol/bridge/wiki/Data-Structures

Architecture

The Bridge should be presented by smart contract based light clients and arbitrary trustless actors who wish to forward necessary data between Near and Ethereum blockchains.

The Bridge API should allow:

  • Pass arbitrary data between smart contracts in different chains
  • Make arbitrary calls between smart contracts in different chains

The Bridge base projects:

  • Fully collaterized NEAR stable token in Ethereum network
  • Fully collaterized ETH stable token in Near network
  • Smart contract based Ethereum proxy-accounts for Near users
  • Smart contract based Near proxy-accounts for Ethereum users

Ethereum Bridge smart contracts

Ethereum smart contract should be Near Light Client

Described necessary data structures at this page: https://github.com/nearprotocol/bridge/wiki/Data-Structures

Helpful links:

Near Bridge smart contracts

Near smart contract should be Ethereum Light Client

Helpful links:

Roadmap

  • Build Near Light Client in Solidity

    • Parse Near blocks and transactions/logs
    • Group Near blocks into Merkle Trees per epoch
    • Verify Near validators signatures
    • Verify Near transaction originators signatures
  • Build Ethereum Light Client in Near TypeScript

    • Parse Ethereum blocks and transactions/logs (RLP)
    • Verify Ethereum transaction originators signatures
Clone this wiki locally