0
Suppose I have my own sidechain and have created a transaction of 100 BTCs from Bitcoin network to my Sidechain. To my understanding, this means 100 BTCs are now locked on Bitcoin Network and 100 pegged BTCs have been created in my sidechain.
Q1. What kind of address will hold these 100 pegged BTCs in my sidechain? Is it an address same as Bitocin wallet address?
Q2. Suppose Alice have 100 pegged BTCs in address A of sidechain, Alice made a transaction of 50 pegged BTCs to Bob which has another address (say address B). We now have 50 pegged BTCs in both address A and address B. How will Bob redeem pegged coins back to real BTCs in Bitcoin Network? Because if we see in Bitcoin's point of view, Alice is the authorized user to spend or redeem her 100 pegged BTCs back to real ones. Whereas Bob does not exist for Bitcoin Network who claims to possess 50 BTCs.
Welcome to Bitcoin.SE! A doozy of a question - I don't think you can do it. – Willtech – 2018-02-27T11:28:40.873
@Willtech You mean transactions are not possible in sidechains? – Gagan – 2018-02-27T11:30:08.797
Hmm make sense. Then what use case sidechains have? What benefits does it brings when pegged to bitcoin network? – Gagan – 2018-02-27T11:42:59.483
because you can build a whole new set of rules for transactions on sidechains. There you can create new logic, which is difficult to implement in bitcoin network, or doesn't need its high level of reputation/security/stability/availability... e.g. buy a coffee for very little tx fees. Or create smart contracts, that extend to the layer of OP-Codes. Or do whatever business logic you can think of. At one point in time the sidechain must make sure, that the right amount of bitcoins (a transaction) comes back to the bitcoin network. Otherwise bitcoin network will reject invalid tx. – pebwindkraft – 2018-02-27T12:01:20.960
See here: https://bitcoin.stackexchange.com/questions/37876/what-is-fed-peg-and-predefined-functionaries-with-sidechains/37885#37885
– pebwindkraft – 2018-02-27T12:01:25.167@pebwindkraft As you said, "the right amount of bitcoins must comes back to the bitcoin network.". Is it necessary to use the same address by which bitcoins first traveled to sidechains at first place? Like Willtech said, Bob can't do this transaction to bitcoin network, and only Alice can do that. – Gagan – 2018-02-27T13:30:00.087
@Willtech forks are not sidechains – Osias Jota – 2018-02-27T14:06:54.587
@Willtech As per my understanding, all forks are not sidechains but all sidechains are forks. Right? – Gagan – 2018-03-05T11:15:29.360
@OsiasJota can you please verify the above statement? – Gagan – 2018-03-05T11:16:13.480
No sidechains are forks, nor sofware forks, neither chain forks. – Osias Jota – 2018-03-05T14:43:17.690
Read about the basic definition of sidechains – Osias Jota – 2018-03-05T14:43:38.280
@user16961 It seems that I was not correct and there are in fact experimental sidechains already running on Etherium. I will do some more reading and remove a couple of my comments to avoid confusion. – Willtech – 2018-03-05T20:33:41.327
1
Sidechain is a blockchain that runs in parallel to the main blockchain which extends functionality through interoperable blockchain networks allowing a decentralized way of transferring/synchronizing your tokens between the two chains. pegged sidechains whitepaper
– Willtech – 2018-03-05T20:36:15.893Also, see the excellent Q/A and article linked in the post linked above by @pebwindkraft - note that I have not yet read that the coins can be moved back onto the Bitcoin mainchain. – Willtech – 2018-03-05T20:45:01.233