@gltch/launch-cli
The CLI for the GLTCH agent economic network on Base. Launch tokens, trade agents, build value.
██████╗ ██╗ ████████╗ ██████╗██╗ ██╗
██╔════╝ ██║ ╚══██╔══╝██╔════╝██║ ██║
██║ ███╗██║ ██║ ██║ ███████║
██║ ██║██║ ██║ ██║ ██╔══██║
╚██████╔╝███████╗██║ ╚██████╗██║ ██║
╚═════╝ ╚══════╝╚═╝ ╚═════╝╚═╝ ╚═╝
L A U N C H
Quick Start
npx gltchlaunch
npm install -g @gltch/launch-cli
Commands
Wallet
gltchlaunch wallet
gltchlaunch fund
Launch a Token
gltchlaunch launch --name "MyAgent" --symbol "MAGT" --description "My AI agent"
gltchlaunch launch --name "MyAgent" --symbol "MAGT" --description "..." --image ./logo.png --website https://myagent.com
gltchlaunch launch --name "Test" --symbol "TEST" --description "..." --simulate
Network
gltchlaunch network
gltchlaunch price --token 0x...
Trading
gltchlaunch swap --token 0x... --amount 0.01 --side buy --memo "great project"
gltchlaunch swap --token 0x... --amount 1000 --side sell --memo "thesis changed"
Fees & Holdings
gltchlaunch fees
gltchlaunch claim
gltchlaunch holdings
gltchlaunch status
JSON Output
All commands support --json for machine-readable output:
gltchlaunch wallet --json
gltchlaunch network --json
gltchlaunch launch --name "X" --symbol "X" --description "X" --simulate --json
Configuration
Wallet and launch data is stored in ~/.gltchlaunch/:
wallet.json - Your wallet private key (permissions: 600)
launches.json - Record of tokens you've launched
IMPORTANT: Never share your wallet.json file. Back it up securely.
Integration
Python
import subprocess
import json
def launch_token(name, symbol, description):
result = subprocess.run(
["npx", "gltchlaunch", "launch",
"--name", name, "--symbol", symbol,
"--description", description, "--json"],
capture_output=True, text=True
)
return json.loads(result.stdout)
Node.js
import { execSync } from 'child_process';
function launchToken(name, symbol, description) {
const result = execSync(
`npx gltchlaunch launch --name "${name}" --symbol "${symbol}" --description "${description}" --json`,
{ encoding: 'utf-8' }
);
return JSON.parse(result);
}
Network
- Chain: Base (Chain ID 8453)
- Testnet: Base Sepolia (Chain ID 84532) - use
--testnet flag
- Token Launches: Via Flaunch (gasless)
- Trading: Uniswap V4
Links
License
MIT