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: 3 modules, 4 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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.23.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.23.0

func NewSignerFromHexPrivateKey(hexPrivateKey string) (SuiSigner, error)

func NewSignerFromSeed added in v0.23.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