forked from LedgerHQ/ledger-wallet-chrome
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added BTCP and ZCL support for Ledger Nano S. *Not complete. Place ho…
…lder params, no testing, do not use.* Added BTCP and ZCL support for Ledger Nano S. *Not ready, functional or tested. * ZCL Needs: -Correct pubkeyhash and scrypt hash: Replace pubKeyHash: 0x1CB8 scriptHash: 0x1CBD BTCP Needs: -Slip registration https://github.com/satoshilabs/slips/blob/master/slip-0044.md -Correct pubkeyhash and scrypt hash and active blockchain explorer Replace pubKeyHash: 0 scriptHash: 5 Using current / invalid params from BitcoinPrivate/contrib/testgen/gen_base58_test_vectors.py https://github.com/BTCPrivate/BitcoinPrivate
- Loading branch information
1 parent
7499600
commit 877fad9
Showing
2 changed files
with
128 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
877fad9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you need to for the Zclassic to be completed?
877fad9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think just the correct params for these two:
Current values are placeholders. Same as Zcash.
Then need Zclassic team to test, verify and submit to LedgerHQ.
BTCP probably needs to be commented out until the chain is live.
877fad9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am part of the team so I will take this to them and get you what you need if you haven't already been in contact! Thanks for your work on this!
877fad9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks like the zclassic ones are unchanged, reference here: https://github.com/BTCP-community/zclassicjs/blob/master/lib/config.js
pubKeyHash: '1cb8', scriptHash: '1cbd',
877fad9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@interbiznw thanks. Looks like just the bip32 was off. I put in the correct bip32 hash from that link and commented out BTCP code for now.
Give it a try and let me know. Latest commit here:
beb7f2d
877fad9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hi Kirk
do you need a tester from ZCL/BTCP community to test the latest commit and support of ZCL on their nano s ?
877fad9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wznoinski This is just for the chrome app. It by itself does not add integration on the ledger nano s.
877fad9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wznoinski By the way, I have updated and created a pull request with ledger here LedgerHQ#82
877fad9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@interbiznw my understanding was
Correct me if I'm wrong.
877fad9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wznoinski
Once the nano s bitcoin app is updated, yes you will use the ledger bitcoin chrome app with Zcl support, and open it such as its bitcoin/bch/ or any of the other bitcoin variants that use the same app.
But as you can notice, on the hardware side there is still a specific app for each, bitcoin, bch, vertcoin, and all the other variants(and will need to be a separate one for ZCL and eventually BTCP also) even though they can share the same Chrome app.
So to sum it up, the Bitcoin app for the Hardware side of the Ledger Nano S, needs the integration also to work hand in hand with the ledger bitcoin chrome wallet.
I also have a pull request for the nano-s app here: LedgerHQ/app-bitcoin#20
877fad9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wznoinski Now this one, LedgerHQ/app-bitcoin#20 You can setup the build environment and flash your nano s with this version to test if you would like
877fad9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@interbiznw thanks for clarifying
877fad9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@interbiznw when we will be able to see this working fully on Ledger nano S? thanks man for the help.