foundry

package
v0.1.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const AnvilDefaultPort = 8545

Default port for the Ethereum node.

View Source
const ApplicationAddress = "0x70ac08179605AF2D9e75782b8DEcDD3c22aA4D0C"

Application address in devnet.

View Source
const InputBoxAddress = "0x59b22D57D4f067708AB0c00552767405926dc768"

Input box address in devnet.

View Source
const TestMnemonic = "test test test test test test test test test test test junk"

Foundry test mnemonic.

Variables

View Source
var SenderAddress = common.HexToAddress("0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266")

Functions

func AddInput

func AddInput(ctx context.Context, payload []byte) error

Send an input using the devnet addresses. This should be used only for testing.

Types

type AnvilWorker

type AnvilWorker struct {
	Port    int
	Verbose bool
}

Start the anvil process in the host machine.

func (AnvilWorker) Start

func (s AnvilWorker) Start(ctx context.Context, ready chan<- struct{}) error

func (AnvilWorker) String

func (s AnvilWorker) String() string

Directories

Path Synopsis
This program gets the devnet state from the devnet Docker image.
This program gets the devnet state from the devnet Docker image.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳