package
1.0.0
Repository: https://github.com/mselser95/blockchain.git
Documentation: pkg.go.dev

# Functions

NewAddress creates a new EVM address.
NewManager creates a new Manager instance.
NewPrivateKeySigner creates a new PrivateKeySigner instance with the provided private key.
NewTransaction creates a new instance of BaseTransaction.
NewTxHash creates a new EVM transaction hash.

# Constants

HashLength is the expected length of the hash.

# Structs

Address represents an EVM address.
BaseTransaction is a concrete implementation of the Transaction interface.
EthClientFactory is a concrete implementation of ClientFactory that uses ethclient.
Manager manages interactions with the EVM-compatible blockchain.
PrivateKeySigner is a struct that holds a private key and implements the TransactionSigner interface.
TxHash represents an EVM transaction hash.

# Interfaces

ClientFactory defines an interface for creating a new ClientInterface.
ClientInterface defines the methods of ethclient.Client to be mocked.