Cosmos wallet powered by two-party ECDSA.
WIP!! Use at your own risk
- Install Node.js
(tested on Node 10) - Install nightly Rust
(tested on rustc 1.38.0-nightly (0b680cfce 2019-07-09)) - Install the package:
git clone https://github.com/KZen-networks/cosmos-thresh-wallet.git
cd cosmos-playground
yarn install
yarn build
Built files will be located in the dist
folder.
You can run a demo using the command line.
Server:
$ demo/server
Client:
Usage: client [options] [command]
Options:
-h, --help output usage information
Commands:
address [options]
balance [options] <address>
delegations [options] <address>
rewards [options] <address>
unbonding [options] <address>
redelegations [options]
apr [options]
commission [options] <validator>
validator_apr [options] <validator>
tx [options] <txhash>
transactions [options]
transfer [options] <from> <to> <amount>
delegate [options] <from> <to> <amount>
undelegate [options] <delegator> <validator> <amount>
redelegate [options] <delegator> <validator_src> <validator_dst> <amount>
collect [options] <delegator>
- Start by generating a new address.
- Populate the address with coins from testnet faucet
Replace addresses with in test file with addresses generate with
./demo/client address
and populated with testnet coins
You can generate a new address using the same share, but specifying the index
Exmpale:
./demo/client address --index 1
GPL-3.0