mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-11-25 18:26:28 -05:00
feat(tauri): Allow export of wallet descriptors (#118)
This commit is contained in:
parent
898c7a2450
commit
c91adb3ac8
6 changed files with 141 additions and 11 deletions
|
|
@ -21,6 +21,7 @@ import {
|
|||
TauriDatabaseStateEvent,
|
||||
TauriTimelockChangeEvent,
|
||||
GetSwapInfoArgs,
|
||||
ExportBitcoinWalletResponse,
|
||||
} from "models/tauriModel";
|
||||
import {
|
||||
contextStatusEventReceived,
|
||||
|
|
@ -214,3 +215,7 @@ export async function initializeContext() {
|
|||
testnet,
|
||||
});
|
||||
}
|
||||
|
||||
export async function getWalletDescriptor() {
|
||||
return await invokeNoArgs<ExportBitcoinWalletResponse>("get_wallet_descriptor");
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue