stacks-network / pybitcoin

A Bitcoin python library for private + public keys, addresses, transactions, & RPC
MIT License
277 stars 117 forks source link

Would u support yacoin/scrypt-jane keypair generator in the next version? #7

Closed ghost closed 10 years ago

shea256 commented 10 years ago

Hey definitely! It's actually quite easy to add support for a new coin. As an example, here's the code for supporting vertcoin:

class VertcoinKeypair(BitcoinKeypair):
    _pubkeyhash_version_byte = 71

Yes, that's it! All you need is the version number. Do you happen to know the version number for yacoin?