Rename ethermint to chibaclonk

This commit is contained in:
nabarun 2022-04-06 10:16:38 +05:30 committed by Ashwin Phatak
parent 58227b68be
commit 48507ca46a
3 changed files with 4 additions and 4 deletions

View File

@ -18,7 +18,7 @@ Follow these steps to run the tests:
- Get the account details using: - Get the account details using:
```bash ```bash
ethermintd keys list chibaclonkd keys list
``` ```
- Use the address of key `mykey` and assign it to `ACCOUNT_ADDRESS` in the `.env` file. - 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: - To export the private key run:
```bash ```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. - Copy the private key and assign it to variable `PRIVATE_KEY` in the `.env` file.

View File

@ -18,7 +18,7 @@ import { createTxMsgReserveAuthority, MessageMsgReserveAuthority } from './messa
const DEFAULT_WRITE_ERROR = 'Unable to write to chiba-clonk.'; 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. // Parse Tx response from cosmos-sdk.
export const parseTxResponse = (result: any) => { export const parseTxResponse = (result: any) => {

View File

@ -5,7 +5,7 @@ export const getConfig = () => {
assert(process.env.ACCOUNT_ADDRESS); assert(process.env.ACCOUNT_ADDRESS);
return { 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, privateKey: process.env.PRIVATE_KEY,
accountAddress: process.env.ACCOUNT_ADDRESS, accountAddress: process.env.ACCOUNT_ADDRESS,
restEndpoint: process.env.CHIBA_CLONK_REST_ENDPOINT || 'http://localhost:1317', restEndpoint: process.env.CHIBA_CLONK_REST_ENDPOINT || 'http://localhost:1317',