Skip to content

Wallet SDK — API Reference ​

Complete API reference for ASI Chain Wallet SDK services, domains, and utilities.

Source code: github.com/asi-alliance/asi-chain-wallet-sdk

Services ​

ModuleDescription
WalletsServiceWallet creation and address derivation
CryptoServicePassword-based AES-GCM encryption/decryption
MnemonicServiceBIP-39 mnemonic generation and validation
KeyDerivationServiceBIP-32/BIP-44 hierarchical key derivation
KeysManagersecp256k1 key generation and management
SignerServiceDeploy signing without exposing raw key bytes
AssetsServiceToken transfers and balance queries
DeployResubmitterDeploy retry and resubmission logic

Domains ​

ModuleDescription
WalletEncrypted wallet with scoped signing capability
VaultMulti-wallet encrypted browser storage
BlockchainGatewaySingleton gateway for node communication
EncryptedRecordEncrypted data wrapper for seed storage
AssetToken model
BrowserStoragelocalStorage adapter with key isolation

Error Handling ​

ModuleDescription
Error TypesDeploy error classification, recoverable/fatal error enums, and DeploymentErrorHandler

Utilities ​

ModuleDescription
CodecBase16, Base58, and Base64 encoding helpers
FunctionsAtomic amount conversion utilities
ValidatorsAddress checksum and account name validation
ConstantsLibrary-wide constants (ASI_DECIMALS, ASI_BASE_UNIT, GasFee, etc.)
PolyfillsBrowser Buffer polyfill setup

ASI:Chain DevNet - Development Network