iota

package
v0.0.0-...-2bd3575 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultAmount = 10
View Source
const DefaultWalletKeyIndex = 0
View Source
const DefaultWalletSeed = "JMQGUNIURZVUMFORRZKY9S9XBSRLUPDO9EMDDQVNXSTBSTVJIGTGVXPIHGTFNKLJZCPRUJOKHAPFIDKFE"

IOTA Wallet

View Source
const MamMode = "public" // "restricted" "private"
View Source
const MamSideKey = ""

Variables

This section is empty.

Functions

func CreateWallet

func CreateWallet() (string, string)

func Fetch

func Fetch(root string, mode string, sideKey string) []string

func GenerateRandomSeedString

func GenerateRandomSeedString(length int) string

func GetApi

func GetApi() *api.API

func GetTransmitter

func GetTransmitter(t *mam.Transmitter, mode string, sideKey string) (*mam.Transmitter, string)

func MamStateToString

func MamStateToString(channel *mam.Channel) string

func PadSideKey

func PadSideKey(sideKey string) string

func Publish

func Publish(message string, t *mam.Transmitter, mode string, sideKey string) (*mam.Transmitter, string, string)

func PublishAndReturnState

func PublishAndReturnState(message string, useTransmitter bool, seedFromStorage string, mamStateFromStorage string, mode string, sideKey string) (string, string, string)

func ReconstructTransmitter

func ReconstructTransmitter(seed trinary.Trytes, channel *mam.Channel) *mam.Transmitter

func StringToMamState

func StringToMamState(mamstate string) *mam.Channel

func TransferTokens

func TransferTokens(seed string, keyIndex uint64, recipientAddress string) uint64

Types

This section is empty.

Jump to

Keyboard shortcuts

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