/ethereum-bridge

A generalized fully trustless Ethereum bridge for sovereign chains.

Primary LanguageJavaScript

Namada Ethereum Bridge

Namada Ethereum bridge is a set of smart contract to enable the exchange of tokens between the namada chain and ERC20 ethereum tokens. The mechanism used is inspired from Cosmos Gravity Bridge.

Features

  • Handle multiple ERC20 tokens
  • Batched transfers
  • Issue native namada token on Ethereum
  • Tested with +95% coverage
  • Audit

Smart contracts

The smart contracts used to operate the namada bridge on ethereum are:

  • Governance.sol
  • Bridge.sol
  • Proxy.sol
  • Vault.sol

Proxy smart contract is in charge of keeping track of the existing contract addresses and can be queries by other smart contracts.

Bridge is in charge of authorizing tokens transfers to/from Namada.

Governance functionality is twofold: keep the namada validator set up-to-date and upgrade existing contract to new versions.

Vault is used to escrow tokens