diff --git a/README.md b/README.md index aa2d29d..92d7737 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/src/index.ts b/src/index.ts index 71009de..0fbc3c1 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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) => { diff --git a/src/testing/helper.ts b/src/testing/helper.ts index db71c63..63af956 100644 --- a/src/testing/helper.ts +++ b/src/testing/helper.ts @@ -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',