registry-sdk/README.md

43 lines
805 B
Markdown
Raw Normal View History

2022-03-24 04:08:03 +00:00
# chiba-clonk-client
2022-04-05 14:11:06 +00:00
## Tests
Follow these steps to run the tests:
- After cloning this repo run:
```bash
yarn
```
2022-04-05 14:11:06 +00:00
- Copy [.env.example](./.env.example) file and create a `.env` file.
2022-04-05 14:11:06 +00:00
- Clone the [chiba-clonk repo](https://github.com/vulcanize/chiba-clonk) and change to repo directory.
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-05 14:11:06 +00:00
- Use the address of key `mykey` and assign it to `ACCOUNT_ADDRESS` in the `.env` file.
2022-04-04 11:14:04 +00:00
- To export the private key run:
```bash
ethermintd keys export mykey --unarmored-hex --unsafe
```
2022-04-05 14:11:06 +00:00
- Copy the private key and assign it to variable `PRIVATE_KEY` in the `.env` file.
2022-03-30 05:21:03 +00:00
- Run the test in chiba-clonk-client repo:
```bash
yarn test
```
2022-04-05 14:11:06 +00:00
## Development
[README](./DEVELOPMENT.md)