Skip to content

Instantly share code, notes, and snippets.

View coblee's full-sized avatar

Charlie Lee coblee

View GitHub Profile
@coblee
coblee / gist:9c890963164379116f5f3d42f03d0275
Last active September 13, 2016 04:59
Bitcoin -> Litecoin address conversions using https://github.com/vbuterin/pybitcointools
from bitcoin import *
# private key conversion
privkey = "L2Gkw3kKJ6N24QcDuH4XDqt9cTqsKTVNDGz1CRZhk9cq4auDUbJy"
encode_privkey(privkey, get_privkey_format(privkey), 48)
# testnet
encode_privkey(privkey, get_privkey_format(privkey), 111)
# public key conversion

Keybase proof

I hereby claim:

  • I am coblee on github.
  • I am coblee (https://keybase.io/coblee) on keybase.
  • I have a public key whose fingerprint is 1A25 11E9 7823 9E49 1A09 6D0A 828A C1F9 4EF2 6053

To claim this, I am signing this object: