-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bolt12 with support for multiple payments per mint quote #404
base: main
Are you sure you want to change the base?
Conversation
a18bf73
to
962e614
Compare
8717405
to
3f494bc
Compare
e24f081
to
b8198aa
Compare
feat: mint builder
fe810db
to
6410d2b
Compare
91fb99b
to
b056e86
Compare
e90dc6d
to
fa2fb58
Compare
crates/cdk-cli/src/main.rs
Outdated
@@ -77,7 +79,7 @@ enum Commands { | |||
#[tokio::main] | |||
async fn main() -> Result<()> { | |||
let args: Cli = Cli::parse(); | |||
let default_filter = args.log_level; | |||
let default_filter = "warn"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
set back to arg
use cdk::wallet::multi_mint_wallet::{MultiMintWallet, WalletKey}; | ||
use cdk::Bolt11Invoice; | ||
// use cdk::Bolt11Invoice; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// use cdk::Bolt11Invoice; |
crates/cdk/src/nuts/nut04.rs
Outdated
/// Amount that has been paid | ||
pub amount_paid: Amount, | ||
/// Amount that has been issued | ||
pub amount_issued: Amount, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move these to bolt12 specific
This PR included bolt12 support for both the mint and the wallet. It also includes a large refactor of mintd, these really should have been separated but too late now (sorry).
* With use of LNDK as lnd does not directly support bolt12
** PHD doesnt allow creation of one time use bolt12, so receive cannot be supported
*** Strike api doesn't seem to support bolt12, coming soon?
Related Issues should be closed by this PR