Hi, I have an error in this line:
const result = await btc.getWalletPublicKey("44'/0'/0'/0/0");
return result.bitcoinAddress;
Error
at new TransportStatusError (C:\Users\Sazegar\Desktop\Arz4u\node_modules\@ledgerhq\errors\dist\index.cjs.js:289:18)
at TransportNodeHid.Transport.send (C:\Users\Sazegar\Desktop\Arz4u\node_modules\@ledgerhq\hw-transport\lib\Transport.js:59:15)
at async getWalletPublicKey (C:\Users\Sazegar\Desktop\Arz4u\node_modules\@ledgerhq\hw-app-btc\lib\getWalletPublicKey.js:40:20)
at async Btc.getWalletPublicKey (C:\Users\Sazegar\Desktop\Arz4u\node_modules\@ledgerhq\hw-transport\lib\Transport.js:240:16)
at async getBtcAddress (C:\Users\Sazegar\Desktop\Arz4u\test.js:36:19) {
message: 'Ledger device: Security not satisfied (dongle locked or have invalid access rights) (0x6982)',
statusCode: 27010,
statusText: 'SECURITY_STATUS_NOT_SATISFIED'
}
Thankful. I must choose Bitcoin on my device.
I want to generate bitcoin and other currencies addresses, without changing the device. Is there no way?
and Control the device by writing my own code
Hi, I have an error in this line: const result = await btc.getWalletPublicKey("44'/0'/0'/0/0"); return result.bitcoinAddress;
Error at new TransportStatusError (C:\Users\Sazegar\Desktop\Arz4u\node_modules\@ledgerhq\errors\dist\index.cjs.js:289:18) at TransportNodeHid.Transport.send (C:\Users\Sazegar\Desktop\Arz4u\node_modules\@ledgerhq\hw-transport\lib\Transport.js:59:15) at async getWalletPublicKey (C:\Users\Sazegar\Desktop\Arz4u\node_modules\@ledgerhq\hw-app-btc\lib\getWalletPublicKey.js:40:20) at async Btc.getWalletPublicKey (C:\Users\Sazegar\Desktop\Arz4u\node_modules\@ledgerhq\hw-transport\lib\Transport.js:240:16) at async getBtcAddress (C:\Users\Sazegar\Desktop\Arz4u\test.js:36:19) { message: 'Ledger device: Security not satisfied (dongle locked or have invalid access rights) (0x6982)', statusCode: 27010, statusText: 'SECURITY_STATUS_NOT_SATISFIED' }