wallet/README

MuSig Wallet module

Wallet module of the Bisq-musig protocol. This crate has the primitives for interacting with a wallet.

It currently provides the following features:

Imported-key identity

An imported key is identified by its internal Taproot key P, independently of its output template. Therefore tr(P) and tr(P, tap_tree) represent the same imported key: once either form is imported, another import with the same P is a duplicate and must not create a second wallet entry.

Running tests

cargo test -p wallet

The tests spin up bitcoind + electrs via the testenv crate.

Running integration tests

In order to run the integration tests:

cargo test -p wallet --test wallet_integration_test

If you want to display the tests stdout, add the option --show-output as follows:

cargo test -p wallet --test wallet_integration_test -- --show-output