Plasma Cash Developers’ Guide: Everything You Need to Know (+ How to Use Loom’s Plasma CLI)

Dev Bharel
Jan 4 · 9 min read

Transfer Gateways Revisited

How Is Plasma Cash Different?

Merkle Proof Checkpoints

Saving time and space

An example of a Merkle Tree
Hash( Hash(Hash(A)+Hash(B)) + Hash(Hash(C)+Hash(D) ) 
Verifying if transaction K is included in this block
Space savings with Merkle Trees

Why is this important?

Plasma Exits

Plasma Cash CLI

$ npm install -g plasma-cli
{
"ethPrivateKey": "",
"dappchainPrivateKey": "",
"plasmaAddress": "",
"startBlock": "",
"ethUrl": "",
"ethEventsUrl": "",
"dappchainUrl": "",
"contractName": "",
"dbPath": ""
}

Let’s break down what each of these lines mean.

Making a Transfer Using the CLI

$ plasma-cli --config config.json
$ depositETH 1000000000000000

Exiting and Finalizing a Coin

And That’s It!


Loom Network

🛸 The blockchain platform of choice for serious dapp developers — http://loomx.io

Thanks to 🤖 Robert.

Dev Bharel

Written by

Blockchain Solutions Architect @ Spaceman Holdings

Loom Network

🛸 The blockchain platform of choice for serious dapp developers — http://loomx.io