rchain-community / rchain-api

An API for rchain dapps to communicate with the blockchain
Other
22 stars 12 forks source link

command-line wallet: claim genesis wallet, send, get balance #58

Closed dckc closed 5 years ago

dckc commented 5 years ago

In rclient, I added support for WalletCheck and getBalance after genesis. Demo: https://asciinema.org/a/221864

rclient account --new funkey
# or
rclient account --import funkey UTC-xyz.json

rclient account --show-public funkey
# add eth addr to wallets.txt and start RChain network

rclient account --claim funkey
rclient account --get-balance funkey

Storage uses eth V3 format uniformly since it seems to Do The Right Thing w.r.t. password hashing with key derivation functions.

This is also progress on #42, #26.

cc @edeykholt, @odeac

dckc commented 5 years ago

It seems to work!

demo: https://asciinema.org/a/221864

dckc commented 5 years ago

a demo for the core dev team went reasonably well today