1.9.15 • Published 3 months ago

interchainjs v1.9.15

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

InterchainJS

A single, universal signing interface for any network. Birthed from the interchain ecosystem for builders. Create adapters for any Web3 network.

Table of Contents

InterchainJS: Universal Signing for Web3

InterchainJS is a universal signing interface designed for seamless interoperability across blockchain networks. It is one of the core libraries of the Interchain JavaScript Stack, a modular framework that brings Web3 development to millions of JavaScript developers.

At its core, InterchainJS provides a flexible adapter pattern that abstracts away blockchain signing complexities, making it easy to integrate new networks, manage accounts, and support diverse authentication protocols and signing algorithms—all in a unified, extensible framework.

Overview

InterchainJS sits at the foundation of the Interchain JavaScript Stack, a set of tools that work together like nested building blocks:

  • InterchainJS → Powers signing across Cosmos, Ethereum (EIP-712), and beyond.
  • Interchain Kit → Wallet adapters that connect dApps to multiple blockchain networks.
  • Interchain UI → A flexible UI component library for seamless app design.
  • Create Interchain App → A developer-friendly starter kit for cross-chain applications.

This modular architecture ensures compatibility, extensibility, and ease of use, allowing developers to compose powerful blockchain applications without deep protocol-specific knowledge.

Visualizing InterchainJS Components

The diagram below illustrates how InterchainJS connects different signer types to various network classes, showcasing its adaptability for a wide range of blockchain environments.

graph LR
    signers --> cosmos_signer["Cosmos Network"]
    signers --> injective_signer["Injective Network"]
    signers --> ethereum_signer["Ethereum Network"]
    signers --> implement_signer["ANY Network"]

    cosmos_signer --> cosmos_amino["Amino Signer"]
    cosmos_signer --> cosmos_direct["Direct Signer"]

    ethereum_signer --> ethereum_eip712["EIP712 Signer"]

    injective_signer --> injective_amino["Amino Signer"]
    injective_signer --> injective_direct["Direct Signer"]

    implement_signer --> any_signer["Any Signer"]

    style signers fill:#f9f,stroke:#333,stroke-width:2px
graph LR
    encoders[Encoders] --> auth["@interchainjs/auth"]
    encoders --> utils["@interchainjs/utils"]
    encoders --> cosmos_types["@interchainjs/cosmos-types"]

    auth --> secp256k1_auth["Secp256k1 Auth"]
    auth --> ethSecp256k1_auth["EthSecp256k1 Auth"]

    utils --> signer_utils["Signer Utilities"]
    utils --> crypto_utils["Crypto Utilities"]

    style encoders fill:#f9f,stroke:#333,stroke-width:2px
    style auth fill:#ccf,stroke:#333,stroke-width:2px
    style utils fill:#ccf,stroke:#333,stroke-width:2px

Tutorials & Documentation

TopicDocumentation
Building a Custom SignerTutorial
Advanced DocumentationView Docs

Auth

The authentication module is universally applied across different networks.

PackageDescription
@interchainjs/authHandles authentication across blockchain networks.
Advanced Docs: Auth vs. Wallet vs. SignerExplanation of the differences between authentication, wallets, and signers.

Supported Networks

Cosmos Network

FeaturePackage
Transactions@interchainjs/cosmos
Cosmos Types@interchainjs/cosmos-types
Migration from @cosmjsinterchainjs

Injective Network

FeaturePackage
Transactions@interchainjs/injective

Ethereum Network

FeaturePackage
Transactions@interchainjs/ethereum

Interchain JavaScript Stack ⚛️

A unified toolkit for building applications and smart contracts in the Interchain ecosystem

CategoryToolsDescription
Chain InformationChain Registry, Utils, ClientEverything from token symbols, logos, and IBC denominations for all assets you want to support in your application.
Wallet ConnectorsInterchain Kitbeta, Cosmos KitExperience the convenience of connecting with a variety of web3 wallets through a single, streamlined interface.
Signing ClientsInterchainJSbeta, CosmJSA single, universal signing interface for any network
SDK ClientsTelescopeYour Frontend Companion for Building with TypeScript with Cosmos SDK Modules.
Starter KitsCreate Interchain Appbeta, Create Cosmos AppSet up a modern Interchain app by running one command.
UI KitsInterchain UIThe Interchain Design System, empowering developers with a flexible, easy-to-use UI kit.
Testing FrameworksStarshipUnified Testing and Development for the Interchain.
TypeScript Smart ContractsCreate Hyperweb AppBuild and deploy full-stack blockchain applications with TypeScript
CosmWasm ContractsCosmWasm TS CodegenConvert your CosmWasm smart contracts into dev-friendly TypeScript classes.

Credits

🛠 Built by Hyperweb (formerly Cosmology) — if you like our tools, please checkout and contribute to our github ⚛️

Disclaimer

AS DESCRIBED IN THE LICENSES, THE SOFTWARE IS PROVIDED “AS IS”, AT YOUR OWN RISK, AND WITHOUT WARRANTIES OF ANY KIND.

No developer or entity involved in creating this software will be liable for any claims or damages whatsoever associated with your use, inability to use, or your interaction with other users of the code, including any direct, indirect, incidental, special, exemplary, punitive or consequential damages, or loss of profits, cryptocurrencies, tokens, or anything else of value.

1.8.2

5 months ago

1.6.4

6 months ago

1.8.1

5 months ago

1.6.3

6 months ago

1.8.0

5 months ago

1.6.2

6 months ago

1.6.1

6 months ago

1.6.0

6 months ago

0.0.1-beta.41

6 months ago

1.9.15

3 months ago

1.9.14

3 months ago

1.9.13

4 months ago

1.9.12

4 months ago

1.9.11

4 months ago

1.9.10

4 months ago

1.9.8

4 months ago

1.9.7

4 months ago

0.0.1-beta.34

8 months ago

1.9.6

4 months ago

1.7.8

5 months ago

0.0.1-beta.33

8 months ago

1.9.5

4 months ago

1.9.4

4 months ago

1.7.6

5 months ago

1.9.3

4 months ago

1.7.5

5 months ago

1.9.2

5 months ago

0.0.1-beta.36

7 months ago

0.0.1-beta.35

7 months ago

1.9.1

5 months ago

1.9.0

5 months ago

1.7.2

5 months ago

1.7.1

5 months ago

1.7.0

5 months ago

0.0.1-alpha.33

8 months ago

0.0.1-alpha.32

8 months ago

1.8.3

5 months ago

1.6.5

6 months ago

0.0.1-alpha.30

8 months ago

0.0.1-alpha.31

8 months ago

0.0.1-beta.29

8 months ago

0.0.1-beta.28

8 months ago

0.0.1-beta.30

8 months ago

0.0.1-beta.21

8 months ago

0.0.1-beta.22

8 months ago

0.0.1-beta.27

8 months ago

0.0.1-beta.26

8 months ago

0.0.1-beta.20

8 months ago

0.0.1-beta.17

8 months ago

0.0.1-beta.19

8 months ago

0.0.1-beta.16

8 months ago

0.0.1-beta.15

8 months ago

0.0.1-beta.10

10 months ago

0.0.1-beta.12

10 months ago

0.0.1-beta.11

10 months ago

0.0.1-beta.14

9 months ago

0.0.1-beta.13

9 months ago

0.0.1-beta.7

10 months ago

0.0.1-beta.6

10 months ago

0.0.1-beta.9

10 months ago

0.0.1-beta.8

10 months ago

0.0.1-beta.3

10 months ago

0.0.1-beta.2

1 year ago

0.0.1-beta.4

10 months ago

0.0.1-beta.1

1 year ago

0.0.1-beta.0

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.1

3 years ago