chain/networks library

Classes

ADAByronAddr
A full Ada Byron address: CBOR payload + CRC32 checksum.
ADAByronAddrAttrs
Ada Byron address attributes: optional encrypted HD path and network magic.
ADAByronAddrConst
Ada Byron address constants.
AdaByronAddrDecoder
Decodes an Ada Byron address.
ADAByronAddrPayload
The CBOR payload embedded in a Byron address: root hash, attrs, type.
ADAByronAddrTypes
Ada Byron era address types: public key, script, or redemption.
AdaByronIcarusAddrEncoder
Encodes an Ada Byron Icarus address.
AdaByronLegacyAddrEncoder
Encodes an Ada Byron Legacy address (includes an encrypted HD path).
AdaGenericAddrDecoder
Auto-detects and decodes any Cardano (Byron or Shelley-era) address.
AdaGenericAddrDecoderResult
Result of auto-detecting and decoding any Cardano address type.
AdaPointerAddrEncoder
Encodes an Ada Shelley pointer address.
AdaShelleyAddrDecoder
Decodes an Ada Shelley base (payment) address.
AdaShelleyAddrEncoder
Encodes an Ada Shelley base (payment) address.
AdaShelleyAddrUtils
Utility class for encoding and decoding Ada Shelley addresses.
AdaShelleyEnterpriseAddrEncoder
Encodes an Ada Shelley enterprise (payment-only) address.
AdaShelleyEnterpriseDecoder
Decodes an Ada Shelley enterprise (payment-only, no staking) address.
AdaShelleyPointerDecoder
Decodes an Ada Shelley pointer address.
AdaShelleyStakingAddrDecoder
Decodes an Ada Shelley reward (staking) address.
AdaShelleyStakingAddrEncoder
Encodes an Ada Shelley reward (staking) address.
AdaStakeCredential
A Cardano stake or payment credential: its type plus hash bytes.
AdaStakeCredType
Whether a Cardano stake/payment credential is a key hash or script hash.
AddrDecUtils
Class for decode address utility functions.
AddrKeyValidator
Class for address utility functions.
AlgoAddrConst
Algorand address constants.
AlgoAddrDecoder
Decodes an Algorand address.
AlgoAddrEncoder
Encodes an Algorand address.
AptosAddrConst
Aptos address constants.
AptosAddrDecoder
Decodes an Aptos address.
AptosAddrEncoder
Encodes an Aptos Ed25519 address.
AptosAddressUtils
AptosSingleKeyEd25519AddrEncoder
Encodes an Aptos SingleKey address from an Ed25519 public key.
AptosSingleKeySecp256k1AddrEncoder
Encodes an Aptos SingleKey address from a Secp256k1 public key.
AtomAddrDecoder
Decodes a Cosmos (ATOM) Bech32 address.
AtomAddrEncoder
Encodes a Cosmos (ATOM) address from a public key.
AtomAddressDecodeResult
Result of decoding a Cosmos address: HRP plus raw bytes.
AtomAddressUtils
Internal Cosmos (ATOM) address helpers.
AtomEthSecp256k1AddrDecoder
Decodes a Cosmos Ethermint-style Bech32 address.
AtomEthSecp256k1AddrEncoder
Encodes a Cosmos Ethermint-style address from a secp256k1 public key.
AvaxPChainAddrDecoder
Decodes an Avalanche P-Chain address.
AvaxPChainAddrEncoder
Encodes an Avalanche P-Chain address.
AvaxXChainAddrDecoder
Decodes an Avalanche X-Chain address.
AvaxXChainAddrEncoder
Encodes an Avalanche X-Chain address.
BaseED25519Signer<VK extends IVerifiyingKey<IVerifiyingParams>, SK extends ISigningKey<ISignature, ISigningParams, IVerifiyingKey<IVerifiyingParams>>>
Shared Ed25519 signing logic: one sign producing a plain ED25519Signature SignedContent.
BaseETHSigner<VK extends IVerifiyingKey<IVerifiyingParams>, SK extends ISigningKey<ISignature, ISigningParams, IVerifiyingKey<IVerifiyingParams>>>
Shared Ethereum signing logic (keccak digest, EIP-191 personal messages, ethereumLegacy encoding).
BaseSecp256k1Signer<VK extends IVerifiyingKey<IVerifiyingParams>, SK extends ISigningKey<ISignature, ISigningParams, IVerifiyingKey<IVerifiyingParams>>>
Shared secp256k1 signing logic (SHA-256 digest, raw ECDSA encoding).
BaseSecp256r1Signer<VK extends IVerifiyingKey<IVerifiyingParams>, SK extends ISigningKey<ISignature, ISigningParams, IVerifiyingKey<IVerifiyingParams>>>
Shared secp256r1 signing logic (SHA-256 digest, raw ECDSA encoding).
BchAddrConverter
Converts a Bitcoin Cash address to a new HRP and/or network version.
BchP2PKHAddrDecoder
Decodes a BCH P2PKH Bech32 (CashAddr) address.
BchP2PKHAddrEncoder
Encodes a BCH P2PKH Bech32 (CashAddr) address.
BchP2SHAddrDecoder
Decodes a P2SH (Pay-to-Script-Hash) address.
BchP2SHAddrEncoder
Encodes a P2SH (Pay-to-Script-Hash) address.
BitcoinKeySigner
Bitcoin signer: ECDSA (DER), BIP-340 Schnorr, and legacy Schnorr signing, plus Bitcoin's message-signing format.
BitcoinSignatureVerifier
Verifies Bitcoin ECDSA/Schnorr signatures and recovers public keys from them.
BitcoinSignerUtils
Shared Bitcoin signing helpers: curve parameters and message hashing.
BlockchainAddressDecoder<RESULT extends Object>
An abstract class for decoding blockchain addresses.
BlockchainAddressEncoder
An abstract class for encoding blockchain addresses.
CryptoSignatureUtils
Signature-format validation helpers.
CryptoSignerConst
Shared constants used across the signer implementations.
DecodeAddressResult
Result of decoding a TON address: workchain, hash, and address flags.
Dkls23ETHSigner
Ethereum signer backed by a DKLs23(secp256k1) quorum: same digest / personal-message / encoding flow as ETHSigner, threshold signing underneath (subset defaults to the first t held shares, sid / seeds to fresh randomness — pass them explicitly for deterministic tests or partial quorums).
Dkls23Secp256k1Signer
Signer backed by a DKLs23(secp256k1) quorum: same digest / encoding flow as Secp256k1Signer (subset defaults to the first t held shares, sid / seeds to fresh randomness — pass them explicitly for deterministic tests or partial quorums).
Dkls23Secp256r1Signer
Signer backed by a DKLs23(secp256r1) quorum: same digest / encoding flow as Secp256r1Signer (subset defaults to the first t held shares, sid / seeds to fresh randomness — pass them explicitly for deterministic tests or partial quorums).
ED25519Signer
Signs digests with an Ed25519 private key.
ED25519Verifier
Verifies signatures made with an Ed25519 public key.
EgldAddrDecoder
Decodes an Egld (Elrond) address.
EgldAddrEncoder
Encodes an Egld (Elrond) address.
EosAddrConst
Constants related to EOS addresses.
EosAddrDecoder
Decodes an EOS address.
EosAddrEncoder
Encodes an EOS address.
ErgoAddrConst
Constants related to Ergo addresses.
ErgoAddressTypes
An enumeration representing different Ergo address types.
ErgoNetworkTypes
An enumeration representing different Ergo network types.
ErgoP2PKHAddrDecoder
Decodes an Ergo P2PKH address.
ErgoP2PKHAddrEncoder
Encodes an Ergo P2PKH address.
EthAddrConst
Constants related to Ethereum addresses.
EthAddrDecoder
Decodes an Ethereum address.
EthAddrEncoder
Encodes an Ethereum address.
EthAddrUtils
Utility class for Ethereum address-related operations.
ETHSigner
Ethereum signer: signs raw digests and EIP-191 personal messages.
ETHVerifier
Verifies Ethereum ECDSA signatures, including EIP-191 personal messages.
FilActorAddrDecoder
FilActorAddrEncoder
FilAddrConst
FilAddrDecoder
FilAddrEncoder
FilAddrUtils
FilBlsAddrDecoder
FilBlsAddrEncoder
FilDecodedAddress
FilDelegatedAddrDecoder
FilDelegatedAddrEncoder
FilEncodedAddress
FilIdAddrDecoder
FilIdAddrEncoder
FilSecp256k1AddrDecoder
FilSecp256k1AddrEncoder
FrostEd25519Signer
Signer backed by a FROST(Ed25519) quorum: same plain-Ed25519 output as ED25519Signer (subset defaults to the first t held shares, randomness to fresh backend randomness — pass them explicitly for deterministic tests or partial quorums).
IAddress
Common interface implemented by every network's address type.
IcpAddrConst
Constants related to Internet Computer addresses.
IcpAddrDecoder
Decodes an ICP address.
IcpAddrEncoder
Encodes an ICP address.
ICPAddrUtils
ICPDecodedAddress
Result of decoding an ICP address.
ICPEncodedAddress
Result of encoding an ICP address (optional helper).
IcxAddrConst
Defines constants related to ICON (ICX) addresses.
IcxAddrDecoder
Decodes an ICON (ICX) address.
IcxAddrEncoder
Encodes an ICON (ICX) address.
InjAddrDecoder
Decodes an INJ (Injective Protocol) address.
InjAddrEncoder
Encodes an INJ (Injective Protocol) address.
NanoAddrConst
A class that defines constants for Nano (NANO) addresses.
NanoAddrDecoder
Decodes a Nano address.
NanoAddrEncoder
Encodes a Nano address.
NearAddrDecoder
Decodes a Near Protocol address.
NearAddrEncoder
Encodes a Near Protocol address.
NeoAddrConst
A class that defines constants for Neo (NEO) addresses.
NeoAddrDecoder
Decodes a Neo (NEO) address.
NeoAddrEncoder
Encodes a Neo (NEO) address.
OkexAddrDecoder
Decodes an OKExChain address.
OkexAddrEncoder
Encodes an OKExChain address.
OneAddrDecoder
Decodes a Harmony (ONE) address.
OneAddrEncoder
Encodes a Harmony (ONE) address.
P2PKHAddrDecoder
Decodes a P2PKH (Pay-to-Public-Key-Hash) Base58 address.
P2PKHAddrEncoder
Encodes a P2PKH (Pay-to-Public-Key-Hash) Base58 address.
P2SHAddrConst
Constants related to P2SH (Pay-to-Script-Hash) addresses.
P2SHAddrDecoder
Decodes a P2SH (Pay-to-Script-Hash) address.
P2SHAddrEncoder
Encodes a P2SH (Pay-to-Script-Hash) address.
P2TRAddrDecoder
Decodes a Segwit v1 (P2TR) address.
P2TRAddrEncoder
Encodes a Segwit v1 (P2TR) address.
P2TRConst
Constants related to P2TR (Pay-to-Taproot) addresses.
P2TRUtils
Utility class for working with P2TR (Pay-to-Taproot) addresses and operations.
P2WPKHAddrConst
Constants related to P2WPKH (Pay-to-Witness-Public-Key-Hash) addresses.
P2WPKHAddrDecoder
Decodes a Segwit (P2WPKH) address.
P2WPKHAddrEncoder
Encodes a Segwit (P2WPKH) address.
Pointer
A Cardano pointer address's chain location (slot, tx index, cert index).
Secp256k1Signer
Signs messages with a secp256k1 private key.
Secp256k1Verifier
Verifies signatures made with a secp256k1 public key.
Secp256r1Signer
Signs messages with a secp256r1 private key.
Secp256r1Verifier
Verifies signatures made with a secp256r1 public key.
SignedContent<SIGNATURE extends ISignature>
A signature paired with the content that was signed and its encoded bytes.
SolAddrDecoder
Decodes a Solana (SOL) address.
SolAddrEncoder
Encodes a Solana (SOL) address.
SubstrateEcdsaSigner
Signs Substrate transactions with a secp256k1 (ECDSA) key.
SubstrateEcdsaVerifier
Verifies Substrate signatures made with a secp256k1 (ECDSA) key.
SubstrateEd25519AddrDecoder
Decodes a Substrate Ed25519 address.
SubstrateEd25519AddrEncoder
Encodes a Substrate Ed25519 address.
SubstrateED25519Signer
Signs Substrate transactions with an Ed25519 key.
SubstrateED25519Verifier
Verifies Substrate signatures made with an Ed25519 key.
SubstrateGenericAddrDecoder
Decodes any Substrate (SS58) address without checking the key's curve.
SubstrateGenericAddrEncoder
Encodes a Substrate address, auto-detecting the key's curve type.
SubstrateSecp256k1AddrDecoder
Decodes a Substrate secp256k1 address.
SubstrateSecp256k1AddrEncoder
Encodes a Substrate secp256k1 address.
SubstrateSigner
Substrate signer: dispatches to the ED25519/ECDSA/SR25519 signer for the key's algorithm.
SubstrateSr25519AddrDecoder
Decodes a Substrate sr25519 address.
SubstrateSr25519AddrEncoder
Encodes a Substrate sr25519 address.
SubstrateSr25519Signer
Signs Substrate transactions with an SR25519 key.
SubstrateSr25519Verifier
Verifies Substrate signatures made with an SR25519 key.
SubstrateVerifier
Substrate signature verifier: dispatches to the ED25519/ECDSA/SR25519 verifier for the key's algorithm.
SuiAddrConst
Sui address constants.
SuiAddrDecoder
Decodes a Sui address.
SuiAddrEncoder
Encodes a Sui Ed25519 address (with secp256k1/secp256r1/multisig helpers).
SuiAddressUtils
Internal Sui address helpers.
SuiPublicKeyAndWeight
A public key + its signature weight, for Sui multisig addresses.
SuiSecp256k1AddrEncoder
Encodes a Sui secp256k1 address.
SuiSecp256r1AddrEncoder
Encodes a Sui secp256r1 address.
TonAddrDecoder
Decodes a TON address.
TonAddrEncoder
Encodes a TON address.
TonAddressUtils
Internal TON address helpers.
TronSigner
Tron signer: signs raw digests and Tron/Ethereum-prefixed personal messages.
TronVerifier
Verifies Tron ECDSA signatures, including personal messages.
TrxAddrDecoder
Decodes a TRON (TRX) address.
TrxAddrEncoder
Encodes a TRON (TRX) address.
TrxAddressUtils
Internal TRON (TRX) address helpers.
XlmAddrConst
Constants related to Stellar (XLM) addresses.
XlmAddrDecoder
Decodes a Stellar (XLM) address.
XlmAddrDecoderResult
XlmAddrEncoder
Encodes a Stellar (XLM) address.
XmrAddrConst
Constants related to Monero (XMR) addresses.
XmrAddrDecoder
Decodes a Monero (XMR) address.
XmrAddrEncoder
Encodes a Monero (XMR) address.
XmrAddressDecodeResult
XmrIntegratedAddrDecoder
Decodes a Monero (XMR) integrated address.
XmrIntegratedAddrEncoder
Encodes a Monero (XMR) integrated address.
XrpAddrDecoder
Decodes a classic Ripple (XRP) address.
XrpAddrEncoder
Encodes a classic Ripple (XRP) address.
XRPAddressDecodeResult
XRPAddressUtils
XrpSigner
XRP Ledger signer: supports both Ed25519 and secp256k1 keys.
XrpVerifier
XRP Ledger signature verifier: supports both Ed25519 and secp256k1 keys.
XrpXAddrDecoder
Decodes a Ripple (XRP) X-Address.
XrpXAddrEncoder
Encodes a Ripple (XRP) X-Address.
XRPXAddressEncodeResult
XtzAddrDecodedAddress
Decoded Tezos address: 20-byte hash + its prefix type.
XtzAddrDecoder
Decodes a Tezos (XTZ) address.
XtzAddrEncodedAddress
Encoded Tezos address: base58 string, its prefix type, and hash bytes.
XtzAddrEncoder
Encodes a Tezos (XTZ) address.
ZcashAddrDecoder
Decodes a Zcash address (transparent, shielded, or unified).
ZcashAddrEncoder
Encodes a Zcash transparent or shielded address.
ZcashAddressUtils
Internal Zcash address parsing/encoding helpers.
ZcashDecodedAddressResult
Result of decoding a Zcash address.
ZcashUnifiedAddrEncoder
Encodes a Zcash unified address.
ZilAddrConst
Constants related to Zilliqa (ZIL) blockchain addresses.
ZilAddrDecoder
Decodes a Zilliqa (ZIL) address.
ZilAddrEncoder
Encodes a Zilliqa (ZIL) address.

Enums

ADAAddressType
Cardano (ADA) address types (Shelley era) plus legacy Byron.
ADANetwork
An enumeration of Ada Shelley address network tags.
BlockchainNetwork
Blockchain networks supported for address encoding/decoding.
FilAddrType
FilNetwork
FriendlyAddressFlags
ICPAddressType
XlmAddrTypes
Enum representing different types of Stellar (XLM) addresses.
XmrAddressType
XRPAddressType
XtzAddrPrefixes
Tezos base58 address prefixes (implicit, contract, smart rollup, zk rollup).
ZcashAddressType
Zcash address format (transparent, shielded, or unified).