config

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChainID

func ChainID(network string) (uint64, error)

func ContractAddress

func ContractAddress(network string) (string, error)

func NetworkRPC

func NetworkRPC(network string) (string, error)

Types

type Config

type Config struct {
	Network     string
	RPC         string
	Contract    string
	PushGateway string
	PrivateKey  string
	FromAddress string
}

func ValidateConfig

func ValidateConfig() (Config, error)

Jump to

Keyboard shortcuts

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