-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors while signing transactions #74
Comments
You need to pass in a string (the sign message). |
@faboweb That helped, thank you! I was able to get the ledger to sign the message. I'm now having trouble broadcasting it, though. The This is the updated payload that I'm passing to
|
Hi,
I'm developing a block explorer with the ability to delegate tokens for the secret network. We forked our code from hubble but the code they were using to connect with a Ledger wallet was not functional. I decided to use this library along with some code taken from the big dipper to connect with the ledger. I also tried using your cosmos-api/cosmos-js library but I had a lot of problems figuring out how to use those libraries with this one. The main error I've been getting comes from the
ledger.sign(msg)
method. I've tried passing a few different things to this method that seem to work in other codebases, but I can't figure out what the issue is here. From looking at the library briefly, it seems like it's saying thatledger.hdPath
isn't a buffer, array, etc. but I know it is from the testing I've done. This is the message I'm currently passing toledger.sign()
:The text was updated successfully, but these errors were encountered: