configs

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureLog

func ConfigureLog(level slog.Leveler)

func SetupTransactor

func SetupTransactor() (*ethclient.Client, *bind.TransactOpts, error)

func SetupTransactorWS

func SetupTransactorWS() (*ethclient.Client, error)

Types

type Config added in v0.1.1

type Config struct {
	GraphQLURL             string
	AnvilWsURL             string
	DappAddress            string
	AnvilHttpURL           string
	InputBoxAddress        string
	AnvilInputBoxBlock     string
	CoprocessorMockAddress string
}

func LoadConfig

func LoadConfig(path string) (*Config, error)

Jump to

Keyboard shortcuts

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