Documentation ¶
Index ¶
- Constants
- func CreateWallet() (string, string)
- func Fetch(root string, mode string, sideKey string) []string
- func GenerateRandomSeedString(length int) string
- func GetApi() *api.API
- func GetTransmitter(t *mam.Transmitter, mode string, sideKey string) (*mam.Transmitter, string)
- func MamStateToString(channel *mam.Channel) string
- func PadSideKey(sideKey string) string
- func Publish(message string, t *mam.Transmitter, mode string, sideKey string) (*mam.Transmitter, string, string)
- func PublishAndReturnState(message string, useTransmitter bool, seedFromStorage string, ...) (string, string, string)
- func ReconstructTransmitter(seed trinary.Trytes, channel *mam.Channel) *mam.Transmitter
- func StringToMamState(mamstate string) *mam.Channel
- func TransferTokens(seed string, keyIndex uint64, recipientAddress string) uint64
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 GetTransmitter ¶
func MamStateToString ¶
func MamStateToString(channel *mam.Channel) string
func PadSideKey ¶
func PublishAndReturnState ¶
func ReconstructTransmitter ¶
func StringToMamState ¶
func StringToMamState(mamstate string) *mam.Channel
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.