Directories
ยถ
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
sui-go
command
Package main: Command-line interface to create and manage SUI blockchain wallets Provides wallet generation with random private key creation Displays wallet information including public key and address Built on cobra CLI framework with colorized terminal output
|
Package main: Command-line interface to create and manage SUI blockchain wallets Provides wallet generation with random private key creation Displays wallet information including public key and address Built on cobra CLI framework with colorized terminal output |
|
internal
|
|
|
demos/main_sui_getChainIdentifier
command
Package main: Demo application to retrieve blockchain chain identifier Demonstrates sui_getChainIdentifier RPC method with devnet Shows how to query network chain ID information Prints chain identifier to verify network connection
|
Package main: Demo application to retrieve blockchain chain identifier Demonstrates sui_getChainIdentifier RPC method with devnet Shows how to query network chain ID information Prints chain identifier to verify network connection |
|
demos/main_sui_getCheckpoint
command
Package main: Demo application to retrieve checkpoint information from blockchain Demonstrates sui_getCheckpoint RPC method with sequence number query Shows how to get latest checkpoint number and query checkpoint details Prints checkpoint data in JSON format from devnet
|
Package main: Demo application to retrieve checkpoint information from blockchain Demonstrates sui_getCheckpoint RPC method with sequence number query Shows how to get latest checkpoint number and query checkpoint details Prints checkpoint data in JSON format from devnet |
|
demos/main_sui_getLatestCheckpointSequenceNumber
command
Package main: Demo application to query latest checkpoint sequence number Demonstrates sui_getLatestCheckpointSequenceNumber RPC method Shows how to retrieve current checkpoint number from blockchain Prints checkpoint sequence in JSON format from devnet
|
Package main: Demo application to query latest checkpoint sequence number Demonstrates sui_getLatestCheckpointSequenceNumber RPC method Shows how to retrieve current checkpoint number from blockchain Prints checkpoint sequence in JSON format from devnet |
|
demos/main_sui_getTotalTransactionBlocks
command
Package main: Demo application to query total transaction count from blockchain Demonstrates sui_getTotalTransactionBlocks RPC method on mainnet Shows how to retrieve cumulative transaction block count Logs total transaction number from network
|
Package main: Demo application to query total transaction count from blockchain Demonstrates sui_getTotalTransactionBlocks RPC method on mainnet Shows how to retrieve cumulative transaction block count Logs total transaction number from network |
|
demos/main_sui_getTransactionBlock
command
Package main: Demo application to query individual transaction block details Demonstrates sui_getTransactionBlock RPC method with checkpoint navigation Shows how to retrieve latest checkpoint and iterate through transactions Logs transaction digests and detailed information from devnet
|
Package main: Demo application to query individual transaction block details Demonstrates sui_getTransactionBlock RPC method with checkpoint navigation Shows how to retrieve latest checkpoint and iterate through transactions Logs transaction digests and detailed information from devnet |
|
demos/main_sui_multiGetTransactionBlocks
command
Package main: Demo application to query multiple transaction blocks in batch Demonstrates sui_multiGetTransactionBlocks RPC method with batch query Shows how to retrieve multiple transactions from checkpoint efficiently Logs transaction digests and processes results in batch from devnet
|
Package main: Demo application to query multiple transaction blocks in batch Demonstrates sui_multiGetTransactionBlocks RPC method with batch query Shows how to retrieve multiple transactions from checkpoint efficiently Logs transaction digests and processes results in batch from devnet |
|
demos/main_sui_unsafe_mergeCoins
command
Package main: Demo application to merge two SUI coin objects into one Demonstrates unsafe_mergeCoins RPC method with coin selection Shows complete workflow from coin query to merge execution Includes random coin selection and transaction signing
|
Package main: Demo application to merge two SUI coin objects into one Demonstrates unsafe_mergeCoins RPC method with coin selection Shows complete workflow from coin query to merge execution Includes random coin selection and transaction signing |
|
demos/main_sui_unsafe_payAllSui
command
Package main: Demo application to send all SUI tokens from multiple coins to recipient Demonstrates unsafe_payAllSui RPC method with coin consolidation Shows how to transfer entire balance from multiple coins in one transaction Includes transaction simulation and coin query
|
Package main: Demo application to send all SUI tokens from multiple coins to recipient Demonstrates unsafe_payAllSui RPC method with coin consolidation Shows how to transfer entire balance from multiple coins in one transaction Includes transaction simulation and coin query |
|
demos/main_sui_unsafe_paySui
command
Package main: Demo application to send SUI tokens to multiple recipients Demonstrates unsafe_paySui RPC method with batch payment Shows how to transfer different amounts to multiple addresses at once Includes multiple input coins and recipient management
|
Package main: Demo application to send SUI tokens to multiple recipients Demonstrates unsafe_paySui RPC method with batch payment Shows how to transfer different amounts to multiple addresses at once Includes multiple input coins and recipient management |
|
demos/main_sui_unsafe_paySui_to_me_as_gas
command
Package main: Demo application to send SUI tokens back to sender using gas Demonstrates unsafe_paySui method with self-transfer and gas usage Shows how to transfer tokens to own address while paying gas fees Includes transaction simulation, signing, and execution on testnet
|
Package main: Demo application to send SUI tokens back to sender using gas Demonstrates unsafe_paySui method with self-transfer and gas usage Shows how to transfer tokens to own address while paying gas fees Includes transaction simulation, signing, and execution on testnet |
|
demos/main_sui_unsafe_splitCoin
command
Package main: Demo application to split one SUI coin into multiple coins with custom amounts Demonstrates unsafe_splitCoin RPC method with amount calculation Shows how to divide coin balance into three parts and execute split Includes coin selection, amount calculation, and transaction execution
|
Package main: Demo application to split one SUI coin into multiple coins with custom amounts Demonstrates unsafe_splitCoin RPC method with amount calculation Shows how to divide coin balance into three parts and execute split Includes coin selection, amount calculation, and transaction execution |
|
demos/main_sui_unsafe_splitCoinEqual
command
Package main: Demo application to split one SUI coin into equal amounts Demonstrates unsafe_splitCoinEqual RPC method with count-based split Shows how to divide coin balance into equal parts automatically Includes coin selection and equal distribution transaction execution
|
Package main: Demo application to split one SUI coin into equal amounts Demonstrates unsafe_splitCoinEqual RPC method with count-based split Shows how to divide coin balance into equal parts automatically Includes coin selection and equal distribution transaction execution |
|
demos/main_sui_unsafe_transferObject
command
Package main: Demo application to transfer object ownership to another address Demonstrates unsafe_transferObject RPC method with object transfer Shows how to change ownership of blockchain objects Includes debug mode and transaction simulation
|
Package main: Demo application to transfer object ownership to another address Demonstrates unsafe_transferObject RPC method with object transfer Shows how to change ownership of blockchain objects Includes debug mode and transaction simulation |
|
demos/main_sui_unsafe_transferSui
command
Package main: Demo application to transfer SUI tokens between addresses Demonstrates complete transaction workflow from build to execution Shows unsafe_transferSui method usage with testnet Includes transaction simulation, signing, and execution steps
|
Package main: Demo application to transfer SUI tokens between addresses Demonstrates complete transaction workflow from build to execution Shows unsafe_transferSui method usage with testnet Includes transaction simulation, signing, and execution steps |
|
demos/main_suix_getAllBalances
command
Package main: Demo application to query all coin types and balances owned by address Demonstrates suix_getAllBalances RPC method on mainnet Shows how to retrieve balance summary across different coin types Uses structured logging to display coin types and total balances
|
Package main: Demo application to query all coin types and balances owned by address Demonstrates suix_getAllBalances RPC method on mainnet Shows how to retrieve balance summary across different coin types Uses structured logging to display coin types and total balances |
|
demos/main_suix_getAllCoins
command
Package main: Demo application to query all coin objects across all types owned by address Demonstrates suix_getAllCoins RPC method on mainnet Shows how to retrieve complete coin list regardless of coin type Uses structured logging to display balance and type information
|
Package main: Demo application to query all coin objects across all types owned by address Demonstrates suix_getAllCoins RPC method on mainnet Shows how to retrieve complete coin list regardless of coin type Uses structured logging to display balance and type information |
|
demos/main_suix_getBalance
command
Package main: Demo application to query coin balance with logging Demonstrates suix_getCoins RPC method on testnet Shows how to iterate through coin objects and log details Uses structured logging to display balance and coin type
|
Package main: Demo application to query coin balance with logging Demonstrates suix_getCoins RPC method on testnet Shows how to iterate through coin objects and log details Uses structured logging to display balance and coin type |
|
demos/main_suix_getCoinMetadata
command
Package main: Demo application to query coin metadata from blockchain Demonstrates suix_getCoinMetadata RPC method with multiple coin types Shows how to retrieve display information like name, symbol, and decimals Queries metadata from mainnet and logs results in JSON format
|
Package main: Demo application to query coin metadata from blockchain Demonstrates suix_getCoinMetadata RPC method with multiple coin types Shows how to retrieve display information like name, symbol, and decimals Queries metadata from mainnet and logs results in JSON format |
|
demos/main_suix_getCoins
command
Package main: Demo application to query coin objects owned by an address Demonstrates suix_getCoins RPC method usage with mainnet Shows how to retrieve paginated coin data from blockchain Prints coin information including balance and object IDs
|
Package main: Demo application to query coin objects owned by an address Demonstrates suix_getCoins RPC method usage with mainnet Shows how to retrieve paginated coin data from blockchain Prints coin information including balance and object IDs |
|
demos/main_suix_getCoins_suicoin
command
Package main: Demo application to query SUI coin objects owned by address on testnet Demonstrates suix_getCoins RPC method with coin type parameter Shows how to filter coins by type to get native SUI tokens Prints coin information in JSON format
|
Package main: Demo application to query SUI coin objects owned by address on testnet Demonstrates suix_getCoins RPC method with coin type parameter Shows how to filter coins by type to get native SUI tokens Prints coin information in JSON format |
|
demos/main_suix_getTotalSupply
command
Package main: Demo application to query total supply of different coin types Demonstrates suix_getTotalSupply RPC method on mainnet Shows how to retrieve maximum supply information from coin metadata Queries multiple coin types and logs their supply values
|
Package main: Demo application to query total supply of different coin types Demonstrates suix_getTotalSupply RPC method on mainnet Shows how to retrieve maximum supply information from coin metadata Queries multiple coin types and logs their supply values |
|
moves/main_sui_getNormalizedMoveFunction
command
Package main: Demo application to query Move function metadata from blockchain Demonstrates sui_getNormalizedMoveFunction RPC method with contract introspection Shows how to retrieve function signature and parameter information Prints function metadata in JSON format from testnet
|
Package main: Demo application to query Move function metadata from blockchain Demonstrates sui_getNormalizedMoveFunction RPC method with contract introspection Shows how to retrieve function signature and parameter information Prints function metadata in JSON format from testnet |
|
moves/main_sui_unsafe_moveCall_math_add
command
Package main: Demo application to call Move smart contract math add function Demonstrates unsafe_moveCall RPC method with contract interaction Shows how to invoke Move module function with parameters on testnet Includes transaction simulation, signing, and execution with result logging
|
Package main: Demo application to call Move smart contract math add function Demonstrates unsafe_moveCall RPC method with contract interaction Shows how to invoke Move module function with parameters on testnet Includes transaction simulation, signing, and execution with result logging |
|
moves/main_sui_unsafe_moveCall_math_max
command
Package main: Demo application to call Move smart contract math max function Demonstrates unsafe_moveCall RPC method with mainnet contract Shows how to invoke Move module function to find maximum value Includes transaction simulation with debug mode enabled
|
Package main: Demo application to call Move smart contract math max function Demonstrates unsafe_moveCall RPC method with mainnet contract Shows how to invoke Move module function to find maximum value Includes transaction simulation with debug mode enabled |
|
Package suiapi: High-level API wrappers with SUI blockchain RPC methods Provides convenient functions to interact with SUI blockchain nodes Supports transaction execution, simulation, and coin balance queries Built on generic RPC client with type-safe response handling
|
Package suiapi: High-level API wrappers with SUI blockchain RPC methods Provides convenient functions to interact with SUI blockchain nodes Supports transaction execution, simulation, and coin balance queries Built on generic RPC client with type-safe response handling |
|
Package suirpc: RPC client implementation with HTTP transport and debug capabilities Provides generic RPC request sending with automatic JSON marshaling and response handling Supports client configuration, timeout settings, and debug mode logging Built on resty HTTP client with connection pooling and retry mechanisms
|
Package suirpc: RPC client implementation with HTTP transport and debug capabilities Provides generic RPC request sending with automatic JSON marshaling and response handling Supports client configuration, timeout settings, and debug mode logging Built on resty HTTP client with connection pooling and retry mechanisms |
|
Package suisecret: Pure Go implementation to decode and encode SUI keystore keys Provides direct replacement of third-party sui keytool convert command Supports ed25519 signature scheme with Base64 and hex format conversion Enables seamless wallet creation from decoded private keys
|
Package suisecret: Pure Go implementation to decode and encode SUI keystore keys Provides direct replacement of third-party sui keytool convert command Supports ed25519 signature scheme with Base64 and hex format conversion Enables seamless wallet creation from decoded private keys |
|
Package suisigntx: Transaction signing implementation with Ed25519 cryptographic operations Provides functions to sign SUI blockchain transaction data using private keys Supports both hex-encoded and raw byte format private keys and transaction data Generates Base64-encoded signatures compatible with SUI blockchain requirements
|
Package suisigntx: Transaction signing implementation with Ed25519 cryptographic operations Provides functions to sign SUI blockchain transaction data using private keys Supports both hex-encoded and raw byte format private keys and transaction data Generates Base64-encoded signatures compatible with SUI blockchain requirements |
|
Package suiwallet: Ed25519-based wallet implementation with SUI blockchain address generation Provides wallet creation, signing, and verification operations using Ed25519 cryptography Generates blockchain addresses through Blake2b-256 hashing with scheme prefix Compatible with SUI blockchain wallet requirements and key management
|
Package suiwallet: Ed25519-based wallet implementation with SUI blockchain address generation Provides wallet creation, signing, and verification operations using Ed25519 cryptography Generates blockchain addresses through Blake2b-256 hashing with scheme prefix Compatible with SUI blockchain wallet requirements and key management |
Click to show internal directories.
Click to hide internal directories.