Versions in this module Expand all Collapse all v1 v1.0.3 Dec 21, 2023 v1.0.0 Dec 21, 2023 Changes in this version + type Transaction struct + func NewTransaction(privatekey *ecdsa.PrivateKey, publicKey *ecdsa.PublicKey, sender string, ...) *Transaction + func (t *Transaction) GenerateSignature() *utils.Signature + func (t *Transaction) MarshalJSON() ([]byte, error) + type TransactionRequest struct + RecipientBlockchainAddress *string + SenderBlockchainAddress *string + SenderPrivateKey *string + SenderPublicKey *string + Value *string + func (tr *TransactionRequest) Validate() bool + type Wallet struct + func NewWallet() *Wallet + func (w *Wallet) BlockchainAddress() string + func (w *Wallet) MarshalJSON() ([]byte, error) + func (w *Wallet) PrivateKey() *ecdsa.PrivateKey + func (w *Wallet) PrivateKeyStr() string + func (w *Wallet) PublicKey() *ecdsa.PublicKey + func (w *Wallet) PublicKeyStr() string