Documentation ¶
Index ¶
- func Base58Decode(input []byte) []byte
- func Base58Encode(input []byte) []byte
- func GenerateCheckSum(payload []byte) []byte
- func NewKeyPair() (ecdsa.PrivateKey, []byte)
- func PanicHandle(err error)
- func PublicKeyHash(publicKey []byte) []byte
- func ReturnHandle(err error) error
- func ValidateAddress(address string) bool
- type Wallet
- type Wallets
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Base58Decode ¶
Base58Decode to assist in getting the decoded value
func Base58Encode ¶
Base58Encode to assist in encoding the value
func GenerateCheckSum ¶
GenerateCheckSum to generate the checksum
func PublicKeyHash ¶
PublicKeyHash to create the public hash
func ReturnHandle ¶ added in v0.0.2
ReturnHandle to return throw errors
func ValidateAddress ¶ added in v0.0.2
ValidateAddress to validate the address that is passed into the blockchain
Types ¶
type Wallet ¶
type Wallet struct { PrivateKey ecdsa.PrivateKey PublicKey []byte }
Wallet structure for the Wallet type in the blockchain
type Wallets ¶
Wallets structure for map of wallets
func (*Wallets) GetAllAddresses ¶
GetAllAddresses to get the addresses in the wallets file
Click to show internal directories.
Click to hide internal directories.