Connecting Blockchains

Using Two Way Peg

By @ajlopez
Member of @RSKSmart

https://github.com/ajlopez/Talks/ConnBlockchains

Using reveal.js

We were so poor :-)

Guidelines

Simplicity

Use Cases

Make it work

Make it right

Make it fast

Test Driven-Development

Resilience

Connecting Blockchains

Two Blockchains

Two Way

Asymmetric

Ethereum/RSK

Node Network

Miner Node

RSK is using merge mining

## Smart Contracts Internal Virtual Machine. Many programming languages, ie, Solidity. ```js contract SimpleStorage { uint storedData; function set(uint x) { storedData = x; } function get() constant returns (uint retVal) { return storedData; } } ```
## A Token Smart Contracts ```js contract token { mapping (address => uint) public coinBalanceOf; event CoinTransfer(address sender, address receiver, uint amount); /* Initializes contract with initial supply tokens to the creator of the contract */ function token() public { coinBalanceOf[msg.sender] = 10000; } /* Very simple trade function */ function sendCoin(address receiver, uint amount) returns(bool sufficient) { if (coinBalanceOf[msg.sender] < amount) return false; coinBalanceOf[msg.sender] -= amount; coinBalanceOf[receiver] += amount; CoinTransfer(msg.sender, receiver, amount); return true; } } ```

Transactions

Bitcoin

Ethereum/RSK

From Bitcoin to Ethereum/RSK

Bitcoin from Ethereum/RSK

Main Chains

Transaction Confirmation

From Ethereum/RSK to Bitcoin

Generate Bitcoin Transaction

Inputs are MultiSig

Federators

I have a dream...

Blockchain Mesh

The End

BY Angel 'Java' Lopez / @ajlopez