Skip to content

Wallet updates#8

Merged
Jeezman merged 5 commits into
mainfrom
wallet-updates
May 21, 2026
Merged

Wallet updates#8
Jeezman merged 5 commits into
mainfrom
wallet-updates

Conversation

@Jeezman

@Jeezman Jeezman commented May 16, 2026

Copy link
Copy Markdown
Owner

No description provided.

Jeezman added 5 commits May 14, 2026 11:43
Add a coin-control path so the user can spend specific coins:

- send_ark_selected command — wraps the SDK's send_vtxo_selection to  spend exactly the named outpoints, skipping automatic selection. Ark-only; the SDK has no onchain-offboard selection variant.
- Coins screen "Select" mode — pick VTXOs, then a drawer to send them to an Ark address
- Add an exponential-backoff retry layer for transient esplora transport errors and a socket timeout so a stalled connection can't hang a syn cycle.
- Gate sync-failure UI toasts behind a sustained failure streak so a lone device-sleep failure stays silent while real outages still get reported.
- Make the Esplora explorer presets network-aware.
Addresses the four breaking changes that surface against avark's call sites:

- `OfflineClient::new` now takes 10 args instead of 8 (added`delegator_pk` + `historical_delegator_pks` for 3rd-party delegator support). Pass `None` + `vec![]` to preserve no-delegator behavior.
- `ExplorerUtxo` gained a required `confirmations: u64` field for block-based unilateral exit delay support. Set to `0` until/unless we need to surface confirmation counts (the only ExplorerUtxo construction in `find_outpoints` doesn't have confirmation data ready; the spent-side literal inherits via struct-update).
- `Client::send_vtxo(addr, amount)` → `Client::send(vec![SendReceiver::bitcoin(addr, amount)])`. Same for `send_vtxo_selection` → `send_selection`. New shape accommodates multi-receiver + asset transfers.
- `wait_for_invoice_paid` now resolves with the preimage (`[u8; 32]`) instead of `()`. Discard — Boltz has already claimed against it by the time we observe settlement.
@Jeezman Jeezman merged commit 1e4ac31 into main May 21, 2026
2 checks passed
@Jeezman Jeezman deleted the wallet-updates branch May 21, 2026 02:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant