New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

sui-cli-web-server

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sui-cli-web-server

Local server that bridges your browser to Sui CLI. Manage addresses, transfer SUI, deploy Move contracts - all from a beautiful web UI. Private keys never leave your machine.

latest
Source
npmnpm
Version
1.5.0
Version published
Maintainers
1
Created
Source

sui-cli-web

npm version downloads license node

Local server that bridges your browser to the Sui CLI

Live Demo · Documentation · Report Bug

Why sui-cli-web-server?

Your private keys stay on YOUR machine. This package runs a local server that connects the web interface to your locally installed Sui CLI. No keys are ever transmitted to external servers.

Browser (cli.firstmovers.io)  ←→  Local Server (this package)  ←→  Sui CLI (your machine)

Quick Start

# Make sure Sui CLI is installed
sui --version

# Run the server (no installation needed!)
npx sui-cli-web

Then open https://cli.firstmovers.io - it connects automatically.

Features

FeatureDescription
Address ManagementCreate, switch, view addresses with balances
Transfer SUISend tokens with gas estimation
Gas ManagementSplit and merge gas coins
Network SwitchingMainnet, testnet, devnet, localnet
Faucet IntegrationRequest test tokens
Move DevelopmentBuild, test, publish, upgrade packages
Transaction InspectorInspect and replay transactions
Community TiersOn-chain membership with progression

Installation

npx sui-cli-web

Option 2: Global Install

npm install -g sui-cli-web
sui-cli-web

Option 3: Local Install

npm install sui-cli-web
npx sui-cli-web

Requirements

  • Node.js 18+
  • Sui CLI installed and configured (Install Guide)
# Install Sui CLI
brew install sui          # macOS
cargo install --locked sui  # All platforms

API Reference

The server exposes a REST API at http://localhost:3001/api

Core Endpoints

MethodEndpointDescription
GET/healthHealth check
GET/statusSui CLI status
GET/addressesList all addresses
GET/addresses/activeGet active address
POST/addresses/createCreate new address
POST/addresses/switchSwitch active address

Transfer Endpoints

MethodEndpointDescription
POST/transfers/suiTransfer SUI tokens
POST/transfers/sui/dry-runEstimate gas
POST/transfers/objectTransfer object/NFT
GET/transfers/sui/coins/:addressGet transferable coins

Gas Endpoints

MethodEndpointDescription
POST/gas/splitSplit gas coin
POST/gas/mergeMerge gas coins

Environment Endpoints

MethodEndpointDescription
GET/environmentsList environments
POST/environments/switchSwitch network
POST/environmentsAdd custom RPC

Move Development

MethodEndpointDescription
POST/move/buildBuild package
POST/move/testRun tests
POST/packages/publishPublish on-chain
POST/packages/upgradeUpgrade package

Community

MethodEndpointDescription
GET/community/membershipCheck membership
POST/community/joinJoin community
GET/community/tier/:addressGet tier info

Full API Documentation →

Example Usage

Transfer SUI

curl -X POST http://localhost:3001/api/transfers/sui \
  -H "Content-Type: application/json" \
  -d '{
    "to": "0x1234...abcd",
    "amount": "1.5"
  }'

Get Addresses

curl http://localhost:3001/api/addresses

Switch Network

curl -X POST http://localhost:3001/api/environments/switch \
  -H "Content-Type: application/json" \
  -d '{"alias": "testnet"}'

Configuration

The server runs on port 3001 by default and binds to localhost only.

SettingValueNotes
Port3001Fixed
HostlocalhostSecurity: no external access
CORSConfiguredcli.firstmovers.io + localhost

Security

  • Private keys never leave your machine - All signing happens via local Sui CLI
  • Localhost only - Server doesn't accept external connections
  • Open source - Audit the code
  • Rate limited - 100/min read, 30/min write, 5/min faucet

Troubleshooting

Server won't start

# Check if port 3001 is in use
lsof -ti:3001 | xargs kill -9

Sui CLI not found

# Verify Sui is installed
sui --version

# If not, install it
brew install sui  # macOS
cargo install --locked sui  # Other

CORS errors

Make sure you're accessing via:

  • https://cli.firstmovers.io
  • http://localhost:5173 (dev mode)

Development

# Clone the repo
git clone https://github.com/hien-p/raycast-sui-cli.git
cd raycast-sui-cli/packages/server

# Install dependencies
npm install

# Run in dev mode
npm run dev

# Build
npm run build

Tech Stack

  • Fastify - Fast, low overhead web framework
  • TypeScript - Type safety
  • Sui CLI - Official Sui command line tool

License

MIT © hien-p

cli.firstmovers.io · Made with ❤️ for the Sui community

Keywords

sui

FAQs

Package last updated on 18 Dec 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts