2.0.15 • Published 3 weeks ago
@xchainjs/xchain-client
Licence
MIT
Version
2.0.15
Deps
0
Vulns
0
Weekly
0
Base client interface and abstract implementation for XChainJS blockchain clients. Provides a standardized interface for wallet operations across different blockchain networks.
Modules
BaseXChainClient- Abstract base class for all blockchain clientstypes- Core type definitions and interfacesfees- Fee calculation utilitiesprotocols- Supported blockchain protocol definitions
Installation
yarn add @xchainjs/xchain-client
or
npm install @xchainjs/xchain-client
Following peer dependencies have to be installed into your project. These are not included in @xchainjs/xchain-client.
yarn add @xchainjs/xchain-crypto @xchainjs/xchain-util axios
Documentation
xchain client
Overview of xchain-clientInterface of xchain-client
Features
- Standardized Interface: Consistent API across all blockchain implementations
- Key Management: Secure BIP39 phrase handling without key generation
- Network Support: Mainnet, Testnet, and Stagenet configurations
- Fee Management: Flexible fee calculation and bounds
- Abstract Implementation: Base class for easy client extension