Zero to Trading Bot in 60 Seconds: CLI quickset Command

Getting a trading bot running usually means weeks of wallet setup, API integrations, and security configurations. The waiaas quickset CLI command changes that — it creates wallets across multiple chains, sets up AI agent sessions, and configures MCP integration in under a minute.

Why Speed Matters in Crypto

In crypto markets, opportunity windows close fast. Whether you're testing a DeFi strategy, responding to market volatility, or prototyping an AI trading agent, setup friction kills momentum. Traditional approaches require separate wallet creation for each chain, manual API key management, complex authentication flows, and hours of configuration before your first trade.

The cognitive overhead is real: by the time you've wrestled with wallet imports, RPC endpoints, and session tokens, you've lost the original idea you wanted to test.

The One-Command Solution

WAIaaS's quickset command handles the entire bootstrap process automatically. It creates wallets for both Solana and EVM chains, generates AI agent sessions with proper authentication, and configures MCP integration for Claude Desktop — all in a single command.

Here's the complete setup:

npm install -g @waiaas/cli
waiaas init                        # Create data directory + config.toml
waiaas start                       # Start daemon (sets master password on first run)
waiaas quickset --mode mainnet     # Create wallets + MCP sessions in one step

The quickset command creates two wallets (Solana mainnet and Ethereum mainnet by default), generates session tokens for AI agent access, and outputs the exact MCP configuration needed for Claude Desktop integration:

{
  "mcpServers": {
    "waiaas-solana": {
      "command": "npx",
      "args": ["-y", "@waiaas/mcp"],
      "env": {
        "WAIAAS_BASE_URL": "http://127.0.0.1:3100",
        "WAIAAS_AGENT_ID": "019c47d6-51ef-7f43-a76b-d50e875d95f4",
        "WAIAAS_AGENT_NAME": "solana-wallet",
        "WAIAAS_DATA_DIR": "~/.waiaas"
      }
    },
    "waiaas-ethereum": {
      "command": "npx",
      "args": ["-y", "@waiaas/mcp"],
      "env": {
        "WAIAAS_BASE_URL": "http://127.0.0.1:3100",
        "WAIAAS_AGENT_ID": "019c4cd2-86e8-758f-a61b-9c560307c788",
        "WAIAAS_AGENT_NAME": "ethereum-wallet",
        "WAIAAS_DATA_DIR": "~/.waiaas"
      }
    }
  }
}

Self-Hosted Infrastructure Advantages

Running your own WAIaaS instance means complete control over your trading infrastructure. Your private keys never leave your server, there are no API rate limits from hosted services, and you can customize policies and security settings without platform restrictions.

The Docker deployment makes self-hosting practical:

git clone https://github.com/minhoyoo-iotrust/WAIaaS.git
cd WAIaaS
docker compose up -d

The daemon runs on port 3100 with health checks, automatic restarts, and persistent data storage. For production deployments, the secrets overlay provides secure credential management:

# Create secret files
mkdir -p secrets
echo "your-secure-password" > secrets/master_password.txt
chmod 600 secrets/master_password.txt

# Deploy with secrets overlay
docker compose -f docker-compose.yml -f docker-compose.secrets.yml up -d

Real Trading in Minutes

Once quickset completes, your AI agent can immediately start trading. The MCP integration provides 45 tools for wallet operations, DeFi protocols, and transaction management. Claude can check balances, execute swaps, manage lending positions, and monitor transaction status — all through natural language.

For example, after funding your wallets, you can tell Claude:

"Check my wallet balances, then swap 0.1 SOL for USDC on Jupiter if SOL is above $100"

Claude will:

  1. Call the get_balance MCP tool to check both SOL and USDC balances
  2. Fetch current SOL price data
  3. Execute the swap via the action_provider tool with Jupiter integration
  4. Monitor transaction confirmation

The policy engine provides safety guardrails with 4 security tiers. Small trades execute instantly, larger amounts trigger notifications or approval workflows, and you can configure spending limits, token whitelists, and time restrictions to prevent runaway trading.

Advanced Configuration

Beyond basic setup, quickset supports environment-specific configurations. For testnet development:

waiaas quickset --mode testnet

This creates wallets on Solana devnet and Ethereum sepolia, perfect for strategy development without mainnet risk.

For automated deployments, the --auto-provision flag generates random credentials:

waiaas init --auto-provision     # Generates random master password → recovery.key
waiaas start                     # No password prompt
waiaas quickset                  # Creates wallets + sessions automatically

The CLI provides 20 commands for ongoing management: wallet creation, session management, backup/restore, policy configuration, and monitoring. The waiaas status command shows daemon health and wallet information at any time.

DeFi Integration Out of the Box

The quickset wallets come pre-configured for 15 DeFi protocols across both chains. Your AI agent can immediately access:

Solana: Jupiter swap, Drift perpetuals, Kamino lending, Jito staking, Polymarket prediction markets Ethereum: Aave lending, Uniswap/0x swaps, Lido staking, cross-chain bridging via LI.FI

Each protocol integration provides high-level actions that abstract away the complexity of direct contract calls. Instead of manually building swap transactions, your agent calls the jupiter-swap/swap action with token addresses and amounts.

Quick Start Guide

  1. Install and initialize: npm install -g @waiaas/cli && waiaas init
  2. Start the daemon: waiaas start (sets master password on first run)
  3. Bootstrap everything: waiaas quickset --mode mainnet
  4. Configure Claude: Paste the MCP config into ~/Library/Application Support/Claude/claude_desktop_config.json
  5. Fund and trade: Send tokens to your new wallet addresses and start trading

What's Next

The quickset command gets you from zero to trading in 60 seconds, but that's just the beginning. Explore policy configuration for advanced risk management, set up monitoring and notifications for position tracking, or integrate with external AI frameworks via the TypeScript and Python SDKs.

Ready to deploy your own trading infrastructure? Clone the repository at https://github.com/minhoyoo-iotrust/WAIaaS or visit https://waiaas.ai for complete documentation and examples.