utils

package
v0.7.7-0...-02bbeea Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2018 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorCheck

func ErrorCheck(prefix string, err error)

ErrorCheck if err is not nil, log then exit

func GetAPI

func GetAPI() *eos.API

GetAPI create eos api

func MustGetWallet

func MustGetWallet() *eosvault.Vault

MustGetWallet get vault , if err exit

func PushEOSCActions

func PushEOSCActions(api *eos.API, actions ...*eos.Action) (*eos.PushTransactionFullResp, error)

PushEOSCActions push transaction with actions to eos net

func ToAccount

func ToAccount(in, field string) eos.AccountName

ToAccount get account from cli params

func ToName

func ToName(in, field string) eos.Name

ToName get name from cli params

Types

This section is empty.

Jump to

Keyboard shortcuts

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