So I have already the public key. My question is if I'm applying correctly the b58 encoding, since bitcoin uses b58check, and also adds x00 prefix. Can somebody explain me that? Thanks.
import hashlib
import base58
# ECDSA Public Key
base64_str = 'MFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE7P0EE5amecnYKMlq96RUL3Q+mZJCQrta6iHyjQWtsbbgcBMayhR/CTzDi5j4Fb/wD9EclHt3dpYRyJcl9Rtmug=='
hex_str = base64_str.decode('base64').encode('hex')
sha = hashlib.sha256()
rip = hashlib.new('ripemd160')
sha.update(base64_str.decode('base64'))
rip.update(sha.hexdigest())
# Get address
print base58.b58encode(rip.hexdigest())