A lightweight personal tool for managing multiple Sui wallets and backend services in one place.
- Multi-Wallet Management: Manage multiple Sui wallets from a single interface
- Coin Operations: Merge, split, transfer, and destroy coins
- DEX Integration: Cetus Protocol, DeepBook V3 swap support
- Transaction Tools: Simulate and sign Base64-encoded transactions
- Vault Management: Deposit and withdraw from vaults
- CLI & Web UI: Both command-line and web interface available
- Node.js 20+
- pnpm or npm
# Clone the repository
git clone https://github.com/DolphinsLab/SuiLancet.git
cd SuiLancet
# Install dependencies
npm install
# Copy environment variables
cp .env.example .env# RPC Endpoints
SUI_ENDPOINT_TESTNET=https://fullnode.testnet.sui.io
SUI_ENDPOINT_MAINNET=https://fullnode.mainnet.sui.io
# Wallet Configuration (choose one)
SUI_WALLET_SECRET=<base64-encoded-secret>
SUI_WALLET_PHRASE=<mnemonic-phrase># Build the SDK
npm run build
# Run CLI
npm run cli -- --help
# Start web UI (development)
cd web && npm install && npm run devSuiLancet/
├── src/ # SDK source code
│ ├── client.ts # Core client class
│ ├── cli.ts # CLI tool
│ ├── common/ # Utility functions
│ ├── methods/ # High-level business methods
│ ├── movecall/ # Move contract call wrappers
│ └── types/ # Type definitions
├── tests/ # Test files
├── docs/ # Documentation
└── web/ # Web UI (React + Vite)
- SDK Reference - Complete API documentation
- Deployment Guide - Cloudflare Pages deployment
# Coin operations
cetus-cli coin destroy-zero # Destroy zero-balance coins
cetus-cli coin merge -t <coinType> # Merge coins
cetus-cli coin transfer -i <id> -r <recipient> # Transfer coin
# Vault operations
cetus-cli vault withdraw -t <coinType> -a <amount>
# Query operations
cetus-cli query wallet-info # Show wallet info
cetus-cli query balance # Query balancesThe web interface provides a visual dashboard for:
- Wallet connection (Sui Wallet, Suiet, etc.)
- Coin management (merge, split, transfer)
- Transaction simulation and signing
- DEX swap operations
- Vault management
cd web
npm install
npm run devSee Deployment Guide for Cloudflare Pages setup.
- Blockchain: Sui Network
- SDK: @mysten/sui
- CLI: Commander.js
- Web: React 18 + Vite + TypeScript
- Wallet: @mysten/dapp-kit
- Styling: TailwindCSS
- Never hardcode private keys or mnemonics
- Use environment variables for sensitive configuration
- Keep dependencies updated
MIT
Last updated: 2026-01-15