new secret derivation

Wallet holds `seed` instead of `xpriv`

fix doctest  errors

update examples

adjustments

fix doctests

fix all doctests

Update crates/cdk/src/wallet/multi_mint_wallet.rs

Co-authored-by: thesimplekid <tsk@thesimplekid.com>

fix

remove clone call
This commit is contained in:
lollerfirst
2025-07-31 14:30:51 +02:00
parent 3c4fce5c45
commit 92eea181fd
26 changed files with 410 additions and 140 deletions

View File

@@ -200,7 +200,7 @@ async fn main() -> Result<()> {
.mint_url(mint_url_clone.clone())
.unit(unit)
.localstore(localstore.clone())
.seed(&seed);
.seed(seed);
if let Some(http_client) = &proxy_client {
builder = builder.client(http_client.clone());
@@ -224,7 +224,7 @@ async fn main() -> Result<()> {
}
}
let multi_mint_wallet = MultiMintWallet::new(localstore, Arc::new(seed), wallets);
let multi_mint_wallet = MultiMintWallet::new(localstore, seed, wallets);
match &args.command {
Commands::DecodeToken(sub_command_args) => {