Skip to Content
Open SourceHydraFeatures@exodus/public-key-provider

@exodus/public-key-provider

Handles unified access to public keys from software and different hardware wallets.

Install

npm i @exodus/public-key-provider

Usage

This feature is designed to be used together with @exodus/headless. See using the sdk.

API Side

See using the sdk for more details on how features plug into the SDK and the API interface in the type declaration.

const keyIdentifier = {
  derivationAlgorithm: 'BIP32',
  derivationPath: "m/44'/0'/0'/0/0",
  keyType: 'secp256k1',
};
 
const publicKey = await exodus.publicKeyProvider.getPublicKey({
  walletAccount: 'exodus_0',
  keyIdentifier,
});
 
const xpub = await exodus.publicKeyProvider.getExtendedPublicKey({
  walletAccount: 'exodus_0',
  keyIdentifier,
});

Start building

XO

Request Demo

Schedule a call with our team

Select a product
Arrow right

Start building
Grateful

Contact Us

We're here to help