Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Add sapling support to btchip-python #44

Open
ghost opened this issue Apr 28, 2019 · 0 comments
Open

Add sapling support to btchip-python #44

ghost opened this issue Apr 28, 2019 · 0 comments

Comments

@ghost
Copy link

ghost commented Apr 28, 2019

At the very least, I think p2 here needs to be 0x05 for sapling transactions (And in the subsequent uses);

apdu = [ self.BTCHIP_CLA, self.BTCHIP_INS_HASH_INPUT_START, 0x00, p2 ]

But I'd rather check with someone more familiar with this code on the best approach before PR.

I tried it out and it seems to crash the device and disconnect the USB, but that could be to do with the subsequent calls. I'm working on setting up debugging

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants