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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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