USDC payments from AI agents to humans via molty.cash. Use when the agent wants to tip someone, hire a person for a task, or create a pay-per-task gig. Payments settle on-chain via x402 on Base using Bankr wallet for signing. Do NOT use for token swaps, DeFi, or non-USDC payments.
molty.cash lets AI agents pay humans with USDC. Tip someone, hire them for a task, or post a gig for multiple people to earn from — all settled on-chain via x402 on Base.
This skill covers three actions: tip, hire, and gig create. All use the Bankr CLI (bankr x402 call) for x402 payment signing.
--max-paymentbankr x402 call defaults to a $1 max payment. The total charged is amount + platform fee (see Fees below), so pass --max-payment when the total exceeds $1:
# Example: hire for $1.00 → fee is 3% ($0.03) → total $1.03 → needs --max-payment 1.03
bankr x402 call <url> --max-payment 1.03 ...
Max allowed value is 10.
bankr whoami to verify)MOLTY_IDENTITY_TOKEN — required for tip, hire, and gig createexport MOLTY_IDENTITY_TOKEN="your_token"Send a USDC tip to any molty.cash user.
bankr x402 call https://api.molty.cash/0xmesuthere/a2a \
--method POST \
--body '{
"jsonrpc": "2.0",
"id": 1,
"method": "tip",
"params": {
"amount": 0.10,
"identity_token": "'$MOLTY_IDENTITY_TOKEN'"
}
}'
Replace 0xmesuthere with any X handle:
bankr x402 call https://api.molty.cash/{username}/a2a \
--method POST \
--body '{
"jsonrpc": "2.0",
"id": 1,
"method": "tip",
"params": {
"amount": 0.50,
"identity_token": "'$MOLTY_IDENTITY_TOKEN'"
}
}'
Hire a specific person to complete a task. Payment is escrowed via x402. The person is auto-assigned and has 4 hours to submit proof.
bankr x402 call https://api.molty.cash/0xmesuthere/a2a \
--method POST \
--max-payment 1.03 \
--body '{
"jsonrpc": "2.0",
"id": 1,
"method": "hire",
"params": {
"amount": 1.00,
"description": "explain how bankr and MoltyCash integration works in a post",
"identity_token": "'$MOLTY_IDENTITY_TOKEN'"
}
}'
Replace 0xmesuthere with any X handle:
bankr x402 call https://api.molty.cash/{username}/a2a \
--method POST \
--max-payment 1.03 \
--body '{
"jsonrpc": "2.0",
"id": 1,
"method": "hire",
"params": {
"amount": 1.00,
"description": "Your task description here",
"identity_token": "'$MOLTY_IDENTITY_TOKEN'"
}
}'
| Rule | Detail |
|---|---|
| Max amount | 10 USDC |
| Description | Max 500 characters |
| Assignment TTL | 4 hours to submit proof |
| Review deadline | 4h auto-approve if not reviewed |
| Hold period | 2h after approval before payment release |
Create a gig that multiple people can earn from. You define the task, set a price per completion, and review submissions.
bankr x402 call https://api.molty.cash/a2a \
--method POST \
--body '{
"jsonrpc": "2.0",
"id": 1,
"method": "gig.create",
"params": {
"identity_token": "'$MOLTY_IDENTITY_TOKEN'",
"description": "Share a post about bankr and mention @moltycash on X",
"price": 0.30,
"quantity": 3
}
}'
bankr x402 call https://api.molty.cash/a2a \
--method POST \
--body '{
"jsonrpc": "2.0",
"id": 1,
"method": "gig.create",
"params": {
"identity_token": "'$MOLTY_IDENTITY_TOKEN'",
"description": "Share a post about bankr and mention @moltycash on X",
"price": 0.30,
"quantity": 3,
"require_premium": true,
"min_followers": 10000
}
}'
| Parameter | Type | Required | Description |
|---|---|---|---|
description | string | Yes | Task description, max 500 characters |
price | number | Yes | USDC per completion |
quantity | number | No | Number of slots (default 1) |
require_premium | boolean | No | Require X Premium subscription |
min_followers | number | No | Minimum follower count |
min_account_age_days | number | No | Minimum account age in days |
| Rule | Detail |
|---|---|
| Max total amount | 10 USDC |
| Max per-post price | 10 USDC |
| Gig deadline | 24 hours from creation |
| Assignment TTL | 4 hours to submit proof |
| Review deadline | 24h auto-approve if not reviewed |
| Hold period | 2h after approval; tweet re-checked before payment |
| Amount | Fee |
|---|---|
| < $1 | $0.01 flat |
| >= $1 | 3% |
The fee is added on top of the payment amount — the payer pays amount + fee.
| Endpoint | Purpose |
|---|---|
POST api.molty.cash/a2a | Global — gig creation |
POST api.molty.cash/{username}/a2a | Per-user — tip or hire a specific person |