faucet

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Faucet

type Faucet struct {
	Cooldown    time.Duration
	Mnemonic    string
	Node        string
	ChainID     string
	CliName     string
	AccountName string
	Denom       string
	Amount      string
	Fees        string
	TXRetry     int
	Requests    map[string]time.Time
	Logger      zerolog.Logger
	Decimals    int
}

func InitFaucet

func InitFaucet(config config.Config) (Faucet, error)

func (*Faucet) Send

func (f *Faucet) Send(addr string, retry int) (string, error)

type Out

type Out struct {
	Stdout []byte
	Stderr []byte
}

Jump to

Keyboard shortcuts

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