Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetHyperdriveContext ¶
func SetHyperdriveContext(c *cli.Context, hd *HyperdriveContext)
Add the Hyperdrive context into a CLI context
Types ¶
type HyperdriveContext ¶
type HyperdriveContext struct { // The path to the configuration file ConfigPath string // The max fee for transactions MaxFee float64 // The max priority fee for transactions MaxPriorityFee float64 // The nonce for the first transaction, if set Nonce *big.Int // True if debug mode is enabled DebugEnabled bool // True if this is a secure session SecureSession bool }
Context for global settings
func GetHyperdriveContext ¶
func GetHyperdriveContext(c *cli.Context) *HyperdriveContext
Get the Hyperdrive context from a CLI context
Click to show internal directories.
Click to hide internal directories.