diff --git a/README.md b/README.md index df71d0f..cd6c6bf 100644 --- a/README.md +++ b/README.md @@ -15,8 +15,8 @@ # Coinlib Coinlib is a straight-forward and modular library for Peercoin and other similar -cryptocoins. This library allows for the construction and signing of -transactions and management of BIP32 wallets. +cryptocoins including Taproot support. This library allows for the construction +and signing of transactions and management of BIP32 wallets. This repository contains the dart-only library in the `coinlib` directory and a flutter wrapper in the `coinlib_flutter` directory which includes support for diff --git a/coinlib/CHANGELOG.md b/coinlib/CHANGELOG.md index b3ab909..3a1d53e 100644 --- a/coinlib/CHANGELOG.md +++ b/coinlib/CHANGELOG.md @@ -1,3 +1,14 @@ +## 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 `Taproot` class. +- `P2TRAddress` support for Taproot addresses. +- `P2TR` provides Taproot program support for outputs. +- `TaprootKeyInput` and `TaprootScriptInput` provide Taproot input support. +- `NUMSPublicKey` allows key-path spending to be omitted. +- Signing logic has been moved to the inputs. +- `InputSignature` renamed to `ECDSAInputSignature` and some other name changes. + ## 1.0.0 Final release for 1.0.0 diff --git a/coinlib/README.md b/coinlib/README.md index db8fef8..9712fdc 100644 --- a/coinlib/README.md +++ b/coinlib/README.md @@ -18,8 +18,8 @@ # Coinlib Coinlib is a straight-forward and modular library for Peercoin and other similar -cryptocoins. This library allows for the construction and signing of -transactions and management of BIP32 wallets. +cryptocoins including Taproot support. This library allows for the construction +and signing of transactions and management of BIP32 wallets. ## Installation and Usage @@ -101,4 +101,3 @@ Bindings for the native libraries (excluding WebAssembly) are generated from the The WebAssembly module has been pre-built to `lib/src/generated/secp256k1.wasm.g.dart`. It may be rebuilt using `dart run bin/build_wasm.dart` in the `coinlib` root directory. - diff --git a/coinlib/pubspec.yaml b/coinlib/pubspec.yaml index 5acaddc..d4b2922 100644 --- a/coinlib/pubspec.yaml +++ b/coinlib/pubspec.yaml @@ -2,7 +2,7 @@ name: coinlib description: A straight-forward, modular library for Peercoin and other Satoshi-based UTXO blockchains -version: 1.0.0-dev +version: 2.0.0-rc.1 repository: https://github.com/peercoin/coinlib environment: diff --git a/coinlib_flutter/CHANGELOG.md b/coinlib_flutter/CHANGELOG.md index bfa982e..d4e4405 100644 --- a/coinlib_flutter/CHANGELOG.md +++ b/coinlib_flutter/CHANGELOG.md @@ -1,3 +1,8 @@ +## 2.0.0-rc.1 + +Adds Taproot support and minor breaking changes. See changes for the underlying +coinlib library 2.0.0-rc.1. + ## 1.0.0 Final release for 1.0.0 diff --git a/coinlib_flutter/example/pubspec.yaml b/coinlib_flutter/example/pubspec.yaml index c06782d..d8a6164 100644 --- a/coinlib_flutter/example/pubspec.yaml +++ b/coinlib_flutter/example/pubspec.yaml @@ -10,7 +10,7 @@ environment: dependencies: flutter: sdk: flutter - coinlib_flutter: ^1.0.0 + coinlib_flutter: ^2.0.0-rc.1 cupertino_icons: ^1.0.2 dev_dependencies: diff --git a/coinlib_flutter/pubspec.yaml b/coinlib_flutter/pubspec.yaml index bb41afb..4d7d0bc 100644 --- a/coinlib_flutter/pubspec.yaml +++ b/coinlib_flutter/pubspec.yaml @@ -2,7 +2,7 @@ name: coinlib_flutter description: A flutter wrapper for coinlib, a straight-forward, modular library for Peercoin and other Satoshi-based UTXO blockchains -version: 1.0.0 +version: 2.0.0-rc.1 repository: https://github.com/peercoin/coinlib environment: @@ -10,7 +10,7 @@ environment: flutter: ">=2.17.0" dependencies: - coinlib: ^1.0.0 + coinlib: ^2.0.0-rc.1 flutter: sdk: flutter plugin_platform_interface: ^2.0.2