7

If I want to start a Plasma side chain for a project, do I need my own blockchain for it (with X amount of nodes etc) or is it run simply by those who participate in it?

If it's run solely by its participants I fail to understand how they can reach consensus with any degree of credibility. If for example only two nodes participate, how can they reach consensus?

Also, who decides on the side chain's details, such as consensus protocol? Is it the first node who joins/creates it?

  • 1
    I'm still in the process of trying to figure out how exactly Plasma chains work, but the way I understand it is that Plasma is a framework that leaves open who operates a chain and how consensus is reached. The most important security mechanism is the exit transaction, where participants can proof any inconsistencies or theft of the operating party. This exit mechanism runs on the main chain and is therefore secured by the main chain's consensus – Henk Aug 30 '18 at 7:32
  • An interesting article which addresses this question at least somewhat: medium.com/l4-media/… – Lauri Peltonen Sep 6 '18 at 11:34
5
+50

Anyone can create a custom Plasma chain with a custom consensus mechanism. The creator decides on the details, so it could be created with one node or many. In practice this means there will be various clients that you can choose from or configure. It's up to the creator or interested parties to build the client or pick and configure an existing one. Those running the client maintain the child chain. Validator nodes could be just a few nodes or in the extreme case just one.

This works because the root blockchain Plasma smart contract enforces the state in the child chain, and because of the incentives of bonding and slashing in the Plasma protocol.

Here is how it works based on my understanding of the Plasma white paper. The root chain only penalizes the child chain if there is proof of fraud. The fraud proofs are in the form of state transitions on the child chain. This allows for deposit and withdrawal of funds into the child chain keeping account balances on the child chain, and the balance in the root chain is represented by a smart contract enforcing the child chain state transitions via fraud proofs.

Fraud proofs allow for an interactive protocol for fund withdrawals and exit of the child chain. In the case of a dispute about the new transaction state the disputing party attests to their version of the correct state of the new block in the process of requesting a withdrawal. Then anyone on the network can submit bonded proof to the root contract which will execute the proof. The bonded proof contains information about the previous state, and using the state-transition rules in the root contract actors on the child-chain can prove the new state is invalid. When this happens the child-chain is reverted to the previous block and the cheating block producer's deposit is slashed.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.