ackintosh / plasma-cash

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Plasma Cash

$ ganache-cli --mnemonic 'candy maple cake sugar pudding cream honey rich smooth crumble sweet treaf'
$ truffle migrate

Run child chain

$ cd child_chain
$ cargo run

Deposit

truffle(development)> let accounts = await web3.eth.getAccounts()
truffle(development)> let rootChain = await RootChain.deployed()
truffle(development)> rootChain.deposit(1, {from: accounts[0], value: web3.utils.toWei("1", "ether")})

About


Languages

Language:JavaScript 74.7%Language:Rust 25.3%