Loading...
Loading...
Comprehensive SuiClient skill for interacting with the Sui blockchain using @mysten/sui SDK. Use this skill when you need to connect to Sui blockchain, read data, execute transactions, manage staking positions, or query network information.
npx skill4agent add randypen/sui-eco-skills sui-client@mysten/suiimport { SuiClient } from '@mysten/sui/client';
// Connect to mainnet
const client = new SuiClient({
url: 'https://sui-mainnet.nodeinfra.com'
});
// Get account balance
const balance = await client.getBalance({
owner: '0x123...',
coinType: '0x2::sui::SUI'
});# Install the skill
claude skills install sui-client
# Install dependencies
bun add @mysten/suiexamples/basic-usage.tstransactions.tsadvanced.tsgetObject()getCoins()getTransactionBlock()signAndExecuteTransaction()executeTransactionBlock()getLatestSuiSystemState()getReferenceGasPrice()queryEvents()subscribeEvent()getStakes()getStakesByIds()@mysten/sui