XChainJS logo

XChainJS

XChainJS provides a TypeScript cross-chain development toolkit with unified APIs for more than 21 blockchains. Its modular packages support chain clients, wallets, chain-data access, swap and liquidity operations, and cross-protocol route aggregation for developers building multi-chain applications.
Distributed

Description

XChainJS is a modular TypeScript SDK for cross-chain development. Its suite of more than 40 packages includes consistent chain-client APIs, wallet abstractions, shared cryptographic and utility primitives, typed THORChain and MAYAChain network APIs, protocol layers for swaps and liquidity, and an aggregator that compares routes across THORChain, MAYAChain, and Chainflip. It serves developers and projects building multi-chain wallets, decentralized exchanges, swap aggregators, lending protocols, and other DeFi applications.