account

package
v1.0.60 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EthAccount

type EthAccount struct {
	PrivateKey string
	Address    string
	PublicKey  string
}

func NewEthAccount

func NewEthAccount() *EthAccount

func (*EthAccount) ToString

func (ea *EthAccount) ToString() string

type SolanaAccount added in v1.0.5

type SolanaAccount struct {
	PrivateKey string
	Address    string
}

func NewSolnanaAccount added in v1.0.5

func NewSolnanaAccount() *SolanaAccount

func (*SolanaAccount) String added in v1.0.5

func (sa *SolanaAccount) String() string

type SuiAccount added in v1.0.55

type SuiAccount struct {
	Address    string `json:"address"`
	Mnemonic   string `json:"mnemonic"`
	PrivateKey string `json:"private"`
	PublicKey  string `json:"public"`
}

func NewSuiAccount added in v1.0.55

func NewSuiAccount() *SuiAccount

func (*SuiAccount) String added in v1.0.55

func (sa *SuiAccount) String() string

Jump to

Keyboard shortcuts

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