@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
12 lines • 378 B
JavaScript
const getAddress = (signerContext) => {
return async (deviceId, { path, verify }) => {
const { address, publicKey } = (await signerContext(deviceId, signer => signer.getAddress(path, verify, false)));
return {
path,
address,
publicKey,
};
};
};
export default getAddress;
//# sourceMappingURL=getAddress.js.map