bootstrap

package
v0.0.0-...-ae8e89f Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountIdentifier

type AccountIdentifier struct {
	Address string `json:"address"`
}

type Currency

type Currency struct {
	Symbol   string `json:"symbol"`
	Decimals uint32 `json:"decimals"`
}

type GenesisAllocation

type GenesisAllocation struct {
	AccountIdentifier AccountIdentifier `json:"account_identifier"`
	Currency          Currency          `json:"currency"`
	Value             string            `json:"value"`
}

func GenerateGenesisAllocations

func GenerateGenesisAllocations(network common.Network) ([]*GenesisAllocation, error)

GenerateGenesisAllocations creates the bootstrap allocations for a particular genesis file.

Jump to

Keyboard shortcuts

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