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
Voting period
Withdrawal proposal
Contract History
State | Action |
---|---|
16 | finalized withdrawal of 2.5 tBCH |
15 | bridged 0.01 tBCH |
14 | miner added no-vote |
13 | bridged 38.59988 tBCH |
12 | miner added yes-vote |
11 | bridged 0.050496 tBCH |
10 | bridged 49.949984 tBCH |
9 | miner added yes-vote |
8 | bridged 0.05 tBCH |
7 | bridged 0.55038 tBCH |
6 | miner added yes-vote |
5 | bridged 10 tBCH |
4 | initialized withdrawal |
3 | bridged 40 tBCH |
2 | bridged 0.5 tBCH |
1 | bridged 7 tBCH |
0 | created sidechain covenant |