Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCouldNotDerivePublicKey = errors.New("could not derive public key from private key")
View Source
var ErrInvalidPublicKey = errors.New("could not parse the private key from the provided hex string")
Functions ¶
func NewAgent ¶
func NewAgent(cfg config.GethConfig) (*agent, error)
func NewDeployer ¶
func NewDeployer(logger *zap.Logger, cfg config.GethConfig) (*deployer, error)
Types ¶
type Wallet ¶
type Wallet struct {
// contains filtered or unexported fields
}
func (*Wallet) GetAddress ¶
func (*Wallet) GetPrivateKey ¶
func (w *Wallet) GetPrivateKey() *ecdsa.PrivateKey
func (*Wallet) GetPrivateKeyHex ¶
func (*Wallet) GetPublicKey ¶
func (*Wallet) GetPublicKeyHex ¶
Click to show internal directories.
Click to hide internal directories.