@ledgerhq/coin-aptos
Version:
Ledger Aptos Coin integration
12 lines • 388 B
JavaScript
const resolver = (signerContext) => {
return async (deviceId, { path, verify }) => {
const r = await signerContext(deviceId, signer => signer.getAddress(path, verify || false));
return {
address: r.address,
publicKey: r.publicKey.toString("hex"),
path,
};
};
};
export default resolver;
//# sourceMappingURL=index.js.map