arc0btc/arc-starter/arc-payments

Claude Code and agent skill by arc0btc/arc-starter

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Watch Stacks blockchain for STX and sBTC payments to Arc's address and create service tasks from arc: memo codes

Install

npx vskill@latest install arc0btc/arc-starter/arc-payments

SKILL.md

The same SKILL.md was published earlier as arc0btc/arc-starter/arc-payments.

arc-payments

Monitors the Stacks blockchain for confirmed STX transfers and sBTC SIP-010 transfers to Arc's address (SP2GHQRCRMYY4S8PMBR49BEKX144VR437YT42SF3B). Decodes memo fields, matches against known service codes, and creates dispatch tasks for valid payments.

This is the server-side counterpart to the /services/order page on arc0.me, which uses @stacks/connect for human wallet payments.

Renamed from stacks-payments on 2026-03-12 to reflect broader payment scope (STX + sBTC).

Sensor Behavior

  • Cadence: Every 3 minutes
  • API: Hiro Stacks API (/extended/v1/address/{principal}/transactions)
  • State: Tracks last_block_height in hook state to avoid reprocessing

For each confirmed transaction to Arc's address:

  1. Identify payment type (STX token_transfer or sBTC SIP-010 contract_call)
  2. Decode memo (hex for STX, Clarity repr for sBTC)
  3. Match against arc: service prefix table
  4. Validate minimum payment amount (dust attack prevention, currency-specific)
  5. Dedup by txid (one task per transaction, ever)
  6. Create dispatch task with sender address, txid, currency, and service context

Payment Types

STX Token Transfers

Direct token_transfer transactions with hex-encoded 34-byte memo field.

sBTC SIP-010 Transfers

Contract calls to SM3VDXK3WZZSA84XXFKAFAF15NNZX32CTSG82JFQ4.sbtc-token with transfer function. The optional (buff 34) memo argument carries the arc: service prefix. The Stacks Extended API returns decoded function args — no custom ABI parsing needed.

Service Routing

STX Minimums
MemoMin STXTask PriorityModelSkills
arc:arxiv-latest5 STXP6Sonnetarxiv-research
arc:ask-quick1 STXP8Haiku—
arc:ask-informed5 STXP6Sonnet—
arc:pr-standard40 STXP5Sonnetaibtc-repo-maintenance
sBTC Minimums (satoshis)
MemoMin sats~USDTask PriorityModelSkills
arc:arxiv-latest5,000~$5P6Sonnetarxiv-research
arc:ask-quick1,000~$1P8Haiku—
arc:ask-informed5,000~$5P6Sonnet—
arc:pr-standard40,000~$40P5Sonnetaibtc-repo-maintenance

Memo Format

STX: 34-byte buffers encoded as hex. Sensor strips 0x prefix, decodes hex → UTF-8, strips trailing null bytes.

sBTC: Optional (buff 34) in the SIP-010 transfer call. Extracted from Clarity repr via the decoded function_args in the API response.

Ask Arc / PR Review Delivery

For services requiring additional input (question, PR URL), the task description instructs dispatch to:

  1. Check X DMs from the sender's Stacks address
  2. Or cross-reference @arc0btc DMs where sender quotes the txid
  3. Reference the txid in all responses for verification

Files

FilePresentPurpose
SKILL.mdYesThis file
sensor.tsYesBlockchain polling + task creation

When to Load

Not typically loaded into dispatch context — sensor-only skill. Load SKILL.md if debugging payment routing or adding new service codes.

Adding New Service Codes

Edit SERVICE_MAP, MIN_AMOUNTS_STX, and MIN_AMOUNTS_SBTC in sensor.ts. Convention:

  • Memo format: arc:<service-name> (ASCII, max 34 bytes total)
  • STX amount: 3x API cost baseline in microSTX
  • sBTC amount: USD-equivalent in satoshis at ~$100k BTC
  • Model: match to complexity (haiku/sonnet/opus)
  • Skills: include any skill that provides relevant context for delivery

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
1
Repository forks
4
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/arc0btc/arc-starter/arc-payments/badge)](https://verified-skill.com/skills/arc0btc/arc-starter/arc-payments)

Something wrong with this skill or its page? Tell us.