waves

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RideErrorPrefix = "Error while executing account-script: "
)

Variables

This section is empty.

Functions

func CheckRideError

func CheckRideError(rideErr error, msg string) error

func ScriptFromFile

func ScriptFromFile(filename string) ([]byte, error)

Types

type Account

type Account struct {
	Address string
	Secret  crypto.SecretKey
	PubKey  crypto.PublicKey
}

func GenerateAddress

func GenerateAddress(chainId byte) (*Account, error)

type Config

type Config struct {
	GravityScriptFile string
	NebulaScriptFile  string
	SubMockScriptFile string
	NodeUrl           string
	DistributionSeed  string
}

func LoadConfig

func LoadConfig(filename string) (Config, error)

type RideErr

type RideErr struct {
	Message string
}

Jump to

Keyboard shortcuts

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