skills$openclaw/clawpay
mmchougule1.8kā˜…

by mmchougule

clawpay – OpenClaw Skill

clawpay is an OpenClaw Skills integration for coding workflows. Private payments for AI agents - no on-chain link between sender and recipient

1.8k stars1.0k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026coding

Skill Snapshot

nameclawpay
descriptionPrivate payments for AI agents - no on-chain link between sender and recipient OpenClaw Skills integration.
ownermmchougule
repositorymmchougule/clawpay-2
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @mmchougule/clawpay-2
last updatedFeb 7, 2026

Maintainer

mmchougule

mmchougule

Maintains clawpay in the OpenClaw Skills directory.

View GitHub profile
File Explorer
2 files
.
_meta.json
272 B
SKILL.md
5.8 KB
SKILL.md

name: clawpay version: 1.1.0 description: Private payments for AI agents - no on-chain link between sender and recipient author: clawpay homepage: https://clawpay.dev tags: [privacy, payments, railgun, usdt, agents, tips] metadata: emoji: šŸ¦ž category: payments api_base: https://clawpay.dev

ClawPay šŸ¦ž

Send money privately. Recipient sees funds from Railgun - can't trace back to you.

Just Run It

Prerequisites: You need a wallet private key with USDT on BSC.

Save this as send-private.mjs and run with node send-private.mjs:

// send-private.mjs - Copy this entire file and run it
import { Wallet, JsonRpcProvider, Contract, parseUnits } from 'ethers';

// ============ CONFIGURE THESE ============
const PRIVATE_KEY = process.env.WALLET_KEY || '0xYOUR_PRIVATE_KEY';
const RECIPIENT = '0xRECIPIENT_ADDRESS';
const AMOUNT = '0.10';  // USDT amount
// =========================================

const API = 'https://clawpay.dev';
const BSC_RPC = 'https://bsc-dataseed.binance.org/';
const USDT = '0x55d398326f99059fF775485246999027B3197955';
const SIGN_MSG = 'b402 Incognito EOA Derivation';

async function sendPrivate() {
  const provider = new JsonRpcProvider(BSC_RPC);
  const wallet = new Wallet(PRIVATE_KEY, provider);
  const myAddress = wallet.address;

  console.log('Sending', AMOUNT, 'USDT privately to', RECIPIENT);
  console.log('From wallet:', myAddress, '\n');

  // 1. Sign message
  console.log('1. Signing...');
  const signature = await wallet.signMessage(SIGN_MSG);

  // 2. Get invoice address
  console.log('2. Getting invoice...');
  const invoiceRes = await fetch(
    API + '/invoice?eoa=' + myAddress + '&signature=' + encodeURIComponent(signature)
  );
  const { invoiceAddress } = await invoiceRes.json();
  console.log('   Invoice:', invoiceAddress);

  // 3. Transfer USDT to invoice
  console.log('3. Transferring USDT to invoice...');
  const usdt = new Contract(USDT, ['function transfer(address,uint256) returns (bool)'], wallet);
  const tx = await usdt.transfer(invoiceAddress, parseUnits(AMOUNT, 18));
  console.log('   TX:', tx.hash);
  await tx.wait();

  // 4. Execute private transfer
  console.log('4. Executing private transfer...');
  const transferRes = await fetch(API + '/transfer', {
    method: 'POST',
    headers: { 'Content-Type': 'application/json' },
    body: JSON.stringify({
      eoa: myAddress,
      signature,
      recipient: RECIPIENT,
      amount: AMOUNT,
      token: 'USDT'
    })
  });
  const result = await transferRes.json();

  if (result.transferId) {
    console.log('\nāœ“ SUCCESS!');
    console.log('Transfer ID:', result.transferId);
    console.log('Status:', result.status);
    console.log('\nRecipient gets funds from Railgun in ~60 seconds.');
    console.log('They CANNOT see your wallet address.');
    console.log('\nCheck status: curl ' + API + '/status/' + result.transferId);
  } else {
    console.log('Error:', result.error);
  }
}

sendPrivate().catch(console.error);

Run it:

npm install ethers
WALLET_KEY=0xYourPrivateKey node send-private.mjs

How It Works

YOU                    CLAWPAY API                 RECIPIENT
 │                          │                          │
 ā”œā”€ā”€ USDT to invoice ──────►│                          │
 │                          │                          │
 ā”œā”€ā”€ Sign message ─────────►│                          │
 │                          │                          │
 ā”œā”€ā”€ POST /transfer ───────►│                          │
 │                          ā”œā”€ā”€ Shield (Railgun) ─────►│
 │                          ā”œā”€ā”€ ZK Proof (~60s) ──────►│
 │                          ā”œā”€ā”€ Unshield ─────────────►│
 │                          │                          │
 │                          │    Funds from "Railgun"  │
 │                          │    NO LINK TO YOU        │

API Reference

Base URL: https://clawpay.dev

EndpointMethodDescription
/healthGETAPI status
/invoice?eoa=...&signature=...GETGet your invoice address
/transferPOSTSend private payment
/status/:idGETCheck transfer status
/balance?eoa=...&signature=...&token=USDTGETCheck shielded balance
/faucetPOSTGet BNB for gas (testnet)

POST /transfer

{
  "eoa": "0xYourAddress",
  "signature": "0xSignedMessage...",
  "recipient": "0xRecipientAddress",
  "amount": "1.00",
  "token": "USDT"
}

Response:

{
  "transferId": "tx_123...",
  "status": "pending",
  "message": "Transfer initiated"
}

Status flow: pending → shielding → proving → complete


No Private Key? Use Bankr Wallet

If you're an agent without direct wallet access, use Bankr:

// 1. Get your wallet from Bankr
const bankrWallet = await bankr.getWallet();

// 2. Sign the ClawPay message
const signature = await bankr.signMessage('b402 Incognito EOA Derivation');

// 3. Use signature with ClawPay API
// (same flow as above)

Supported Tokens (BSC)

TokenAddress
USDT0x55d398326f99059fF775485246999027B3197955
USDC0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d

Need Gas?

curl -X POST https://clawpay.dev/faucet \
  -H "Content-Type: application/json" \
  -d '{"address": "0xYourAddress"}'

Troubleshooting

ErrorFix
"Insufficient balance"Transfer USDT to invoice first
"Signature does not match"Sign exact message: b402 Incognito EOA Derivation
"No spendable UTXOs"Wait 2 min after funding invoice

Privacy for the agent economy | Built on Railgun | https://clawpay.dev

README.md

No README available.

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 clawpay?

Run openclaw add @mmchougule/clawpay-2 in your terminal. This installs clawpay 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/mmchougule/clawpay-2. Review commits and README documentation before installing.