lib

package
v0.0.0-...-501b615 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CadenceValueToInterface

func CadenceValueToInterface(field cadence.Value) interface{}

func CadenceValueToJsonString

func CadenceValueToJsonString(value cadence.Value) string

func GetPublicKey

func GetPublicKey(sigAlgo crypto.SignatureAlgorithm, privateKey string) crypto.PublicKey

func GetReferenceBlockId

func GetReferenceBlockId(flowClient *client.Client) flow.Identifier

func ServiceAccount

func ServiceAccount(flowClient *client.Client, sigAlgo crypto.SignatureAlgorithm, hashAlgo crypto.HashAlgorithm, keyIndex int, address, privateKey string) (flow.Address, *flow.AccountKey, crypto.Signer)

func WaitForSeal

func WaitForSeal(ctx context.Context, c *client.Client, id flow.Identifier) *flow.TransactionResult

Types

This section is empty.

Jump to

Keyboard shortcuts

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