|
|
5 years ago | |
|---|---|---|
| .. | ||
| cmd | f6750a3762 all: consider decimals on wrapped assets, fix VAA posting, fix solana account parsing | 5 years ago |
| pkg | f6750a3762 all: consider decimals on wrapped assets, fix VAA posting, fix solana account parsing | 5 years ago |
| Dockerfile | 955bcc93fe bridge: devnet guardian key generation | 5 years ago |
| README.md | 540e39296a bridge: README stub | 5 years ago |
| go.mod | d6ef9c932c bridge: listen to eth lockups and aggregate signatures from all nodes | 5 years ago |
| go.sum | d6ef9c932c bridge: listen to eth lockups and aggregate signatures from all nodes | 5 years ago |
The bridge is a lightweight, distributed cross-chain notary. Read the the protocol spec first.
Leaderless. There is no synchrony/consensus or proposers - the bridge merely observes finalized transactions on one chain, signs them using its piece of the joint key, and pushes its signature to an off-chain peer-to-peer network. Once 2/3+ of the guardian set agree, the threshold signature is valid and this jointly signed proof (which we call a Verifiable Action Approval or VAA) can be posted to the other chain to release or mint funds that were locked/burned on the first.
Stateless. Nodes do not keep persistent state about transactions they observed.