UNPKG

@ledgerhq/coin-canton

Version:
14 lines 449 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const getAddress = (signerContext) => { return async (deviceId, { path, verify }) => { const { address, publicKey } = await signerContext(deviceId, signer => signer.getAddress(path, verify)); return { path, address, publicKey, }; }; }; exports.default = getAddress; //# sourceMappingURL=getAddress.js.map