module Bitcoin
Overview
implements the bitcoin address space
Defined in:
address.crClass Method Summary
-
.address_from_private(priv : String, version = "00")
generates a bitcoin address from a private key
-
.address_from_public_key(pub : String, version = "00")
generates a bitcoin address for any public key; compressed and uncompressed version 0x00 = btc mainnet; pass different versions for different networks
-
.address_from_public_point(p : Secp256k1::EC_Point, version = "00")
generates a bitcoin address from an public key ec point
Class Method Detail
def self.address_from_private(priv : String, version = "00")
#
generates a bitcoin address from a private key
def self.address_from_public_key(pub : String, version = "00")
#
generates a bitcoin address for any public key; compressed and uncompressed version 0x00 = btc mainnet; pass different versions for different networks
generates a bitcoin address from an public key ec point