xyzpub library

Enums

Version
Enum for version bytes.

Extensions

VersionExtension on Version

Properties

VERSION_TPRV List<int>
Version bytes tprv: bitcoin testnet private key for P2PKH or P2SH
getter/setter pair
VERSION_TPUB List<int>
Version bytes tpub: bitcoin testnet public key for P2PKH or P2SH
getter/setter pair
VERSION_UPRV List<int>
Version bytes uprv: bitcoin testnet private key for P2WPKH in P2SH
getter/setter pair
VERSION_UPRV_MULTISIG List<int>
Version bytes Uprv: bitcoin testnet private key for multi-signature P2WSH in P2SH
getter/setter pair
VERSION_UPUB List<int>
Version bytes upub: bitcoin testnet public key for P2WPKH in P2SH
getter/setter pair
VERSION_UPUB_MULTISIG List<int>
Version bytes Upub: bitcoin testnet public key for multi-signature P2WSH in P2SH
getter/setter pair
VERSION_VPRV List<int>
Version bytes vprv: bitcoin testnet private key for P2WPKH
getter/setter pair
VERSION_VPRV_MULTISIG List<int>
Version bytes Vprv: bitcoin testnet private key for multi-signature P2WSH
getter/setter pair
VERSION_VPUB List<int>
Version bytes vpub: bitcoin testnet public key for P2WPKH
getter/setter pair
VERSION_VPUB_MULTISIG List<int>
Version bytes Vpub: bitcoin testnet public key for multi-signature P2WSH
getter/setter pair
VERSION_XPRV List<int>
Version bytes xprv: bitcoin mainnet private key P2PKH or P2SH
getter/setter pair
VERSION_XPUB List<int>
Version bytes xpub: bitcoin mainnet public key P2PKH or P2SH
getter/setter pair
VERSION_YPRV List<int>
Version bytes yprv: bitcoin mainnet private key P2WPKH in P2SH
getter/setter pair
VERSION_YPRV_MULTISIG List<int>
Version bytes Yprv: bitcoin mainnet private key for multi-signature P2WSH in P2SH
getter/setter pair
VERSION_YPUB List<int>
Version bytes ypub: bitcoin mainnet public key P2WPKH in P2SH
getter/setter pair
VERSION_YPUB_MULTISIG List<int>
Version bytes Ypub: bitcoin mainnet public key for multi-signature P2WSH in P2SH
getter/setter pair
VERSION_ZPRV List<int>
Version bytes zprv: bitcoin mainnet private key P2WPKH
getter/setter pair
VERSION_ZPRV_MULTISIG List<int>
Version bytes Zprv: bitcoin mainnet private key for multi-signature P2WSH
getter/setter pair
VERSION_ZPUB List<int>
Version bytes zpub: bitcoin mainnet public key P2WPKH
getter/setter pair
VERSION_ZPUB_MULTISIG List<int>
Version bytes Zpub: bitcoin mainnet public key for multi-signature P2WSH
getter/setter pair

Functions

configException(String e) ArgumentException
convertVersion(String str, Version target) String
Replaces the first 4 bytes of a base58 string with the target's version and returns the new string. Also checks if the input is a correct address.
replaceVersionBytes(List<int> bytes, Version target) Uint8List