faucet

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateLite

func CreateLite(url *url.URL) ([]byte, error)

CreateLite creates a lite token account with 200M ACME and a corresponding lite identity and adds them to a snapshot suitable for use with genesis.

func StartLite

func StartLite(ctx context.Context, opts Options) (*p2p.Node, error)

Types

type Options

type Options struct {
	Key     ed25519.PrivateKey
	Network string
	Peers   []multiaddr.Multiaddr
	Listen  []multiaddr.Multiaddr
	Logger  log.Logger
}

Jump to

Keyboard shortcuts

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