funcs

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2022 License: Unlicense Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAccessNode

func GetAccessNode() string

func GetMinter

func GetMinter() string

func HandleMintRequest

func HandleMintRequest(w http.ResponseWriter, r *http.Request)

Types

type Envelope

type Envelope struct {
	SignedMessage SignedMessage `json:"signedMessage"`
}

type SignedMessage

type SignedMessage struct {
	Address     string   `json:"address"`
	Message     string   `json:"message"`
	KeyIndicies []int    `json:"keyIndices"`
	Signatures  []string `json:"signatures"`
}

func (*SignedMessage) ToCadenceValues

func (s *SignedMessage) ToCadenceValues() ([]cadence.Value, error)

func (*SignedMessage) VerifySignature

func (s *SignedMessage) VerifySignature(ctx context.Context, w io.Writer) error

Jump to

Keyboard shortcuts

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