8 lines
341 B
TypeScript
8 lines
341 B
TypeScript
import { getWalletLib } from 'shared/enclave/server/wallets';
|
|
import { DisplayAddressParams, DisplayAddressResponse } from 'shared/enclave/types';
|
|
|
|
export function displayAddress(params: DisplayAddressParams): Promise<DisplayAddressResponse> {
|
|
const wallet = getWalletLib(params.walletType);
|
|
return wallet.displayAddress(params.path);
|
|
}
|