seed

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2021 License: Apache-2.0, BSD-2-Clause Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Seed

type Seed struct {
	*ed25519.Seed
}

Seed represents a seed for IOTA wallets. A seed allows us to generate a deterministic sequence of Addresses and their corresponding KeyPairs.

func NewSeed

func NewSeed(optionalSeedBytes ...[]byte) *Seed

NewSeed is the factory method for an IOTA seed. It either generates a new one or imports an existing marshaled seed. before.

func (*Seed) Address

func (seed *Seed) Address(index uint64) (addr address.Address)

Address returns an Address which can be used for receiving or sending funds.

Jump to

Keyboard shortcuts

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