darwinia-network / bridger

Relayer client implementation for Darwinia LCMP protocols.
https://rust-docs.darwinia.network/bridger
GNU General Public License v3.0
12 stars 10 forks source link

Darwinia BSC Bridge Task #175

Closed wuminzhe closed 2 years ago

wuminzhe commented 3 years ago

clique, aura, heco, bsc.

Backing Contract on PoA chain

storage: [who(from) locked how many(amount) what(erc20) tokens]

Issuing Pallet on Darwinia

PoA Light Client Pallet on Darwinia

https://github.com/paritytech/parity-bridges-common/tree/master/modules/ethereum

Something to change:

  1. The import header call should be changed to support forking because clique allows multiple authorities to generate blocks during a block generation period
  2. The fork is solved by comparing the accumulated difficulty
  3. A block must wait for 1/2*N+1 confirmations before being finalized

https://docs.binance.org/smart-chain/guides/concepts/consensus.html https://docs.hecochain.com/#/consensus

Relayer

wuminzhe commented 3 years ago

https://github.com/darwinia-network/darwinia/issues/656

fewensa commented 2 years ago

Use new solutions. https://github.com/darwinia-network/darwinia/issues/753