@ottocode/openclaw-setu
v0.1.11
Published
Setu provider for OpenClaw — pay for AI with Solana USDC. No API keys, just a wallet.
Downloads
1,170
Maintainers
Readme
@ottocode/openclaw-setu
Setu provider plugin for OpenClaw — pay for AI with Solana USDC.
No API keys. No accounts. Just a Solana wallet with USDC.
How It Works
OpenClaw → localhost:8403 (Setu proxy) → api.setu.ottocode.io → LLM provider- Auto-generates a Solana wallet (or import your own)
- Fund the wallet with USDC on Solana
- Each LLM request is signed with your wallet — payment IS authentication
- Access 30+ models across Anthropic, OpenAI, Google, DeepSeek, and more
Quick Start
No project installation needed — this is a global tool.
# Option 1: Zero-install with bunx (recommended)
bunx @ottocode/openclaw-setu setup
# Option 2: Global install
bun install -g @ottocode/openclaw-setu
openclaw-setu setup# Fund your wallet with USDC on Solana (address shown during setup)
# Start the proxy
bunx @ottocode/openclaw-setu start
# Restart OpenClaw
openclaw gateway restartCLI Commands
openclaw-setu setup Interactive setup (wallet + config)
openclaw-setu start Start the local proxy server
openclaw-setu wallet generate Generate a new Solana wallet
openclaw-setu wallet import Import an existing private key
openclaw-setu wallet export Export your private key
openclaw-setu wallet info Show wallet address and balances
openclaw-setu config inject Inject Setu provider into openclaw.json
openclaw-setu config remove Remove Setu provider from openclaw.json
openclaw-setu config status Check if Setu is configuredAll commands work with bunx @ottocode/openclaw-setu <command> (no install required).
As an OpenClaw Plugin
If OpenClaw loads the plugin automatically (via openclaw.extensions in package.json), Setu registers:
- Provider:
setu— appears in OpenClaw's auth wizard - Service:
setu-proxy— auto-starts the local proxy with the gateway - Commands:
/wallet(show balances),/setu-status(check config)
Wallet Storage
- Private key:
~/.openclaw/setu/wallet.key(mode 0600) - OpenClaw config:
~/.openclaw/openclaw.json
Environment Variables
SETU_PROXY_PORT— Proxy port (default: 8403)SETU_PRIVATE_KEY— Alternative to wallet file
How is this different from ClawRouter?
| | Setu | ClawRouter | |---|---|---| | Chain | Solana | Base (EVM) | | Token | USDC (SPL) | USDC (ERC-20) | | Protocol | Solana wallet signatures | x402 / EIP-712 | | Proxy port | 8403 | 8402 |
Both achieve the same goal: pay-per-token AI with no API keys. Choose based on which chain you prefer.
