utils

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateRandomPassword

func GenerateRandomPassword() (string, error)

Generates a random password

func IsWalletReady

func IsWalletReady(status types.WalletStatus) bool

Check if the node wallet is ready for transacting

Types

type Resources

type Resources struct {

	// The address of the multicall contract
	MulticallAddress common.Address

	// The chain ID for the current network
	ChainID uint

	// The URL for transaction monitoring on the network's chain explorer
	TxWatchUrl string
	// contains filtered or unexported fields
}

A collection of network-specific resources and getters for them

func NewResources

func NewResources(network config.Network) *Resources

Creates a new resource collection for the given network

Directories

Path Synopsis
gas

Jump to

Keyboard shortcuts

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