Go to file
2022-04-21 09:44:24 +05:30
src Add failing test case for sending tokens 2022-04-21 09:44:24 +05:30
.gitignore Add failing test case for sending tokens 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 Add failing test case for sending tokens 2022-04-21 09:44:24 +05:30
README.md Add failing test case for sending tokens 2022-04-21 09:44:24 +05:30
tsconfig.json Add failing test case for sending tokens 2022-04-21 09:44:24 +05:30
yarn.lock Add failing test case for sending tokens 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 directory to repo directory.

  • Run the chain using ./init.sh.

  • The mnemonic phrase can be seen in the console at the start just after the script is executed.

  • Copy the mnemonic phrase and assign it to variable MNEMONIC in the test file.

  • To export the private key run:

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

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

    yarn test
    
  • The account details can be seen using

    ethermintd keys list