iota

package
v0.0.0-...-48e72fb Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

* @Author: Matheus Leal * @Date: 2022-07-01 22:54:44 * @Last Modified by: Matheus Leal * @Last Modified time: 2022-07-03 14:04:59

* @Author: Matheus Leal * @Date: 2022-07-01 22:54:49 * @Last Modified by: Matheus Leal * @Last Modified time: 2022-07-03 14:08:24

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BulkData

func BulkData(endpoint string, seed string, address string, bulk []string, tag string) error

*

  • Store a Bulk of Assets into IOTA Blockchain. *
  • @param endpoint string IOTA endpoint string
  • seed string IOTA seed string
  • address string IOTA address string
  • bulk string A list of Asset data string
  • tag string Asset identification string
  • @return Asset A Asset struct

func NodeInfo

func NodeInfo(endpoint string) error

*

  • Get the IOTA node info. *
  • @param endpoint string A string with the IOTA address
  • @return error Conection error

func RandStringRunes

func RandStringRunes(n int) string

*

  • Generate a random rune string. *
  • @param n int A int with the size of the rune
  • @return string random rune string

func RetriveData

func RetriveData(endpoint string, address string, tag string) error

*

  • Retrive a Asset from IOTA Blockchain. *
  • @param endpoint string IOTA endpoint string
  • address string IOTA address string
  • tag string Asset identification string
  • @return Asset A Asset struct

func StoreData

func StoreData(endpoint string, seed string, address string, data string, tag string) error

*

  • Store a new Asset into IOTA Blockchain. *
  • @param endpoint string IOTA endpoint string
  • seed string IOTA seed string
  • address string IOTA address string
  • data string Asset data string
  • tag string Asset identification string
  • @return Asset A Asset struct

Types

This section is empty.

Jump to

Keyboard shortcuts

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