forked from cerc-io/laconic-sdk
72ab467d9bd2ccfca1db2c9d56d5db1b34ce1275
chiba-clonk-client
Development
Follow these steps to run the tests:
-
After cloning this repo run:
yarn -
Clone the chiba-clonk repo and change directory to repo directory.
-
Run the chain using
./init.sh. -
Add a second account with the following:
ethermintd keys add <KEY_NAME> --keyring-backend test -
Get the account details using:
ethermintd keys list -
Use the address of key
mykeyas the sender address. Copy the address and assign it toSENDER_ADDRESSin the test file. -
Copy the address of other account and assign it to variable
TO_ADDRESSin test file. -
To export the sender private key run:
ethermintd keys export mykey --unarmored-hex --unsafe -
Copy the private key and assign it to variable
SENDER_PRIVATE_KEYin the test file. -
Run the test in chiba-clonk-client repo:
yarn test -
Check account balances after running test:
ethermintd query bank balances <ADDRESS> # Example ethermintd query bank balances ethm1ayxjyxxa3z9z0rjff7rpr67h8aqfgn2t9009zc
Languages
TypeScript
99.9%