usermethods

package
v0.0.0-...-836e728 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package usermethods provides core methods for user logic

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create() (*cryptotypes.PubKey, string, error)

Create creates and stores mnemonic and returns public Key and user Id

func Transfer

func Transfer(uid string, from string, to string, amount int64) (txHash string, erR error)

Transfer creates transfer request for user using private key, returns transaction hash and error if any

Types

This section is empty.

Jump to

Keyboard shortcuts

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