forked from cashubtc/cdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement NWC (NIP-47) for CDK wallets.
- Loading branch information
1 parent
4fdc4f4
commit fc9de24
Showing
3 changed files
with
671 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
[package] | ||
name = "cdk-nostr" | ||
version = "0.4.0" | ||
edition = "2021" | ||
authors = ["CDK Developers"] | ||
license = "MIT" | ||
homepage = "https://github.com/cashubtc/cdk" | ||
repository = "https://github.com/cashubtc/cdk.git" | ||
rust-version = "1.63.0" | ||
description = "CDK implementation of relevant Nostr NIPs" | ||
|
||
[dependencies] | ||
cdk = { path = "../cdk", version = "0.4.0", default-features = false, features = [ | ||
"wallet", | ||
] } | ||
lightning-invoice = "0.32.0" | ||
nostr-relay-pool = { version = "0.35.0", default-features = false } | ||
nostr-sdk = { version = "0.35.0", default-features = false } | ||
thiserror = "1" | ||
tracing = { version = "0.1", default-features = false, features = [ | ||
"attributes", | ||
"log", | ||
] } | ||
tokio = { version = "1", default-features = false, features = ["sync"] } | ||
|
||
[features] | ||
default = ["nip47"] | ||
nip47 = ["nostr-sdk/nip47"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
//! CDK implementation of relevant Nostr NIPs. | ||
#![warn(missing_docs)] | ||
#![warn(rustdoc::bare_urls)] | ||
|
||
#[cfg(feature = "nip47")] | ||
pub mod nip47; |
Oops, something went wrong.