forked from cerc-io/registry-sdk
Rename ethermint to chibaclonk
This commit is contained in:
parent
58227b68be
commit
48507ca46a
@ -18,7 +18,7 @@ Follow these steps to run the tests:
|
||||
|
||||
- Get the account details using:
|
||||
```bash
|
||||
ethermintd keys list
|
||||
chibaclonkd keys list
|
||||
```
|
||||
|
||||
- Use the address of key `mykey` and assign it to `ACCOUNT_ADDRESS` in the `.env` file.
|
||||
@ -26,7 +26,7 @@ Follow these steps to run the tests:
|
||||
- To export the private key run:
|
||||
|
||||
```bash
|
||||
ethermintd keys export mykey --unarmored-hex --unsafe
|
||||
chibaclonkd keys export mykey --unarmored-hex --unsafe
|
||||
```
|
||||
|
||||
- Copy the private key and assign it to variable `PRIVATE_KEY` in the `.env` file.
|
||||
|
@ -18,7 +18,7 @@ import { createTxMsgReserveAuthority, MessageMsgReserveAuthority } from './messa
|
||||
|
||||
const DEFAULT_WRITE_ERROR = 'Unable to write to chiba-clonk.';
|
||||
|
||||
export const DEFAULT_CHAIN_ID = 'ethermint_9000-1';
|
||||
export const DEFAULT_CHAIN_ID = 'chibaclonk_9000-1';
|
||||
|
||||
// Parse Tx response from cosmos-sdk.
|
||||
export const parseTxResponse = (result: any) => {
|
||||
|
@ -5,7 +5,7 @@ export const getConfig = () => {
|
||||
assert(process.env.ACCOUNT_ADDRESS);
|
||||
|
||||
return {
|
||||
chainId: process.env.CHIBA_CLONK_CHAIN_ID || 'ethermint_9000-1',
|
||||
chainId: process.env.CHIBA_CLONK_CHAIN_ID || 'chibaclonk_9000-1',
|
||||
privateKey: process.env.PRIVATE_KEY,
|
||||
accountAddress: process.env.ACCOUNT_ADDRESS,
|
||||
restEndpoint: process.env.CHIBA_CLONK_REST_ENDPOINT || 'http://localhost:1317',
|
||||
|
Loading…
Reference in New Issue
Block a user