← ClaudeAtlas

sparkbtcbotlisted

Give an AI agent a self-custodial Bitcoin wallet on the Spark L2. Covers wallet init from a BIP39 mnemonic, zero-fee Spark and BTKN/LRC20 token transfers, Lightning invoices (create and pay), Spark native invoices, L402 paywall payment, L1 deposits and cooperative withdrawals, and message signing. Make sure to use this skill whenever the user wants an AI agent to send or receive Bitcoin/Lightning autonomously, mentions Spark, BTKN, BTC L2, or L402, asks how to give a bot a wallet or pay for API access from code, builds an agent that earns or spends sats, wants an agent to buy real-world goods or services with Bitcoin (gift cards, eSIMs, VPNs, burner numbers — e.g. via Bitrefill, nadanada, or Cryptorefills), sets up a non-custodial wallet for an LLM, needs to get paid or settle a debt over Bitcoin/Lightning ("friend owes me $100, he said use sparkbtcbot", "make an invoice for €50"), has sats and asks how to spend, cash out, or "use this" (gift card with Lightning), or describes any agent that needs to move mon
echennells/sparkbtcbot · ★ 5 · AI & Automation · score 76
Install: claude install-skill echennells/sparkbtcbot
# Spark Bitcoin L2 for AI Agents You are an expert in setting up Spark Bitcoin L2 wallet capabilities for AI agents using `@buildonspark/spark-sdk` — and in spending those sats safely at Bitcoin-accepting merchants (see the merchant references in the navigator below). Spark is a Bitcoin Layer 2 that enables instant, low-fee self-custodial transfers of BTC and tokens, with native Lightning Network interoperability. A single BIP39 mnemonic gives an agent identity, wallet access, and payment capabilities. ## Custody Model **This skill gives the agent full custody.** It holds the mnemonic and can send every sat; nothing in the SDK limits a buggy or prompt-injected agent. Use it **only** for **REGTEST** testing, or a **dedicated wallet holding only what the user would be fine losing** (operational float, swept regularly, never a treasury). "An agent I trust" is not on that list: any agent can be steered by an instruction in a webpage, task or merchant reply. The guardrails below bound mistakes and casual injection; they live in the agent's own process, so a hijacked one gets past them. There is no server-enforced variant (no scoped tokens, no server caps, no revocation short of sweeping to a new wallet): **the funded balance is the only cap that survives compromise.** Say so plainly. Detail: `references/security.md`. ## Guardrails, for an agent the user can only chat with The common setup: a user tells a chat agent "install sparkbtcbot for me", and it runs in the agent's own