Ledger.Net icon indicating copy to clipboard operation
Ledger.Net copied to clipboard

Compose and Sign Bitcoin transaction

Open ep0x opened this issue 6 years ago • 4 comments

Is there any correct example how to compose valid transaction and sign in Ledger? It would be really awesome to have tests or examples for this.

ep0x avatar Sep 15 '19 19:09 ep0x

Actually, I don't think there is. Would you like to try? @ep0x ?

MelbourneDeveloper avatar Sep 26 '19 23:09 MelbourneDeveloper

I will try.

ep0x avatar Sep 30 '19 22:09 ep0x

@ep0x the Ledger dot net API has an example of how to do it. It's a separate but similar library.

MelbourneDeveloper avatar Sep 30 '19 22:09 MelbourneDeveloper

I think i did try already, but from examples they provide is not ok for:

  1. Get the real BTC address path, something like XpubKey/ Master key ( i am talking about BTC only app)
  2. Composing transaction is not correct.
  3. transaction is not possible to sign, or signature is incorrect.

Anyway i will try and i will post my results here, and help would be really nice if i stuck in some parts :)

ep0x avatar Sep 30 '19 22:09 ep0x