Documentation ¶
Index ¶
- func GetBlockChainAuthAndClient(RPCAddr string, PrivateKey string, chainID int64, value int64, gasLimit int64) (*ethclient.Client, *bind.TransactOpts, error)
- func GetReadOnlyEthClientWithoutAuth(url string) (*ethclient.Client, error)
- func Retry(attempts int, sleep time.Duration, f func() error) (err error)
- func RetryOnIgnore(attempts int, sleep time.Duration, f func() (bool, error)) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBlockChainAuthAndClient ¶
func GetBlockChainAuthAndClient(RPCAddr string, PrivateKey string, chainID int64, value int64, gasLimit int64) (*ethclient.Client, *bind.TransactOpts, error)
GetBlockChainAuthAndClient gets blocal chain auth and client
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.