Go to file
2022-04-21 09:44:24 +05:30
proto Update README with steps to run tests 2022-04-21 09:44:24 +05:30
scripts Message for creating bond 2022-04-21 09:44:24 +05:30
src Update README with steps to run tests 2022-04-21 09:44:24 +05:30
.gitignore Implement pattern from dxns-registry-client 2022-04-21 09:44:24 +05:30
jest.config.js Add failing test case for sending tokens 2022-04-21 09:44:24 +05:30
package.json Update README with steps to run tests 2022-04-21 09:44:24 +05:30
README.md Update README with steps to run tests 2022-04-21 09:44:24 +05:30
tsconfig.json Implement pattern from dxns-registry-client 2022-04-21 09:44:24 +05:30
yarn.lock Add tests for querying bond 2022-04-21 09:44:24 +05:30

chiba-clonk-client

Development

Follow these steps to run the tests:

  • After cloning this repo run:

    yarn
    
  • Clone the chiba-clonk repo and change to repo directory.

  • Checkout to appropriate branch for running tests.

    git checkout ng-chiba-clonk-client
    
  • Run the chain using ./init.sh.

  • Get the account details using:

    ethermintd keys list
    
  • Use the address of key mykey and assign it to DEFAULT_ADDRESS in the test helper file.

  • To export the private key run:

    ethermintd keys export mykey --unarmored-hex --unsafe
    
  • Copy the private key and assign it to variable DEFAULT_PRIVATE_KEY in the test helper file.

  • Run the test in chiba-clonk-client repo:

    yarn test