Return an interaction class for exporting an extended public key from the given keystore for the given bip32Path and network.
keystore
bip32Path
network
Supported keystores: Trezor, Hermit, Ledger
import {MAINNET} from "@caravan/bitcoin";import {ExportExtendedPublicKey, TREZOR, HERMIT} from "@caravan/wallets";// Works similarly for Ledgerconst interaction = ExportExtendedPublicKey({keystore: TREZOR, network: MAINNET, bip32Path: "m/45'/0'/0'/0/0"});const xpub = await interaction.run(); Copy
import {MAINNET} from "@caravan/bitcoin";import {ExportExtendedPublicKey, TREZOR, HERMIT} from "@caravan/wallets";// Works similarly for Ledgerconst interaction = ExportExtendedPublicKey({keystore: TREZOR, network: MAINNET, bip32Path: "m/45'/0'/0'/0/0"});const xpub = await interaction.run();
Return an interaction class for exporting an extended public key from the given
keystorefor the givenbip32Pathandnetwork.Supported keystores: Trezor, Hermit, Ledger