UNPKG

@ledgerhq/coin-hedera

Version:
15 lines 600 B
const resolver = (signerContext) => { return async (deviceId, { path }) => { const publicKey = await signerContext(deviceId, signer => signer.getPublicKey(path)); return { path, // NOTE: we do not have the address, it must be entered by the user // NOTE: we send the publicKey through as the "address" // this is the only way to pass several hard-coded "is this the right device" checks address: publicKey, publicKey, }; }; }; export default resolver; //# sourceMappingURL=getAddress.js.map