nano

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package nano provides utilities for NANO - Nano.

Index

Constants

This section is empty.

Variables

View Source
var EncodingNano = base32.NewEncoding("13456789abcdefghijkmnopqrstuwxyz")

nano uses a non-standard base32 character set.

Functions

func ConvertAddr

func ConvertAddr(pub ed25519.PublicKey) (addr string, err error)

ConvertAddr converts ed25519.PublicKey to nano address.

func ConvertPub

func ConvertPub(buf []byte) (pub ed25519.PublicKey)

ConvertPub converts bip32 private key bytes to ed25519.PublicKey

func NewAddress

func NewAddress(mne string, pwd string, path string, index uint32) (addr string, pub, priv []byte, err error)

NewAddress creates a new address, public key and private key by specify mnemonic and path.

Types

This section is empty.

Directories

Path Synopsis
Package edwards25519 is a fork of golang's ed25519 implementation to use blake2b instead of sha3.
Package edwards25519 is a fork of golang's ed25519 implementation to use blake2b instead of sha3.

Jump to

Keyboard shortcuts

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