Synthesis Hackathon submission. Built on IronClaw fork. 26 tools: Locus payments (6), Uniswap DeFi (3), onchain reads (3), security scanning (2), wallet analytics (3), OpenRouter LLM (2), self-hosted scraping (3), portfolio (2), synthesis (2). 3 defense hooks: spending limits ($5/tx, $25/session), contract guard (SCONE-bench vulnerability patterns), credential guard (blocks private key/seed phrase leaks). Payment system (Polar.sh), landing page, license key gating (Free/Pro/ Unlimited tiers), brand rename from IronClaw to Steelbot. 9,669 lines of code. 3,665 tests passing. Zero clippy warnings. Real USDC transactions on Base chain. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
61 lines
1.9 KiB
Bash
Executable File
61 lines
1.9 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
# Submit Steelbot to the Synthesis Hackathon
|
|
# Requires: SYNTHESIS_API_KEY in .env
|
|
|
|
set -euo pipefail
|
|
|
|
if [ -f .env ]; then
|
|
set -a
|
|
source .env
|
|
set +a
|
|
fi
|
|
|
|
API_KEY="${SYNTHESIS_API_KEY:-}"
|
|
BASE_URL="${SYNTHESIS_BASE_URL:-https://synthesis.devfolio.co}"
|
|
|
|
if [ -z "$API_KEY" ]; then
|
|
echo "Error: SYNTHESIS_API_KEY not set"
|
|
exit 1
|
|
fi
|
|
|
|
echo "=== Steelbot — Hackathon Submission ==="
|
|
echo ""
|
|
|
|
# Check registration status
|
|
echo "[1/3] Checking registration status..."
|
|
STATUS=$(curl -sf -H "Authorization: Bearer $API_KEY" \
|
|
"${BASE_URL}/register/verify/status?pendingId=check" 2>/dev/null || echo '{"status":"unknown"}')
|
|
echo " Status: $STATUS"
|
|
echo ""
|
|
|
|
# Try to create team
|
|
echo "[2/3] Creating/checking team..."
|
|
TEAM=$(curl -sf -X POST -H "Authorization: Bearer $API_KEY" \
|
|
-H "Content-Type: application/json" \
|
|
"${BASE_URL}/teams" \
|
|
-d '{"name":"Steelbot"}' 2>/dev/null || echo '{"status":"team exists or error"}')
|
|
echo " Team: $TEAM"
|
|
echo ""
|
|
|
|
# Submit project info
|
|
echo "[3/3] Project submission info:"
|
|
echo ""
|
|
echo " Project Name: Steelbot"
|
|
echo " Tagline: The AI agent that pays its own way"
|
|
echo " Track: Agents that Pay"
|
|
echo " Description: Autonomous AI agent with USDC wallet on Base."
|
|
echo " 18 tools (payments, DeFi, onchain, security)."
|
|
echo " 3 defense hooks (spending, contracts, credentials)."
|
|
echo " Built on IronClaw (Rust, open source)."
|
|
echo ""
|
|
echo " Bounties:"
|
|
echo " - Locus: Full Locus API integration (6 payment tools)"
|
|
echo " - Uniswap: Swap quotes + token discovery on Base"
|
|
echo " - Security: SCONE-bench defense (contract scanner, credential guard)"
|
|
echo ""
|
|
echo " Links:"
|
|
echo " - Wallet: https://basescan.org/address/0x57c63a19149d73d4d1e7988687c7a261b89498f6"
|
|
echo " - USDC: https://basescan.org/token/0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
|
|
echo ""
|
|
echo "=== Submission ready ==="
|