network

package
v0.0.0-...-b2c4e65 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 27, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectToNetwork

func ConnectToNetwork(nodeUrl string) (*ethclient.Client, error)

func NetworkID

func NetworkID(client *ethclient.Client) (*big.Int, error)

func SendTx

func SendTx(conn *alaTypes.Connection, tx *types.Transaction) error

Sends a transaction to the network. It will wait until the transaction is mined blocking the current thread checking once every second conn needs to have a client set.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL