Demo decentralized bridge

Details

This demo is a proposal for the bridge from the Bitcoin Cash mainchain to the SBCH sidechain but is a general bridging mechanism for any future sidechains.

It builds further on the ideas of first SHA-gate concept with operators who propose withdrawal transactions and miners who vote on them but improves various shortcomings.

It is similar to the hashrate escrows of the Drivechain mechanism developed for BTC but instead of needing a specific protocol upgrade, it utilizes BCHs general smart contract capabilities to build a sidechain covenant.

The demo would work today on mainnet - only the software for miner voting based on the sidechain events would have to be written. The security of the contract would benefit from the proposed upgrade to 32bytes P2SH addresses.

Sidechain covenant

Live on testnet4 right now ->

Balance

Sidechain contract holds
144.31068 tBCH

Voting period

The voting period has not started.
A new withdrawal proposal has to be initialized first.


Withdrawal proposal

Open for a new proposal to be initialized.
Initializing means one of the 5 operators proposes a withrawal transaction from the sidechain for the miners to vote on.

Contract History

StateAction
16finalized withdrawal of 2.5 tBCH
15bridged 0.01 tBCH
14miner added no-vote
13bridged 38.59988 tBCH
12miner added yes-vote
11bridged 0.050496 tBCH
10bridged 49.949984 tBCH
9miner added yes-vote
8bridged 0.05 tBCH
7bridged 0.55038 tBCH
6miner added yes-vote
5bridged 10 tBCH
4initialized withdrawal
3bridged 40 tBCH
2bridged 0.5 tBCH
1bridged 7 tBCH
0created sidechain covenant