Bip-utils

Latest version: v2.9.2

Safety actively analyzes 613479 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 8

2.6.1

- Fix CIP1852 Cardano Icarus/Ledger extended key prefix
- Fix `Bip32ChainCode.Length` and `Bip32FingerPrint.Length` methods that were conflicting with the base class method
- Reformat files with `isort`

2.6.0

- Add support for Cardano:
- Cardano Byron legacy (old Daedalus addresses, i.e. `Ddz...`)
- Cardano Byron-Icarus (Yoroi addresses in the `Ae2...` format)
- Cardano Shelley (Yoroi addresses in the `addr1...` format)
- Add support for Ergo (`Bip44Coins.ERGO`, `Bip44Coins.ERGO_TESTNET`)
- Add `ChainCode` method to Bip32 and Bip44 key classes to quickly get it
- Add `PublicKey` method to `Bip44PrivateKey`
- `Bip32Base` class:
- Add `Curve` method
- Remove `IsPrivateUnhardenedDerivationSupported` method (same meaning of `IsPublicDerivationSupported`)
- `Bip32KeyIndex` class:
- `Bip32Utils` methods move to `Bip32KeyIndex`
- Add `Harden`/`Unharden` methods to `Bip32KeyIndex`
- `DataBytes` class:
- Add possibility to get length (`Length`, `Size`, `__len__`)
- Add possibility to check for equality (`__eq__`)
- Add possibility to iterate over bytes (`__iter__`)
- Add `Curve` method to `Bip32PublicKey`/`Bip32PrivateKey` classes
- Add possibility to create a `Bip32PublicKey` class from an `IPoint` instance
- Add `CurveType` method to `IPoint` classes
- BIP32 classes were renamed in a consistent way:
- `Bip32Ed25519Slip` -> `Bip32Slip10Ed25519`
- `Bip32Ed25519Blake2bSlip` -> `Bip32Slip10Ed25519Blake2b`
- `Bip32Nist256p1` -> `Bip32Slip10Nist256p1`
- `Bip32Secp256k1` -> `Bip32Slip10Secp256k1`
- `Bip32Ed25519Kholaw` -> `Bip32KholawEd25519`

Old classes kept for compatibility
- Update key net version to get `xprv` prefix for BIP32 Kholaw private extended keys

2.5.1

- Fix public derivation for `ElectrumV1` and `ElectrumV2` classes
- Check for master key object when constructing a `ElectrumV2Base` class
- Add some utility methods to `ElectrumV1` class (`FromPrivateKey`, `FromPublicKey`)

2.5.0

- Add support for Electrum mnemonics and keys derivation (both v1 and v2)
- Module for BIP32 keys serialization/deserialization available for external use
- Add support for Axelar coin
- Add support for uncompressed public keys to `P2PKHAddrEncoder`
- Add support for [SLIP-0032](https://github.com/satoshilabs/slips/blob/master/slip-0032.md)
- `Bip32Path` can distinguish between absolute and relative paths
- `Bip32PathParser` discards empty elements
- Some rework on the *bech32* and *bip32_key_ser* modules

2.4.0

- Add local implementation of Substrate SCALE encoding (remove dependency from [scalecodec](https://pypi.org/project/scalecodec/))
- Add support to [BIP32-Ed25519 (Khovratovich/Law)](https://github.com/LedgerHQ/orakolo/blob/master/papers/Ed25519_BIP%20Final.pdf) derivation scheme
- `Bip32Base.FromPrivateKey` and `Bip32Base.FromPublicKey` can now recover the full derivation data (if specified)
- `Bip44Base.FromPrivateKey` can now recover the full derivation data (if specified)
- Add `Bip44Base.FromPublicKey` method
- Always use Cryptodome for *RIPEMD160*

2.3.0

- Add support for Bitcoin Taproot addresses (P2TR)
- Add support for [BIP-0086](https://github.com/bitcoin/bips/blob/master/bip-0086.mediawiki)
- Add support for [bech32m](https://github.com/bitcoin/bips/blob/master/bip-0350.mediawiki)
- Add support for Algorand 25-word mnemonic
- Add support for Solana SPL token
- P2WPKH decoding/encoding methods don't need anymore the witness version as parameter, since it's fixed to zero internally (it can still be passed without errors though, it's just ignored)
- Use Cryptodome if *ripemd160* and *sha512_256* algorithms are not available in *hashlib*
- Add documentation using sphinx
- Some refactoring for mnemonic module
- **Breaking changes**:
- Mnemonic-specific checksum exceptions (i.e. `Bip39ChecksumError` and `MoneroChecksumError`) were replaced by the common `MnemonicChecksumError`

Page 2 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.