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

Add sapling support to btchip-python #44

@ghost

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions