{"id":19259273,"url":"https://github.com/hyperweb-io/interchainjs","last_synced_at":"2025-04-21T16:30:53.533Z","repository":{"id":231202879,"uuid":"780794687","full_name":"hyperweb-io/interchainjs","owner":"hyperweb-io","description":"A single, universal signing interface for any network (CosmJS 2.0)","archived":false,"fork":false,"pushed_at":"2025-04-15T01:09:02.000Z","size":99504,"stargazers_count":7,"open_issues_count":9,"forks_count":3,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-04-15T01:27:13.976Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://hyperweb.io/stack/interchainjs","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hyperweb-io.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-Apache","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-04-02T07:09:35.000Z","updated_at":"2025-04-15T01:09:06.000Z","dependencies_parsed_at":"2024-08-30T12:03:11.027Z","dependency_job_id":"72a7d6a1-c00b-4050-be23-88e5cc196cbe","html_url":"https://github.com/hyperweb-io/interchainjs","commit_stats":{"total_commits":370,"total_committers":7,"mean_commits":"52.857142857142854","dds":0.4621621621621622,"last_synced_commit":"fde167a8bb74746c21951ce4145b60f0f7017efe"},"previous_names":["cosmology-tech/interchainjs"],"tags_count":858,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperweb-io%2Finterchainjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperweb-io%2Finterchainjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperweb-io%2Finterchainjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperweb-io%2Finterchainjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyperweb-io","download_url":"https://codeload.github.com/hyperweb-io/interchainjs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248989657,"owners_count":21194632,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T19:15:54.862Z","updated_at":"2025-04-21T16:30:53.502Z","avatar_url":"https://github.com/hyperweb-io.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# InterchainJS\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/hyperweb-io/interchainjs/refs/heads/main/assets/logo.svg\" width=\"280\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\" width=\"100%\"\u003e\n  \u003ca href=\"https://github.com/hyperweb-io/interchainjs/actions/workflows/run-tests.yaml\"\u003e\n    \u003cimg height=\"20\" src=\"https://github.com/hyperweb-io/interchainjs/actions/workflows/run-tests.yaml/badge.svg\" /\u003e\n  \u003c/a\u003e\n   \u003ca href=\"https://github.com/hyperweb-io/interchainjs/blob/main/LICENSE-MIT\"\u003e\u003cimg height=\"20\" src=\"https://img.shields.io/badge/license-MIT-blue.svg\"\u003e\u003c/a\u003e\n   \u003ca href=\"https://github.com/hyperweb-io/interchainjs/blob/main/LICENSE-Apache\"\u003e\u003cimg height=\"20\" src=\"https://img.shields.io/badge/license-Apache-blue.svg\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nA single, universal signing interface for any network. Birthed from the interchain ecosystem for builders. Create adapters for any Web3 network.\n\n## Table of Contents\n\n- [Introduction](#interchainjs-universal-signing-for-web3)\n- [Overview](#overview)\n- [Tutorials and Docs](#tutorial-for-building-a-custom-signer)\n- [Auth](#auth)\n- [Supported Networks](#supported-networks)\n  - [Cosmos Network](#cosmos-network)\n  - [Injective Network](#injective-network)\n  - [Ethereum Network](#ethereum-network)\n- [Interchain JavaScript Stack ⚛️](#interchain-javascript-stack-⚛️)\n- [Credits](#credits)\n- [Disclaimer](#disclaimer)\n\n## InterchainJS: Universal Signing for Web3\n\n[InterchainJS](https://hyperweb.io/stack/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](https://hyperweb.io/stack)**, a modular framework that brings Web3 development to millions of JavaScript developers.\n\nAt 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.\n\n## Overview\n\nInterchainJS sits at the foundation of the **[Interchain JavaScript Stack](https://hyperweb.io/stack)**, a set of tools that work together like nested building blocks:\n\n- **[InterchainJS](https://hyperweb.io/stack/interchainjs)** → Powers signing across Cosmos, Ethereum (EIP-712), and beyond.\n- **[Interchain Kit](https://hyperweb.io/stack/interchain-kit)** → Wallet adapters that connect dApps to multiple blockchain networks.\n- **[Interchain UI](https://hyperweb.io/stack/interchain-ui)** → A flexible UI component library for seamless app design.\n- **[Create Interchain App](https://hyperweb.io/stack/create-interchain-app)** → A developer-friendly starter kit for cross-chain applications.\n\nThis modular architecture ensures **compatibility, extensibility, and ease of use**, allowing developers to compose powerful blockchain applications without deep protocol-specific knowledge.\n\n### Visualizing InterchainJS Components\n\nThe diagram below illustrates how InterchainJS connects different signer types to various network classes, showcasing its adaptability for a wide range of blockchain environments.\n\n```mermaid\ngraph LR\n    signers --\u003e cosmos_signer[\"Cosmos Network\"]\n    signers --\u003e injective_signer[\"Injective Network\"]\n    signers --\u003e ethereum_signer[\"Ethereum Network\"]\n    signers --\u003e implement_signer[\"ANY Network\"]\n\n    cosmos_signer --\u003e cosmos_amino[\"Amino Signer\"]\n    cosmos_signer --\u003e cosmos_direct[\"Direct Signer\"]\n\n    ethereum_signer --\u003e ethereum_eip712[\"EIP712 Signer\"]\n\n    injective_signer --\u003e injective_amino[\"Amino Signer\"]\n    injective_signer --\u003e injective_direct[\"Direct Signer\"]\n\n    implement_signer --\u003e any_signer[\"Any Signer\"]\n\n    style signers fill:#f9f,stroke:#333,stroke-width:2px\n```\n\n```mermaid\ngraph LR\n    encoders[Encoders] --\u003e auth[\"@interchainjs/auth\"]\n    encoders --\u003e utils[\"@interchainjs/utils\"]\n    encoders --\u003e cosmos_types[\"@interchainjs/cosmos-types\"]\n\n    auth --\u003e secp256k1_auth[\"Secp256k1 Auth\"]\n    auth --\u003e ethSecp256k1_auth[\"EthSecp256k1 Auth\"]\n\n    utils --\u003e signer_utils[\"Signer Utilities\"]\n    utils --\u003e crypto_utils[\"Crypto Utilities\"]\n\n    style encoders fill:#f9f,stroke:#333,stroke-width:2px\n    style auth fill:#ccf,stroke:#333,stroke-width:2px\n    style utils fill:#ccf,stroke:#333,stroke-width:2px\n```\n\n\n---\n\n\n## Tutorials \u0026 Documentation\n\n| Topic                            | Documentation |\n|----------------------------------|--------------|\n| **Building a Custom Signer**     | [Tutorial](/docs/tutorial.md) |\n| **Advanced Documentation**       | [View Docs](/docs/) |\n\n---\n\n## Auth\n\nThe authentication module is universally applied across different networks.\n\n| Package | Description |\n|---------|-------------|\n| [@interchainjs/auth](/packages/auth/README.md) | Handles authentication across blockchain networks. |\n| [Advanced Docs: `Auth vs. Wallet vs. Signer`](/docs/auth-wallet-signer.md) | Explanation of the differences between authentication, wallets, and signers. |\n\n---\n\n## Supported Networks\n\n### Cosmos Network\n\n| Feature | Package |\n|---------|---------|\n| **Transactions** | [@interchainjs/cosmos](/networks/cosmos/README.md) |\n| **Cosmos Types** | [@interchainjs/cosmos-types](/networks/cosmos-msgs/README.md) |\n| **Migration from `@cosmjs`** | [Migration Guide](/docs/migration-from-cosmjs.md) |\n\n---\n\n### Injective Network\n\n| Feature | Package |\n|---------|---------|\n| **Transactions** | [@interchainjs/injective](/networks/injective/README.md) |\n\n---\n\n### Ethereum Network\n\n| Feature | Package |\n|---------|---------|\n| **Transactions** | [@interchainjs/ethereum](/networks/ethereum/README.md) |\n\n---\n\n## Interchain JavaScript Stack ⚛️\n\nA unified toolkit for building applications and smart contracts in the Interchain ecosystem\n\n| Category              | Tools                                                                                                                  | Description                                                                                           |\n|----------------------|------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------|\n| **Chain Information**   | [**Chain Registry**](https://github.com/hyperweb-io/chain-registry), [**Utils**](https://www.npmjs.com/package/@chain-registry/utils), [**Client**](https://www.npmjs.com/package/@chain-registry/client) | Everything from token symbols, logos, and IBC denominations for all assets you want to support in your application. |\n| **Wallet Connectors**| [**Interchain Kit**](https://github.com/hyperweb-io/interchain-kit)\u003csup\u003ebeta\u003c/sup\u003e, [**Cosmos Kit**](https://github.com/hyperweb-io/cosmos-kit) | Experience the convenience of connecting with a variety of web3 wallets through a single, streamlined interface. |\n| **Signing Clients**          | [**InterchainJS**](https://github.com/hyperweb-io/interchainjs)\u003csup\u003ebeta\u003c/sup\u003e, [**CosmJS**](https://github.com/cosmos/cosmjs) | A single, universal signing interface for any network |\n| **SDK Clients**              | [**Telescope**](https://github.com/hyperweb-io/telescope)                                                          | Your Frontend Companion for Building with TypeScript with Cosmos SDK Modules. |\n| **Starter Kits**     | [**Create Interchain App**](https://github.com/hyperweb-io/create-interchain-app)\u003csup\u003ebeta\u003c/sup\u003e, [**Create Cosmos App**](https://github.com/hyperweb-io/create-cosmos-app) | Set up a modern Interchain app by running one command. |\n| **UI Kits**          | [**Interchain UI**](https://github.com/hyperweb-io/interchain-ui)                                                   | The Interchain Design System, empowering developers with a flexible, easy-to-use UI kit. |\n| **Testing Frameworks**          | [**Starship**](https://github.com/hyperweb-io/starship)                                                             | Unified Testing and Development for the Interchain. |\n| **TypeScript Smart Contracts** | [**Create Hyperweb App**](https://github.com/hyperweb-io/create-hyperweb-app)                              | Build and deploy full-stack blockchain applications with TypeScript |\n| **CosmWasm Contracts** | [**CosmWasm TS Codegen**](https://github.com/CosmWasm/ts-codegen)                                                   | Convert your CosmWasm smart contracts into dev-friendly TypeScript classes. |\n\n## Credits\n\n🛠 Built by Hyperweb (formerly Cosmology) — if you like our tools, please checkout and contribute to [our github ⚛️](https://github.com/hyperweb-io)\n\n## Disclaimer\n\nAS DESCRIBED IN THE LICENSES, THE SOFTWARE IS PROVIDED “AS IS”, AT YOUR OWN RISK, AND WITHOUT WARRANTIES OF ANY KIND.\n\nNo 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.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperweb-io%2Finterchainjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyperweb-io%2Finterchainjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperweb-io%2Finterchainjs/lists"}