pybitmessage.helper_bitcoin module

Calculates bitcoin and testnet address from pubkey

calculateBitcoinAddressFromPubkey(pubkey)[source]

Calculate bitcoin address from given pubkey (65 bytes long hex string)

calculateTestnetAddressFromPubkey(pubkey)[source]

This function expects that pubkey begin with the testnet prefix