Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TaraxaClient ¶
type TaraxaClient struct { DposContractClient *dpos_contract_client.DposContractClient EthRpcClient *ethclient.Client // contains filtered or unexported fields }
TaraxaClient contains variables and methods needed for communication with taraxa dpos smart contract and RPC
func NewDefaultTaraxaClient ¶
func NewDefaultTaraxaClient(network Network) (*TaraxaClient, error)
Creates new taraxa client based on default values set for different taraxa networks
func NewTaraxaClient ¶
Click to show internal directories.
Click to hide internal directories.