faucet

package
v0.0.0-...-1a31f93 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2020 License: AGPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ethereum

type Ethereum struct {
	RPCHost      string `long:"eth.rpcuri" description:"URI of the RPC interface of an Ethereum client"`
	KeystorePath string `long:"eth.keystore" description:"Path to the keystore of the Ethereum address"`
	Password     string `long:"eth.password" description:"Password of the keystore"`
	// contains filtered or unexported fields
}

func (*Ethereum) Init

func (eth *Ethereum) Init() error

func (*Ethereum) SendEther

func (eth *Ethereum) SendEther(address string, amount *big.Int) error

func (*Ethereum) SendToken

func (eth *Ethereum) SendToken(token string, address string, amount string) error

type Faucet

type Faucet struct {
	Port int `long:"faucet.port" description:"Port to which the HTTP server of the faucet will listen"`
	// contains filtered or unexported fields
}

func (*Faucet) Start

func (faucet *Faucet) Start(channels []channels.Channel, eth *Ethereum, discord *discord.Discord)

Jump to

Keyboard shortcuts

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