tezos

package
v0.0.0-...-d4303dc Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToAddress

func ToAddress(address persist.Address) (persist.Address, error)

Types

type Provider

type Provider struct{}

func NewProvider

func NewProvider() *Provider

func (*Provider) VerifySignature

func (p *Provider) VerifySignature(pCtx context.Context, pPubKey persist.PubKey, pWalletType persist.WalletType, pMessage string, pSignatureStr string) (bool, error)

VerifySignature will verify a signature using the ed25519 algorithm the address provided must be the tezos public key, not the hashed address

type TokenStandard

type TokenStandard string
const (
	TokenStandardFa12 TokenStandard = "fa1.2"
	TokenStandardFa2  TokenStandard = "fa2"
)

Jump to

Keyboard shortcuts

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