coinlib 3.1.0
coinlib: ^3.1.0 copied to clipboard
A straight-forward, modular library for Peercoin and other Satoshi-based UTXO blockchains
3.1.0 #
- Add
.rand.sgetters toSchnorrSignaturewith a new.fromRSconstructor. The underlying bytes for a BIP340 signature can be obtained via.r.xand.s.data. - Add
.xhexconvenience getter forECPublicKey.
3.0.1 #
Fix SchnorrInputSignature not using SIGHASH_DEFAULT.
3.0.0 #
This release adds support for ANYPREVOUT and ANYPREVOUTANYSCRIPT. There have been numerous breaking changes.
- Refactored
SigHashTypeto useOutputSigHashOptionandInputSigHashOption. Adds ANYPREVOUT and ANYPREVOUTANYSCRIPT. - Add
TapLeafChecksigfor single signature checksig tapscripts - Add
TaprootSingleScriptSigInputto sign tapscripts usingTapLeafChecksig. Can sign using ANYPREVOUT and ANYPREVOUTANYSCRIPT. - Replaced
sign()withsignLegacy(),signLegacyWitness(),signTaproot()andsignTaprootSingleScriptSig(). - Added
SignDetailswith numerous subclasses for providing signing details for inputs.SignatureHashersubclasses andInputsign methods refactored accordingly. - Taproot signatures are made using SIGHASH_DEFAULT by default.
2.2.0 #
Add ECCompressedPublicKey class that forces compressed public keys.
2.1.0 #
Final release for 2.1.0
2.1.0-rc.1 #
- Add
diffieHellmanmethod toECPrivateKeyto allow generation of ECDH shared keys between two EC keys. - Update secp256k1 to 0.5.0
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.