laconic-sdk/README.md

43 lines
881 B
Markdown
Raw Normal View History

2022-03-24 04:08:03 +00:00
# chiba-clonk-client
## Development
Follow these steps to run the tests:
- After cloning this repo run:
```bash
yarn
```
2022-04-04 11:14:04 +00:00
- Clone the [chiba-clonk repo](https://github.com/deep-stack/chiba-clonk) and change to repo directory.
2022-04-04 11:14:04 +00:00
- Checkout to appropriate branch for running tests.
```bash
git checkout ng-v12-chiba-clonk-client
```
2022-04-04 11:14:04 +00:00
- Run the chain using `./init.sh`.
- Get the account details using:
```bash
ethermintd keys list
```
2022-04-04 11:14:04 +00:00
- Use the address of key `mykey` and assign it to `DEFAULT_ADDRESS` in the [test helper file](./src/testing/helper.ts).
2022-04-04 11:14:04 +00:00
- To export the private key run:
```bash
ethermintd keys export mykey --unarmored-hex --unsafe
```
2022-04-04 11:14:04 +00:00
- Copy the private key and assign it to variable `DEFAULT_PRIVATE_KEY` in the [test helper file](./src/testing/helper.ts).
2022-03-30 05:21:03 +00:00
- Run the test in chiba-clonk-client repo:
```bash
yarn test
```