wavesplatform / wavesplatform/waves-ledger-js
ledger test
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 5
- Forks
- 7
- Avg merge
- 10h 38m
- Merged PRs (30d)
- 2
Description
I have difficulties running ledgerTest.
Attempt U2F:
After running npm run build and npm run build_ledger_monitor, I open index.html with Chrome v83.
I get the error Error: TransportError: U2F browser support is needed for Ledger. Please use Chrome, Opera or Firefox with a U2F extension. Also make sure you're on an HTTPS connection
Without any popup for U2F request.
Attempt WEBUSB:
Switching to hw-transport-webusb in https://github.com/wavesplatform/waves-ledger-js/blob/master/ledgerTest/index.js#L17 and running the npm commands after that.
I get: Can't init transport...TransportWebUSBGestureRequired...Failed to execute 'requestDevice' on 'USB': Must b…ling a user gesture to show a permission request.
Any help is greatly appreciated.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with ledgerTest/index.js and reproduce the documented npm build and build_ledger_monitor commands in Chrome. Compare the U2F and hw-transport-webusb initialization paths against the reported browser and user-gesture errors. Done means ledgerTest can initialize the Ledger transport without either error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100