skills$openclaw/sponge-wallet
rishabluthra7.1k

by rishabluthra

sponge-wallet – OpenClaw Skill

sponge-wallet is an OpenClaw Skills integration for coding workflows. Manages crypto wallets, transfers tokens, swaps on DEXes, checks balances, and accesses paid APIs (search, image gen, prediction markets, web scraping, document parsing, sales prospecting) via x402 micropayments. Use when the user asks about wallet balances, token transfers, swaps, blockchain payments, or paid API services.

7.1k stars9.6k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026coding

Skill Snapshot

namesponge-wallet
descriptionManages crypto wallets, transfers tokens, swaps on DEXes, checks balances, and accesses paid APIs (search, image gen, prediction markets, web scraping, document parsing, sales prospecting) via x402 micropayments. Use when the user asks about wallet balances, token transfers, swaps, blockchain payments, or paid API services. OpenClaw Skills integration.
ownerrishabluthra
repositoryrishabluthra/sponge-wallet
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @rishabluthra/sponge-wallet
last updatedFeb 7, 2026

Maintainer

rishabluthra

rishabluthra

Maintains sponge-wallet in the OpenClaw Skills directory.

View GitHub profile
File Explorer
6 files
.
scripts
wallet.mjs
12.3 KB
_meta.json
638 B
README.md
1.6 KB
REFERENCE.md
11.2 KB
SKILL.md
5.0 KB
SKILL.md

name: sponge-wallet description: Manages crypto wallets, transfers tokens, swaps on DEXes, checks balances, and accesses paid APIs (search, image gen, prediction markets, web scraping, document parsing, sales prospecting) via x402 micropayments. Use when the user asks about wallet balances, token transfers, swaps, blockchain payments, or paid API services.

Sponge Wallet Skill

Multi-chain crypto wallet with transfers, swaps, and paid API access.

Authentication

IMPORTANT: If any tool returns "Not authenticated" or "Invalid API key", run the login flow.

Login is two-phase (because Claude Code runs commands non-interactively):

Phase 1 — Start the device flow (returns a URL and code as JSON):

node <skill-path>/scripts/wallet.mjs login

Show the verification_url and user_code to the user. Tell them to open the URL in their browser and enter the code.

Phase 2 — After the user confirms they have approved, poll for the token:

node <skill-path>/scripts/wallet.mjs login --poll <device_code> <interval> <expires_in>

Use the device_code, interval, and expires_in values from Phase 1 output.

Credentials are saved to ~/.spongewallet/credentials.json automatically.

Credential resolution order:

  1. SPONGE_API_KEY environment variable (if set, skips stored credentials)
  2. ~/.spongewallet/credentials.json (saved by login)

Other auth commands:

  • node wallet.mjs whoami — show current auth status
  • node wallet.mjs logout — remove stored credentials

How to Execute

node <skill-path>/scripts/wallet.mjs <tool_name> '<json_args>'

Output is JSON with status: "success" or status: "error".

Available Tools

Wallet & Balance

ToolDescriptionRequiredOptional
get_balanceCheck balances across chainschain
get_solana_tokensDiscover all SPL tokens in walletchain
search_solana_tokensSearch Jupiter token databasequerylimit

Transfers

ToolDescriptionRequiredOptional
evm_transferTransfer ETH/USDC on Ethereum/Basechain, to, amount, currency
solana_transferTransfer SOL/USDC on Solanachain, to, amount, currency

Swaps

ToolDescriptionRequiredOptional
solana_swapSwap tokens via Jupiterchain, input_token, output_token, amountslippage_bps

Transactions

ToolDescriptionRequiredOptional
get_transaction_statusCheck tx statustransaction_hash, chain
get_transaction_historyView past transactionslimit, chain
ToolDescriptionRequiredOptional
request_fundingRequest funds from owneramount, chain, currency
withdraw_to_main_walletReturn funds to ownerchain, amountcurrency

Paid APIs (Sponge x402)

ToolDescriptionRequiredOptional
spongeUnified paid API interfacetaskSee REFERENCE.md
create_x402_paymentCreate x402 payment payloadchain, to, amounttoken, decimals

Chain Reference

Test keys (sponge_test_*): sepolia, base-sepolia, solana-devnet, tempo Live keys (sponge_live_*): ethereum, base, solana

Common Workflows

Check Balance → Transfer → Verify

node wallet.mjs get_balance '{"chain":"base"}'
node wallet.mjs evm_transfer '{"chain":"base","to":"0x...","amount":"10","currency":"USDC"}'
node wallet.mjs get_transaction_status '{"transaction_hash":"0x...","chain":"base"}'

Swap Tokens on Solana

node wallet.mjs search_solana_tokens '{"query":"BONK"}'
node wallet.mjs solana_swap '{"chain":"solana","input_token":"SOL","output_token":"BONK","amount":"0.5"}'

Sponge Paid APIs

node wallet.mjs sponge '{"task":"search","query":"AI research papers"}'
node wallet.mjs sponge '{"task":"image","prompt":"sunset over mountains"}'
node wallet.mjs sponge '{"task":"predict","semantic_search":"will-trump-win-2028"}'
node wallet.mjs sponge '{"task":"crawl","url":"https://example.com"}'
node wallet.mjs sponge '{"task":"parse","document_url":"https://example.com/doc.pdf"}'
node wallet.mjs sponge '{"task":"prospect","apollo_query":"Stripe","apollo_endpoint":"companies"}'

Error Handling

ErrorResolution
Not authenticatedRun node wallet.mjs login
Invalid API keyRun node wallet.mjs login to re-authenticate
Chain 'X' is not allowedUse correct key type (test vs live) for the chain
Insufficient balanceUse request_funding
Address not in allowlistAdd recipient in the dashboard

See REFERENCE.md for detailed parameter docs.

README.md

Sponge Wallet — Claude Skill

A Claude Code skill for managing crypto wallets, transferring tokens, swapping on DEXes, and accessing paid APIs via x402 micropayments.

Install

git clone https://github.com/paysponge/wallet-skills.git ~/.claude/skills/sponge-wallet

That's it. No dependencies — just needs Node.js 18+.

Login

On first use, Claude will prompt you to log in. Or run manually:

node ~/.claude/skills/sponge-wallet/scripts/wallet.mjs login

This opens a browser for OAuth authentication. Credentials are saved to ~/.spongewallet/credentials.json.

What it can do

  • Check balances across Ethereum, Base, and Solana
  • Transfer ETH, SOL, and USDC
  • Swap tokens on Solana via Jupiter
  • View transaction status and history
  • Request funding from your main wallet
  • Search the web via Exa (x402)
  • Generate images via Gemini (x402)
  • Query prediction markets via Dome (x402)
  • Scrape web pages via Firecrawl (x402)
  • Parse documents via Reducto (x402)
  • Find sales prospects via Apollo (x402)

Usage

Just ask Claude naturally:

  • "Check my wallet balance"
  • "Transfer 10 USDC to 0x..."
  • "Swap 1 SOL for USDC"
  • "Search for AI research papers"
  • "What are the odds on the next election?"

Supported chains

Key typeChains
sponge_test_*sepolia, base-sepolia, solana-devnet, tempo
sponge_live_*ethereum, base, solana

Docs

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

  • OpenClaw CLI installed and configured.
  • Language: Markdown
  • License: MIT
  • Topics:

FAQ

How do I install sponge-wallet?

Run openclaw add @rishabluthra/sponge-wallet in your terminal. This installs sponge-wallet into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/rishabluthra/sponge-wallet. Review commits and README documentation before installing.