Skip to content

feat(monero-wallet-ng): wallet2 adapter#960

Draft
binarybaron wants to merge 1 commit intomasterfrom
feat/wallet2-adapter-parallel-open
Draft

feat(monero-wallet-ng): wallet2 adapter#960
binarybaron wants to merge 1 commit intomasterfrom
feat/wallet2-adapter-parallel-open

Conversation

@binarybaron
Copy link
Copy Markdown

Adds a monero-wallet2-adapter crate that decrypts wallet2 .keys files in pure Rust (cn_slow_hash KDF + ChaCha20 + epee). The CLI context builder uses it on the FromWalletPath path to derive the app seed and primary address up front, which lets the Monero wallet open and Bitcoin wallet init run in parallel via tokio::try_join!. Other seed choices fall back to the existing sequential flow. Includes end-to-end fixtures generated from monero-wallet-rpc and an address-derivation unit test cross-checked against those fixtures.

Decrypts wallet2 `.keys` files in pure Rust (cn_slow_hash KDF + ChaCha20
+ epee). For `SeedChoice::FromWalletPath`, derive the seed and primary
address from the `.keys` file up front so monero-sys open and Bitcoin
wallet init can run concurrently via `tokio::try_join!`.
@binarybaron binarybaron changed the title Parallel Monero + Bitcoin wallet open via new wallet2 adapter feat(monero-wallet-ng): wallet2 adapter Apr 22, 2026
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