solana

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2025 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckSandwichAttack

func CheckSandwichAttack(ctx context.Context, rpcUrl string, signatureString string, userAddress string, tokenAddress string, maxCheckTxCount int) error

func DecodeTransaction added in v1.5.4

func DecodeTransaction(
	ctx context.Context,
	rpcUrl string,
	txBase64 string,
	parseALT bool,
	noSignature bool,
) (string, error)

func DecodeTransactionByteByByte added in v1.5.4

func DecodeTransactionByteByByte(
	ctx context.Context,
	rpcUrl string,
	txBase64 string,
	parseALT bool,
	noSignature bool,
) (string, error)

func FillAddressLookupTable added in v1.5.4

func FillAddressLookupTable(ctx context.Context, rpcClient *rpc.Client, tx *solana.Transaction) error

func Simulate added in v1.7.1

func Simulate(rpc string, txBase64 string) error

func VanityAddress added in v1.5.4

func VanityAddress(
	threads int,
	contains string,
	mode int,
	caseSensitive bool,
	upperOrLower bool,
) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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