diff --git a/.github/workflows/ethermint-e2e-tests.yaml b/.github/workflows/injective-e2e-tests.yaml similarity index 77% rename from .github/workflows/ethermint-e2e-tests.yaml rename to .github/workflows/injective-e2e-tests.yaml index 3452185..1d60cdd 100644 --- a/.github/workflows/ethermint-e2e-tests.yaml +++ b/.github/workflows/injective-e2e-tests.yaml @@ -1,10 +1,10 @@ -name: Run Ethermint E2E Tests +name: Run Injective E2E Tests on: workflow_dispatch: jobs: - networks-ethermint: + networks-injective: runs-on: ubuntu-latest steps: @@ -27,7 +27,7 @@ jobs: id: starship-infra uses: cosmology-tech/starship-action@0.5.5 with: - config: networks/ethermint/starship/configs/config.workflow.yaml + config: networks/injective/starship/configs/config.workflow.yaml - name: Run E2E Tests - run: cd ./networks/ethermint && yarn starship:test + run: cd ./networks/injective && yarn starship:test diff --git a/README.md b/README.md index 9bc7302..bb96835 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ By employing this pattern, InterchainJS ensures compatibility and extensibility, ```mermaid graph LR signers --> cosmos_signer["Cosmos Network"] - signers --> ethermint_signer["Ethermint Network"] + signers --> injective_signer["Injective Network"] signers --> ethereum_signer["Ethereum Network"] signers --> implement_signer["ANY Network"] @@ -36,9 +36,9 @@ graph LR ethereum_signer --> ethereum_eip712["EIP712 Signer"] - ethermint_signer --> ethermint_amino["Amino Signer"] - ethermint_signer --> ethermint_direct["Direct Signer"] - ethermint_signer --> ethermint_eip712["EIP712 Signer"] + injective_signer --> injective_amino["Amino Signer"] + injective_signer --> injective_direct["Direct Signer"] + injective_signer --> injective_eip712["EIP712 Signer"] implement_signer --> any_signer["Any Signer"] @@ -82,12 +82,12 @@ We created a specific package to make it easy to migrate from `@cosmjs`. - [interchainjs](/networks/cosmjs/README.md) -## ethermint Network +## injective Network ### Transactions -- [@interchainjs/ethermint](/networks/ethermint/README.md) -- `@interchainjs/ethermint-msgs`(on progress) +- [@interchainjs/injective](/networks/injective/README.md) +- `@interchainjs/injective-msgs`(on progress) ## Ethereum Network diff --git a/docs/signer.md b/docs/signer.md index 4f55957..31b7a96 100644 --- a/docs/signer.md +++ b/docs/signer.md @@ -1,6 +1,6 @@ # Signer -The main purpose of the `@interchainjs/cosmos`, `@interchainjs/ethereum`, `@interchainjs/ethermint` is to offer developers a way to have different `Signer` implementations on different types of Blockchains. All of these `Signer`s are implementing [`UniSigner` interface](#unisigner-interface) and extending the same `BaseSigner` class which with `Auth` object being utilized in construction. +The main purpose of the `@interchainjs/cosmos`, `@interchainjs/ethereum`, `@interchainjs/injective` is to offer developers a way to have different `Signer` implementations on different types of Blockchains. All of these `Signer`s are implementing [`UniSigner` interface](#unisigner-interface) and extending the same `BaseSigner` class which with `Auth` object being utilized in construction. Class diagram: @@ -229,7 +229,7 @@ export interface UniSigner { ### InjectiveDirectSigner -- **Class**: `import { DirectSigner } from "@interchainjs/ethermint/direct"` +- **Class**: `import { DirectSigner } from "@interchainjs/injective/direct"` - **SignDoc**: CosmosDirectDoc - **Transaction**: CosmosTx - **Wallet**: @@ -237,7 +237,7 @@ export interface UniSigner { ### InjectiveAminoSigner -- **Class**: `import { AminoSigner } from "@interchainjs/ethermint/amino"` +- **Class**: `import { AminoSigner } from "@interchainjs/injective/amino"` - **SignDoc**: CosmosAminoDoc - **Transaction**: CosmosTx - **Wallet**: diff --git a/packages/auth/README.md b/packages/auth/README.md index 28bec44..bc637db 100644 --- a/packages/auth/README.md +++ b/packages/auth/README.md @@ -33,7 +33,7 @@ const signature = auth.sign(Uint8Array.from([1, 2, 3])); console.log(signature.toHex()); ``` -It's easy to derive _cosmos/ethermint/ethereum_ network HD path (taking `cosmos` as example) +It's easy to derive _cosmos/injective/ethereum_ network HD path (taking `cosmos` as example) ```ts // derive with Cosmos default HD path "m/44'/118'/0'/0/0" @@ -50,7 +50,7 @@ const [auth] = Secp256k1Auth.fromMnemonic("", [ - [@interchainjs/cosmos](/networks/cosmos/README.md) - [@interchainjs/ethereum](/networks/ethereum/README.md) -- [@interchainjs/ethermint](/networks/ethermint/README.md) +- [@interchainjs/injective](/networks/injective/README.md) ## Implementations