import { getWalletLib } from 'shared/enclave/server/wallets'; import { DisplayAddressParams, DisplayAddressResponse } from 'shared/enclave/types'; export function displayAddress(params: DisplayAddressParams): Promise { const wallet = getWalletLib(params.walletType); return wallet.displayAddress(params.path); }