registry-sdk/README.md

877 B

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