digicoinlib 0.0.3
digicoinlib: ^0.0.3 copied to clipboard
A straight-forward, modular library for DigiByte Wallet and other UTXO cases.
0.0.3 — DigiByte network compatibility and regression coverage #
- Verified unchanged mainnet WIF 128, P2PKH 30, P2SH 63, BIP32 versions, and Bech32
dgbagainst DigiByte Core. - Corrected testnet Bech32 from
tdgbto DigiByte Core'sdgbt; this intentionally changes testnet address encoding. - Added
Network.signet(dgbt) andNetwork.regtest(dgbrt) using DigiByte Core's non-mainnet key/address versions. - Corrected
HDPrivateKey.fromSeed(seed, key: ...)so an explicitly supplied HMAC label is honored; defaultBitcoin seedderivation remains unchanged. - Added regression tests for network constants, address round trips and BIP32 default/custom derivation.
- Corrected inherited Peercoin address, WIF and message-signature test fixtures using independently verified checksum and RFC6979 calculations.
- Updated source documentation, development workflow and package metadata.
- No transaction serialization rules, mainnet prefixes, or cryptographic algorithms were changed.
- Full inherited test fixture modernization, cross-platform native builds and live Core integration are separate verification gates.
0.0.1 #
dart analyze passes for digicoinlib release 0.0.1
2.0.0 #
Final release for 2.0.0
2.0.0-rc.10 #
Fixes documentation links and improves usage of bytesEqual.
2.0.0-rc.9 #
- Update secp256k1 to 0.4.1
- Update dart dependencies and FFI bindings
2.0.0-rc.8 #
Add windows build support
2.0.0-rc.7 #
- Add
CoinUnitclass to convert between amount strings and satoshis. - Change
NetworkParamstoNetwork.
2.0.0-rc.6 #
P2WSHAddress.fromScriptis nowP2WSHAddress.fromRedeemScriptandP2WSHAddress.fromScriptis nowP2WSHAddress.fromWitnessScriptto remove ambiguity.P2WSH.fromRedeemScriptis nowP2WSH.fromWitnessScriptin accordance with usual naming for P2WSH.- Added
MultisigProgram.sortedto allow multisig programs with ordered public keys.
2.0.0-rc.5 #
Reduce output size of JavaScript by encoding WASM as base64
2.0.0-rc.4 #
Fixed issues with build scripts
2.0.0-rc.3 #
Move secp256k1 code to secp256k1 directory
2.0.0-rc.2 #
Adds CoinSelection class with coin selection algorithms.
2.0.0-rc.1 #
- Add Taproot support for key-path spends and script-path spends.
- Taproot keys and MAST trees are provided with the
Taprootclass. P2TRAddresssupport for Taproot addresses.P2TRprovides Taproot program support for outputs.TaprootKeyInputandTaprootScriptInputprovide Taproot input support.NUMSPublicKeyallows key-path spending to be omitted.- Signing logic has been moved to the inputs.
InputSignaturerenamed toECDSAInputSignatureand some other name changes.
1.0.0 #
Final release for 1.0.0
1.0.0-rc.3 #
- Make static variables immutable as final or const.
1.0.0-rc.2 #
- Add
forceLowRtoECDSASignature.signthat is true by default. This forces signatures to use a low r-value. - Transaction signatures now use low r-values.
1.0.0-rc.1 #
- Add witness transactions
LegacyTransactionis replaced with a singleTransactionclass.
1.0.0-alpha.3 #
- Return HDPrivateKey from HDPrivateKey derivation
- Add example code
- hexToBytes and bytesToHex are now exposed
1.0.0-alpha.2 #
- Allow building secp256k1 for macOS using github download
- Require Dart 3
1.0.0-alpha #
Alpha pre-release of initial library.