Documentation ¶ Index ¶ func PrivateKeyToAddress(privateKey *ecdsa.PrivateKey) (common.Address, error) type Client func NewClient() (*Client, error) func (c *Client) GetAuth(ctx context.Context) (*bind.TransactOpts, error) func (c *Client) GetContract(contractAddrHex string) (*contract.ColorNFT, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func PrivateKeyToAddress ¶ func PrivateKeyToAddress(privateKey *ecdsa.PrivateKey) (common.Address, error) Types ¶ type Client ¶ type Client struct { *ethclient.Client } func NewClient ¶ func NewClient() (*Client, error) func (*Client) GetAuth ¶ func (c *Client) GetAuth(ctx context.Context) (*bind.TransactOpts, error) func (*Client) GetContract ¶ func (c *Client) GetContract(contractAddrHex string) (*contract.ColorNFT, error) Source Files ¶ View all Source files client.go Click to show internal directories. Click to hide internal directories.