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