pyth-crosschain/bridge
Leo c4d53247d3 bridge: fix p2p routine restart
Turns out, libp2p cannot be cleaned up so till this is fixed,
we have to exit if p2p dies.

Expose the root context to p2p and cancel it.
2020-08-17 14:55:51 +02:00
..
cmd/guardiand bridge: fix p2p routine restart 2020-08-17 14:55:51 +02:00
pkg Remove unused chainlink imports 2020-08-16 19:05:32 +02:00
Dockerfile Simple local devnet for development 2020-08-04 12:15:51 +02:00
README.md bridge: README stub 2020-08-04 19:52:41 +02:00
go.mod Remove unused chainlink imports 2020-08-16 19:05:32 +02:00
go.sum Remove unused chainlink imports 2020-08-16 19:05:32 +02:00

README.md

The bridge

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.