I want to launch my own simple sidechain pegged to bitcoin for testing purposes. Can it be done?

0

1

I've been reading about Blockstream and Liquid but I was under the impression that sidechain was something that would require changes to the Bitcoin Core platform. Is that correct? I mean, is the bicoin blockchain already supporting a "peg" to another sidechain? Can I already launch my own sidechain like Blockstream did?

Peter Mel

Posted 2016-01-28T20:23:15.967

Reputation: 575

Answers

2

The seminal whitepaper on sidechains, "Enabling Blockchain Innovations with Pegged Sidechains," describes modifying Bitcoin's Script to support simplified payment validation (SPV):

To use Bitcoin as the parent chain, an extension to script which can recognise and validate such SPV proofs would be required. At the very least, such proofs would need to be made compact enough to fit in a Bitcoin transaction. However, this is just a soft-forking change⁹, without effect on transactions which do not use the new features.

⁹A soft-forking change is a change which only imposes further restrictions on what is valid inside the chain.

However, this is for a "two-way peg."

For a so-called "federated peg," which does not require a modification to Bitcoin, see Appendix A of the whitepaper or circa 15 min. into Greg Maxwell's presentation.

Geremia

Posted 2016-01-28T20:23:15.967

Reputation: 3 665

1Sorry but I didn't get it. Does bitcoin support sidechain at the moment or not? How did Blockstream do it if it does not support?Peter Mel 2016-01-29T17:22:05.290

@PeterMel No, it would require a modification to Bitcoin's Script.Geremia 2016-01-29T17:23:56.970

1So how did they launch Liquid !!!???Peter Mel 2016-01-29T17:25:20.793

@PeterMel I think they mean they launched the project, not that it's been implemented in the actual Bitcoin network.Geremia 2016-01-29T19:13:11.413

@PeterMel Have you seen Greg Maxwell's informative video?

Geremia 2016-01-29T19:18:38.527

1@PeterMel Also, see my edit regarding "federated pegs."Geremia 2016-01-29T20:22:40.087