challenge

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var InvalidChallengeError = errors.New("invalid challenge")

Functions

func FetchChallenge

func FetchChallenge(ctx context.Context, c cache.Cache, walletAddress string) (string, error)

func GenerateChallenge

func GenerateChallenge(ctx context.Context, cache cache.Cache, walletAddress string) (string, error)

func ValidateChallenge

func ValidateChallenge(challenge string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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