Skip to content

Instantly share code, notes, and snippets.

View prestwich's full-sized avatar
🈚

James Prestwich prestwich

🈚
View GitHub Profile
from riemann import simple
outpoint = simple.outpoint(tx_id, index)
# Spend a P2PKH output:
tx_ins = [simple.unsigned_input(outpoint)]
# Spend a P2SH output
tx_ins += [simple.unsigned_input(
outpoint=outpoint,

Keybase proof

I hereby claim:

  • I am prestwich on github.
  • I am frdwrd (https://keybase.io/frdwrd) on keybase.
  • I have a public key whose fingerprint is 46D3 0F12 AEF7 DB4F 306F 65DF 519E 010A 7902 8CCC

To claim this, I am signing this object: