Comments (3)
Hi @jaybkim1 ,
https://github.com/LedgerHQ/ledgerjs/blob/master/packages/example-node/src/index.js#L1-L12
^as you can see at the moment this 'example-node' app is not doing much, it's just trying to connect to the device and perform a getPublicWalletKey with hw-app-btc . This only works if you have a ledger plugged and with the "Bitcoin" app opened
AFAIK this error "Invalid channel" means you were not into the Bitcoin app when you run the example.
from ledgerjs.
Like you said, I wanted to test if it really connects to the device and extracts a public wallet key from my ledger. I had my ledger plugged and with the "Bitcoin" app opened (Browser Support 'no'). I don't know why if triggers UnhandledPromiseReject Error.
from ledgerjs.
Solved it!
Path was the issue.
const o = await appBtc.getWalletPublicKey("BITCOIN PATH");
I will close it.
from ledgerjs.
Related Issues (20)
- Typos in @ledgerhq/hw-app-algorand HOT 1
- Add Jarvis Stable tokens HOT 1
- Example of resolveTransaction on hw-app-eth/README.md incorrect HOT 1
- TransportError: Txn version not supported - Polkadot - Nano S Ledger
- Large bundle size due to @ledgerhq/cryptoassets dependency
- getWalletPublicKey with {verify:true} throws UNKNOWN_ERROR for non-standard paths
- CACHE GOLD token appears as delisted
- Error on signTransaction from @ledgerhq/hw-app-eth for Binance Smart Chain HOT 4
- signP2SHTransaction large fee vulnerability
- signP2SHTransaction TransportStatusError: Ledger device: Internal error, please report (0x6f00) HOT 1
- Mumbai Polygon not working
- Error when installing dependencies HOT 1
- BTT (NEW) Not Supported - Balance always shows 0
- Connection to the Ledger Nano S works locally but not on deployed version HOT 2
- Bump rxjs to v7
- [error][macOS][M1][Electron][hid]
- Question about using @ledgerhq/hw-transport-mocker
- suicide pin absent HOT 2
- TransportNodeHID throwing error
- Steal my ape HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ledgerjs.