Documentation
¶
Index ¶
- func Base58Decode(input []byte) []byte
- func Base58Encode(input []byte) []byte
- func Checksum(payload []byte) []byte
- func DecodePriveteKey(pemEncoded []byte) *ecdsa.PrivateKey
- func EncodePriveteKey(privateKey *ecdsa.PrivateKey) []byte
- func NewKeyPair() (ecdsa.PrivateKey, []byte)
- func PublicKeyHash(pubKey []byte) []byte
- func ValidateAddress(address string) bool
- type Wallet
- type Wallets
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Base58Decode ¶
func Base58Encode ¶
func DecodePriveteKey ¶
func DecodePriveteKey(pemEncoded []byte) *ecdsa.PrivateKey
func EncodePriveteKey ¶
func EncodePriveteKey(privateKey *ecdsa.PrivateKey) []byte
func NewKeyPair ¶
func NewKeyPair() (ecdsa.PrivateKey, []byte)
func PublicKeyHash ¶
func ValidateAddress ¶
Types ¶
type Wallet ¶
func MakeWallet ¶
func MakeWallet() *Wallet
Click to show internal directories.
Click to hide internal directories.