Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func B58AddressFromPrivateKey ¶
func B58AddressFromPrivateKey(privateKeyHex string, ellipticCurve *btcec.KoblitzCurve) (string, error)
B58AddressFromPrivateKey returns a base58-encoded string representing the address derived from the provided private key.
Types ¶
type Address ¶
func New ¶
func New(publicKeyBytes []byte, ellipticCurve *btcec.KoblitzCurve) (*Address, error)
Returns a new address based on the provided public key and elliptic curve.
Click to show internal directories.
Click to hide internal directories.