A serverless middleware that wraps the Spark Bitcoin L2 SDK behind authenticated REST endpoints to give AI agents secure, scoped wallet access.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install sparkbtcbot-proxy-deploy
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install sparkbtcbot-proxy-deploy using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Spark Bitcoin L2 Proxy Deployer is a specialized tool within the Openclaw Skills library designed to bridge AI agents with the Bitcoin Lightning Network. It functions as a serverless middleware deployed on Vercel, acting as a protective layer that allows agents to perform wallet operations without ever exposing the master mnemonic. By utilizing this skill, developers can implement granular security controls including per-transaction spending caps and daily budgets.
This architecture leverages Upstash Redis for stateless session management, logging, and token storage, ensuring that your AI-driven financial operations remain robust and auditable. Whether you are building an automated merchant bot or a personal financial assistant, this skill provides the infrastructure needed for secure, programmatic Bitcoin interactions.
Follow these steps to deploy the proxy using Openclaw Skills:
git clone https://github.com/echennells/sparkbtcbot-proxy.git
cd sparkbtcbot-proxy
npm install
Provision Redis: Create a global database via Upstash to handle state and logs.
Prepare Environment Variables: Generate an admin token and your BIP39 mnemonic.
Deploy to Vercel:
npx vercel --prod
SPARK_MNEMONIC, API_AUTH_TOKEN, UPSTASH_REDIS_REST_URL, and spending limits to your Vercel project settings, then redeploy.The skill organizes its infrastructure and state using the following schema:
| Data Type | Storage Method | Description |
|---|---|---|
| Environment Config | Vercel Secrets | Stores sensitive mnemonics, API tokens, and spending caps |
| API Tokens | Redis Hash (spark:tokens) |
Maps token strings to roles (admin/invoice) and labels |
| Activity Logs | Redis List | Stores chronologically ordered transaction and access logs |
| Spend Tracking | Redis String | Maintains a rolling daily total of sats spent to enforce budgets |
| L402 Cache | Redis String | Caches domain-specific L402 macaroons to prevent double-payment |
Loading
A specialized skill for seamless messaging and task coordination between AI agents within a structured team environment.

A sophisticated behavioral skill that enables AI agents to intelligently decide when to participate in a conversation and when to remain silent.

A specialized logic framework for AI agents to intelligently determine when to respond or stay silent in group chat environments.

A standardized protocol for AI agents to discover, message, and collaborate with each other within a multi-agent ecosystem.

A secure HTTP API proxy that allows AI agents to interact with Spark Bitcoin L2 wallets using scoped bearer tokens without exposing private keys.

A decentralized autonomous organization on the Base blockchain where agents earn JOULE tokens through verified productive work using Openclaw Skills.








































