protocol/bip/bip/bip library

The 'bip' library serves as a comprehensive collection of libraries for working with various Bitcoin Improvement Proposals (BIPs) in the realm of cryptocurrency.

Classes

BaseBipCoinConfig<CONFIG extends BaseCoinConfig>
A base class representing configuration parameters for a cryptocurrency coin.
BaseCoinConfig
Bip32Base<BIP extends Bip32Base<BIP>>
An abstract base class for BIP-32 hierarchical deterministic key management.
Bip32ChainCode
BIP32 chaincode class. It represents a BIP32 chaincode.
Bip32ChildKey
Derived child key data
Bip32Const
The Bip32Const class defines constants for different Bip32KeyNetVersions.
Bip32Depth
BIP32 depth class. It represents a BIP32 depth.
Bip32DeserializedKey
BIP32 deserialized key class. It represents a key deserialized with the Bip32KeyDeserializer.
Bip32FingerPrint
BIP32 fingerprint class. It represents a BIP32 fingerprint.
Bip32KeyBase
Bip32KeyData
BIP32 key data class. It contains all additional data related to a BIP32 key (e.g. depth, chain code, etc...).
Bip32KeyDataConst
Class container for BIP32 key data constants.
Bip32KeyDeserializer
BIP32 key deserializer class. It deserializes an extended key.
Bip32KeyIndex
BIP32 key index class. It represents a BIP32 key index.
Bip32KeyNetVersions
Bip32KeyNetVersionsConst
Contains constants related to BIP32 key network versions.
Bip32KeySerConst
The Bip32KeySerConst class contains constants related to the serialization of Bip32 keys.
Bip32KholawEd25519
A class representing Bip32 hierarchical deterministic keys using the Kholaw elliptic curve with Ed25519 keys.
Bip32KholawEd25519KeyDerivator
Bip32KholawEd25519KeyDerivator key derivator
Bip32KholawEd25519KeyDerivatorBase
Define an abstract class 'Bip32KholawEd25519KeyDerivatorBase' that implements the 'IBip32KeyDerivator' interface. This class provides a base for deriving Ed25519 keys with the Kholaw scheme.
Bip32KholawEd25519MstKeyGenerator
Bip32MasterKey
derived master key
Bip32Path
Represents a BIP32 derivation path, a sequence of key indices.
Bip32PathConst
Constants related to the BIP32 derivation path components.
Bip32PathParser
A utility class for parsing BIP32 derivation paths and converting them to Bip32Path objects.
Bip32PrivateKey
Represents a BIP32 private key with associated data such as the elliptic curve type, key data, and key network versions.
Bip32PrivateKeySerializer
BIP32 private key serializer class. It serializes private keys.
Bip32PublicKey
Represents a BIP32 public key with associated data such as the elliptic curve type, key data, and key network versions.
Bip32PublicKeySerializer
It serializes public keys.
Bip32Slip10DerivatorConst
Constants related to the Bip32 Slip10 Derivator.
Bip32Slip10EcdsaDerivator
Bip32Slip10Ed25519
Represents a Bip32Slip10Ed25519 hierarchical deterministic key for Ed25519 curve.
Bip32Slip10Ed25519Blake2b
Represents a Bip32Slip10Ed25519Blake2b hierarchical deterministic key for Ed25519-Blake2b curve.
Bip32Slip10Ed25519Derivator
A class that implements the IBip32KeyDerivator interface for Bip32 Slip10 derivation using the Ed25519 elliptic curve.
Bip32Slip10Ed25519MstKeyGenerator
A class implementing the IBip32MstKeyGenerator interface to generate master keys for the Ed25519 elliptic curve using Slip-10.
Bip32Slip10MstKeyGeneratorConst
Bip32Slip10Nist256p1
Represents a Bip32Slip10Nist256p1 hierarchical deterministic key for NIST256P1 curve.
Bip32Slip10Nist256p1Hybrid
Represents a Bip32Slip10Nist256p1Hybrid hierarchical deterministic key for NIST256P1 curve.
Bip32Slip10Nist256p1MstKeyGenerator
A class implementing the IBip32MstKeyGenerator interface to generate master keys for the Nist256p1 elliptic curve using Slip-10.
Bip32Slip10Secp256k1
Represents a Bip32Slip10Secp256k1 hierarchical deterministic key for SECP256K1 curve.
Bip32Slip10Secp256k1MstKeyGenerator
A class implementing the IBip32MstKeyGenerator interface to generate master keys for the secp256k1 elliptic curve using Slip-10.
Bip38Addr
bip38 address class
Bip38Decrypter
Helper class for BIP38 decryption operations.
Bip38EcConst
Constants for BIP38 encryption and decryption operations.
Bip38EcDecrypter
Helper class for decrypting BIP38-encrypted private keys.
Bip38EcKeysGenerator
Helper class for generating BIP38-encrypted keys.
Bip38EcUtils
Utility class for BIP38 encryption and decryption operations.
Bip38Encrypter
Helper class for BIP38 encryption and decryption operations.
Bip38NoEcConst
Constants for BIP38 encryption and decryption without ECDSA.
Bip38NoEcDecrypter
Helper class for decrypting BIP38-encrypted Bitcoin private keys without ECDSA.
Bip38NoEcEncrypter
Helper class for encrypting Bitcoin private keys without using ECDSA.
Bip38NoEcUtils
Utility class for BIP38 encryption and decryption without ECDSA.
Bip39EntropyBitLen
Enum representing the bit lengths for BIP39 entropy values.
Bip39EntropyGenerator
BIP39 entropy generator class.
Bip39Languages
Enumeration representing the supported languages for BIP-39 mnemonic phrases.
Bip39LanguagesBase
Bip39Mnemonic
BIP-39 mnemonic phrase representation.
Bip39MnemonicConst
Constants related to BIP-39 mnemonics, including word counts and word list properties.
Bip39MnemonicDecoder
BIP39 (Bitcoin Improvement Proposal 39) mnemonic decoder class.
Bip39MnemonicEncoder
BIP39 Mnemonic Encoder for generating mnemonic phrases.
Bip39MnemonicGenerator
BIP39 Mnemonic Generator for generating mnemonic phrases.
Bip39MnemonicValidator
Validates BIP39 mnemonics based on a specified language.
Bip39SeedGenerator
Generates a seed from a Bip39 mnemonic.
Bip39SeedGeneratorConst
Constants related to Bip39 seed generation.
Bip39WordsListFinder<BIP39LANG extends Bip39LanguagesBase>
Finds the language of a BIP39 mnemonic based on the words used.
Bip39WordsListGetter<BIP39LANG extends Bip39LanguagesBase>
Retrieves a list of BIP39 words based on the specified language.
Bip39WordsNum
Enumeration representing the number of words in a BIP-39 mnemonic phrase.
Bip44
Bip44Base<BIP44 extends Bip44Base<BIP44>>
Abstract base class for BIP-44 hierarchical deterministic wallets.
Bip44Conf
A configuration class for BIP44 coins that defines the key network versions and maps each supported BIP44Coin to its corresponding BipCoinConfig.
Bip44Const
Constants related to BIP-44 (Bitcoin Improvement Proposal 44).
Bip44PrivateKey
Represents a BIP44 private key for a specific cryptocurrency coin. This class ensures that the elliptic curve type of the private key matches the coin's configuration, and provides various utility methods for working with the private key.
Bip44PublicKey
Represents a BIP44 public key for a specific cryptocurrency coin. This class ensures that the elliptic curve type of the public key matches the coin's configuration, and provides various utility methods for working with the public key.
Bip49
Bip49Conf
A configuration class for BIP49 that defines the key network versions and maps each supported BIP49Coin to its corresponding BipCoinConfig.
Bip49Const
Constants related to BIP-49 (Bitcoin Improvement Proposal 44).
Bip84
Bip84Conf
A configuration class for BIP84 that defines the key network versions and maps each supported BIP84Coin to its corresponding BipCoinConfig.
Bip84Const
Constants related to BIP-84 (Bitcoin Improvement Proposal 84).
Bip86
Bip86Conf
A configuration class for BIP86 that defines the key network versions and maps each supported BIP86Coin to its corresponding BipCoinConfig.
Bip86Const
Constants related to BIP-86 (Bitcoin Improvement Proposal 86).
BipBitcoinCashConf
A class representing the configuration for Bitcoin Cash (BCH) based on the BIP framework.
BipCoinConfig
A base class representing configuration parameters for a cryptocurrency coin.
BipCoins
BipLitecoinConf
A class representing the configuration for Litecoin (LTC) based on the BIP framework.
CoinConfig<T extends BaseCoinConfig>
A base class representing configuration parameters for a cryptocurrency coin.
CryptoCoins<T extends BaseCoinConfig>
An abstract class representing a collection of cryptocurrency coins.
Eip2333Base<EIP extends Eip2333Base<EIP>>
Abstract base for EIP-2333 keys, mirrors Bip32Base.
Eip2333Bls
EIP-2333 hierarchical deterministic key for BLS12-381 (min-pubkey-size).
Eip2333ChildKey
Derived child key DTO, mirrors Bip32ChildKey.
Eip2333Const
Constants for EIP-2333 BLS12-381 key generation.
Eip2333Depth
Depth of an EIP-2333 key in the tree (m = 0).
Eip2333KeyData
Key data for EIP-2333, mirrors Bip32KeyData.
Eip2333KeyDerivator
EIP-2333 child key derivator, mirrors Bip32Slip10Ed25519Derivator.
Eip2333KeyIndex
Child index for EIP-2333.
Eip2333MasterKey
Derived master key DTO, mirrors Bip32MasterKey.
Eip2333MstKeyGenerator
Master generator, mirrors Bip32Slip10Ed25519MstKeyGenerator.
Eip2333Path
Derivation path for EIP-2333 keys (EIP-2334 layout), e.g. m/12381/3600/0/0.
Eip2333PathConst
Path constants, mirrors Bip32PathConst.
Eip2333PathParser
Parser for EIP-2333 paths, mirrors Bip32PathParser.
Eip2333PrivateKey
Private key wrapper for EIP-2333, mirrors Bip32PrivateKey.
Eip2333PublicKey
Public key wrapper for EIP-2333, mirrors Bip32PublicKey.
Eip2334
EIP-2334 hierarchical deterministic wallet, mirrors Bip44.
Eip2334Base<EIP2334 extends Eip2334Base<EIP2334>>
Abstract base class for EIP-2334 hierarchical deterministic wallets, mirrors Bip44Base but drives Eip2333Bls (plain indexes only: EIP-2334 paths have no hardened keys).
Eip2334CoinConfig
Eip2334Conf
A configuration class for EIP-2334 coins.
Eip2334Const
Eip2334PrivateKey
Represents an EIP-2334 private key for a specific coin, mirrors Bip44PrivateKey. Holds the 32-byte BLS scalar.
Eip2334PublicKey
Represents an EIP-2334 public key for a specific coin, mirrors Bip44PublicKey. Verifies the key type matches the coin configuration.
EncodeAddressDefaultParams
IBip32ChildKeyDerivator
An abstract class that defines methods for BIP-32 key derivation.
IBip32MstKeyGenerator
An abstract class that defines a method for generating master keys from a seed.
IEip2333ChildKeyDerivator
Child derivator interface, mirrors IBip32ChildKeyDerivator.
IEip2333MstKeyGenerator
Master generator interface, mirrors IBip32MstKeyGenerator.
ISlip10Mldsa65ChildDerivator
Child derivator interface, mirrors IBip32ChildKeyDerivator.
ISlip10Mldsa65MstKeyGenerator
Master generator interface, mirrors IBip32MstKeyGenerator.
Nep649
NEP-649 hierarchical deterministic wallet, mirrors Bip44.
Nep649Base<NEP649 extends Nep649Base<NEP649>>
Abstract base class for NEP-649 hierarchical deterministic wallets, mirrors Bip44Base but drives Slip10Mldsa65 (all levels hardened).
Nep649CoinConfig
Nep649Conf
A configuration class for NEP-649 coins.
Nep649Const
Constants for NEP-649 paths, mirrors Bip44Const + Eip2334Const.
Nep649PrivateKey
Represents a NEP-649 private key for a specific coin, mirrors Bip44PrivateKey. Holds the 32-byte node secret (FIPS 204 seed).
Nep649PublicKey
Represents a NEP-649 public key for a specific coin, mirrors Bip44PublicKey. Verifies the key type matches the coin configuration.
Slip10Mldsa65
SLIP-10 hierarchical deterministic node for ML-DSA-65 (NEP-649).
Slip10Mldsa65ChildKey
Derived child node DTO, mirrors Bip32ChildKey.
Slip10Mldsa65Derivator
SLIP-10 ML-DSA-65 child key derivator, mirrors Bip32Slip10Ed25519Derivator (hardened-only, secret-only).
Slip10Mldsa65KeyConst
Key constants for SLIP-10 ML-DSA-65, mirrors Bls12KeyConst.
Slip10Mldsa65MasterKey
Derived master node DTO, mirrors Bip32MasterKey.
Slip10Mldsa65MstKeyGenerator
Master node generator for SLIP-10 ML-DSA-65, mirrors Bip32Slip10Ed25519MstKeyGenerator.
Slip10Mldsa65MstKeyGeneratorConst
Master generator constants, mirrors Bip32Slip10MstKeyGeneratorConst.
Slip10MldsaPrivateKey
SLIP-10 ML-DSA-65 private node: the 32-byte node secret.
Slip10MldsaPublicKey
SLIP-10 ML-DSA-65 public node (1952-byte key), mirrors Bip32PublicKey.

Enums

Bip44Changes
Enumeration of BIP-44 changes (external and internal).
Bip44Coins
Bip44Levels
Enumeration of BIP-44 levels in hierarchical deterministic wallets.
Bip49Coins
An enumeration of supported cryptocurrencies for BIP49. It includes both main networks and test networks of various cryptocurrencies.
Bip84Coins
An enumeration of supported cryptocurrencies for BIP84. It includes both main networks and test networks of various cryptocurrencies.
Bip86Coins
An enumeration of supported cryptocurrencies for BIP86. It includes both main networks and test networks of various cryptocurrencies.
ChainType
CoinProposal
DefaultHdKeyDerivator
Eip2334Coins
Eip2334Levels
Enumeration of EIP-2334 levels, mirrors Bip44Levels.
Nep649Coins

Typedefs

CbAddrEncoder<CONFIG extends BaseCoinConfig> = String Function(EncodeAddressDefaultParams params, CONFIG config)