starknet

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2024 License: MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Signature

type Signature struct {
	// contains filtered or unexported fields
}

func SignatureFromBigInts

func SignatureFromBigInts(x *big.Int, y *big.Int) (*Signature, error)

x,y must be non-negative numbers

func SignatureFromBytes

func SignatureFromBytes(b []byte) (*Signature, error)

b is expected to encode x,y components in accordance with [signature.Bytes]

func (*Signature) Bytes

func (s *Signature) Bytes() ([]byte, error)

func (*Signature) Ints

func (s *Signature) Ints() (x *big.Int, y *big.Int, err error)

Jump to

Keyboard shortcuts

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