sui

package
v0.41.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2025 License: MIT Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chain

type Chain struct {
	ChainMetadata
	Client sui.ISuiAPI
	Signer SuiSigner
	URL    string
}

Chain represents an Sui chain.

type ChainMetadata added in v0.5.1

type ChainMetadata = common.ChainMetadata

type SuiSigner added in v0.24.0

type SuiSigner interface {
	// Sign signs the given message and returns the serialized signature.
	Sign(message []byte) ([]string, error)

	// GetAddress returns the Sui address derived from the signer's public key
	GetAddress() (string, error)
}

TODO: Everything in this file should come from chainlink-sui when available

func NewSignerFromHexPrivateKey added in v0.24.0

func NewSignerFromHexPrivateKey(hexPrivateKey string) (SuiSigner, error)

func NewSignerFromSeed added in v0.24.0

func NewSignerFromSeed(seed []byte) (SuiSigner, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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