# Eth Bridge ## Architecture * Users/Accounts on Namada * Vault accounts on Namada and Eth * Ethereum contracts ## Protocol 1. Blockchain A(initiator) with tokens $a,b,c$ (namada) 2. Blockchain B(destinator) with tokens $d,e,f$ (ETH20-Eth) 3. User U from blockchain A with N tokens of type $a$ wants to exhange $n$ $a$’s for $m$ $d$’s within a transaction object, $td$. 4. A initiates a transaction $td$ with $n$ tokens of type $a$ on a special vault account. The validators validate that transaction is valid and execute it->tokens are locked. 5. Somehow (how?) destinator blockchain through a smart contract is informed that A has locked $n$ tokens of type $a$ and wants in exchange the equivalent value of tokens in blockchain B. 8. B blockchain creates a voucher which authorizes the creation of m d’s to bc B and are equivalent to n d’s of bc A. (how does that look in practise?what is a voucher) Point 3. We never trade tokens on bridges. We mint/burn or escrow/de-escrow. Escrowing on one side means minting a new token on the other. 4.10.23 --- * Nam -> Eth explicit by users * Eth->Nam with eth full node on namada and contracts on Eth * Went through code. Need to delve into more: https://drive.google.com/file/d/1g10L7dzZ4kYZ4eZ8g9A1CpVKf3YdD-OD/view ---