polytope-labs / hyperbridge

Hyperbridge is a hyper-scalable coprocessor for cryptographically secure, cross-chain interoperability
https://docs.hyperbridge.network/
Apache License 2.0
94 stars 31 forks source link

[TokenGateway] Decouple relayer from liquidity providers #242

Closed seunlanlege closed 3 weeks ago

seunlanlege commented 3 weeks ago

Previously in the TokenGateway protocol, relayers had to double as liquidity providers when users bridge ERC20 assets. This PR removes this requirement and instead introduces a new party called "fillers" who bid to fulfil the incoming ERC20 assets. Through this bidding mechanism, we effectively create a race to the bottom for liquidity fees, which should make TokenGateway cost-competitive with existing token bridges.