About
## Wave 1 submission
Foundation – Giving Agents a Wallet and a Voice Focus: Core infrastructure, OpenClaw integration, x402 proxy MVP, and first autonomous transaction.
🎯 Goals
- Enable an OpenClaw agent to hold a programmable key pair (PKP) with a spending limit. - Intercept API calls that require payment using the x402 standard. - Complete a closed-loop autonomous purchase (agent pays for a premium API without human intervention). - Establish a basic smart contract for spending limits and audit logging.
✅ Completed Milestones
1. Agent Wallet Layer - Implemented Lit Protocol PKP – Created a Programmable Key Pair (PKP) for each agent instance, controlled by the user’s parent wallet via a smart contract allowance. - Built a spending limit contract (Solana, using Anchor) that holds USDC and allows the agent to sign transactions only up to a pre-set daily/weekly limit. - Integrated gas abstraction using a paymaster service so the agent can transact without holding SOL for gas fees. 2. OpenClaw Tooling - Extended OpenClaw’s tool system – Added a new tool called transact that the agent can invoke. The tool accepts: - recipient (pubkey) - amount (in USD, auto-converted to USDC) - reason (string, for audit) - Modified OpenClaw’s system prompt – Injected budget-conscious instructions: “You have a spending limit of $50. Always confirm total cost before executing a transaction. If cost exceeds 20% of remaining budget, ask user for approval via signal.” - Created a permission layer – The agent can only spend on pre-approved API domains (whitelist) to prevent phishing or misuse. 3. x402 Proxy Middleware - Built a reverse proxy (Node.js + Express) that sits between the OpenClaw agent and external APIs. - Implemented x402 detection – The proxy intercepts any HTTP 402 response, parses the Payment-Required header for the required amount and payment endpoint, and signs a payment request using the agent’s PKP. - Added retry logic – After payment confirmation, the proxy resubmits the original request with a Proof-of-Payment header, allowing the API to serve the data. - Mocked a test API – Created a simple API that returns 402 for non-paying clients, used for end-to-end testing. 4. First Autonomous Transaction - Scenario: The agent was asked: “Get me the latest weather forecast for Miami during Consensus week using the premium WeatherX API.” - Flow: 1. Agent calls WeatherX API via the proxy. 2. API returns 402 with cost $0.02. 3. Proxy triggers transact tool. 4. Agent signs and submits payment on Solana (USDC transfer to API’s wallet). 5. Proxy retries request with proof of payment. 6. API returns forecast data. 7. Agent delivers result to user. - End-to-end time: ~8 seconds (including block finality).
🧪 Testing & Validation
- Unit tests for smart contract (Anchor tests, 100% coverage on spending limit logic). - Integration tests using a local validator and a mock API.
From the public Akindo product page. Votes, swipes and the judge score are hackfeed's own.




