modulepackage
0.0.0-20190716012330-333d3bb64425
Repository: https://github.com/renproject/libeth-go.git
Documentation: pkg.go.dev
# Functions
Deprecated Connect to an infura network (Supported networks: mainnet and kovan).
No description provided by the author
NewAccount returns a user account for the provided private key which is connected to an Ethereum client.
NewClient creates a new client.
NewFullInfuraClient creates a new infura client.
NewInfuraClient creates a new infura client.
NewMercuryClient creates a new infura client.
SuggestedGasPrice returns the gas price that ethGasStation recommends for transactions to be mined on Ethereum blockchain based on the speed provided.
# Variables
No description provided by the author
DevnetAddressBook is the address book for the Devnet Ren network on the Kovan Ethereum network.
ErrAddressNotFound indicates that the given key is not present in the address book.
ErrCannotConvertToBigInt is returned when string cannot be parsed into a big.Int format.
ErrDuplicateAddress indicates that there exists another address that has been mapped to the same key.
ErrNonceIsOutOfSync indicates that there exists another transaction with the same nonce and a higher or equal gas price as the present transaction.
ErrPostConditionCheckFailed indicates that the post-condition for executing a transaction failed.
ErrPreConditionCheckFailed indicates that the pre-condition for executing a transaction failed.
LocalnetAddressBook is the address book for the Localnet Ren network on the Kovan Ethereum network.
MainnetAddressBook is the address book for the Mainnet Ren network on the main Ethereum network.
RopstenAddressBook is the empty address book for the Ropsten Ethereum network.
TestnetAddressBook is the address book for the Testnet Ren network on the Kovan Ethereum network.
# Type aliases
AddressBook maps contract names to their addresses.
No description provided by the author
RenNetwork identifies which set of contract to use.
The TxExecutionSpeed indicates the tier of speed that the transaction falls under while writing to the blockchain.