release: 0.2.0

This commit is contained in:
thesimplekid
2024-07-11 13:35:40 +01:00
parent 920e5d1fd7
commit 27568c247b
8 changed files with 17 additions and 12 deletions

View File

@@ -21,9 +21,14 @@
-->
## [Unreleased]
## [v0.2.0]
### Summary
This release introduces TokenV4, which uses CBOR encoding as the default token format. It also includes fee support for both wallet and mint operations.
When sending, the sender can choose to include the necessary fee to ensure that the receiver can redeem the full sent amount. If this is not done, the receiver will be responsible for the fee.
Additionally, this release introduces a Mint binary cdk-mintd that uses the cdk-axum crate as a web server to create a full Cashu mint. When paired with a Lightning backend, currently implemented as Core Lightning, it is included in this release as cdk-cln.
### Changed
cdk(wallet): `wallet:receive` will not claim `proofs` from a mint other then the wallet's mint ([thesimplekid]).
@@ -52,7 +57,7 @@ cdk: NUT06 deseralize `MintInfo` ([thesimplekid]).
### Summary
### Changed
cdk(wallet): `wallet::total_pending_balance` does not include reserced proofs ([thesimplekid]).
cdk(wallet): `wallet::total_pending_balance` does not include reserved proofs ([thesimplekid]).
### Added

View File

@@ -25,10 +25,10 @@ async-trait = "0.1.74"
anyhow = "1"
bitcoin = { version = "0.30", default-features = false } # lightning-invoice uses v0.30
bip39 = "2.0"
cdk = { version = "0.1", path = "./crates/cdk", default-features = false }
cdk-rexie = { version = "0.1", path = "./crates/cdk-rexie", default-features = false }
cdk-sqlite = { version = "0.1", path = "./crates/cdk-sqlite", default-features = false }
cdk-redb = { version = "0.1", path = "./crates/cdk-redb", default-features = false }
cdk = { version = "0.2", path = "./crates/cdk", default-features = false }
cdk-rexie = { version = "0.2", path = "./crates/cdk-rexie", default-features = false }
cdk-sqlite = { version = "0.2", path = "./crates/cdk-sqlite", default-features = false }
cdk-redb = { version = "0.2", path = "./crates/cdk-redb", default-features = false }
cdk-cln = { version = "0.1", path = "./crates/cdk-cln", default-features = false }
cdk-axum = { version = "0.1", path = "./crates/cdk-axum", default-features = false }
tokio = { version = "1", default-features = false }

View File

@@ -1,6 +1,6 @@
[package]
name = "cdk-js"
version = "0.1.0"
version = "0.2.0"
edition = "2021"
license.workspace = true
homepage.workspace = true

View File

@@ -1,6 +1,6 @@
[package]
name = "cdk-cli"
version = "0.1.1"
version = "0.2.0"
edition = "2021"
authors = ["CDK Developers"]
description = "Cashu cli wallet built on CDK"

View File

@@ -1,6 +1,6 @@
[package]
name = "cdk-redb"
version = "0.1.0"
version = "0.2.0"
edition = "2021"
authors = ["CDK Developers"]
description = "Redb storage backend for CDK"

View File

@@ -1,6 +1,6 @@
[package]
name = "cdk-rexie"
version = "0.1.0"
version = "0.2.0"
edition = "2021"
authors = ["CDK Developers"]
description = "Indexdb storage backend for CDK in the browser"

View File

@@ -1,6 +1,6 @@
[package]
name = "cdk-sqlite"
version = "0.1.0"
version = "0.2.0"
edition = "2021"
authors = ["CDK Developers"]
description = "Sqlite storage backend for CDK"

View File

@@ -1,6 +1,6 @@
[package]
name = "cdk"
version = "0.1.1"
version = "0.2.0"
edition = "2021"
authors = ["CDK Developers"]
description = "Core Cashu Development Kit library implementing the Cashu protocol"