Documentation ¶
Overview ¶
Package wallet provides some helpful wallet functionality like seed generation and key derivation.
Index ¶
Constants ¶
View Source
const (
SeedSize = 32
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct {
// contains filtered or unexported fields
}
Account represents an account in a Nano wallet.
func NewAccount ¶
func NewAccount(key ed25519.PrivateKey) *Account
NewAccount creates a new account with the given private key.
type Seed ¶
func GenerateSeed ¶
Click to show internal directories.
Click to hide internal directories.