Skip to content

Commit

Permalink
release: 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
thesimplekid committed Jul 11, 2024
1 parent 920e5d1 commit 27568c2
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 12 deletions.
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]).
Expand Down Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
2 changes: 1 addition & 1 deletion bindings/cdk-js/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cdk-js"
version = "0.1.0"
version = "0.2.0"
edition = "2021"
license.workspace = true
homepage.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/cdk-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion crates/cdk-redb/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion crates/cdk-rexie/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion crates/cdk-sqlite/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion crates/cdk/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit 27568c2

Please sign in to comment.