Post
Topic
Board Development & Technical Discussion
Merits 1 from 1 user
Re: simple python bitcoin public key to address
by
fbueller
on 27/05/2016, 17:54:12 UTC
⭐ Merited by ETFbitcoin (1)
Why not go for python-bitcoinlib, or pybitcointools? They include functions to do this.

The procedure you need is:
 - Serialize the public key, paying attention to whether the private key requires compression for public keys.
 - Hash the serialized public key with RIPEMD160(SHA256(X))
 - Base58_check encode the hash, using \x00 as the version byte.