Documentation ¶
Overview ¶
Package evm defines the service to execute a step in an Ethereum Virtual Machine.
Index ¶
Constants ¶
View Source
const WeiPerEther = 1e9
WeiPerEther ...
Variables ¶
This section is empty.
Functions ¶
func NewExecution ¶
NewExection instantiates a new EvmService
Types ¶
type EvmAccount ¶
type EvmAccount struct { Address common.Address PrivateKey *ecdsa.PrivateKey Nonce uint64 }
EvmAccount is the abstraction for an Ethereum account
func NewEvmAccount ¶
func NewEvmAccount(privateKey string) (*EvmAccount, error)
NewEvmAccount creates a new EvmAccount
Click to show internal directories.
Click to hide internal directories.