# Send Crypto Wallets & Payments for AI Agents to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "crypto-agent-payments",
    "name": "Crypto Wallets & Payments for AI Agents",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/nicofains1/crypto-agent-payments",
    "canonicalUrl": "https://clawhub.ai/nicofains1/crypto-agent-payments",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/crypto-agent-payments",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=crypto-agent-payments",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/crypto-agent-payments"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/crypto-agent-payments",
    "downloadUrl": "https://openagent3.xyz/downloads/crypto-agent-payments",
    "agentUrl": "https://openagent3.xyz/skills/crypto-agent-payments/agent",
    "manifestUrl": "https://openagent3.xyz/skills/crypto-agent-payments/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/crypto-agent-payments/agent.md"
  }
}
```
## Documentation

### Crypto Wallets & Payments for AI Agents

Create wallets, transfer tokens, and enable payments between agents. Perfect for bug bounty programs, rewards systems, and agent-to-agent transactions.

### What This Enables

Create wallets - Generate ERC20-compatible wallets with secure key storage
Transfer tokens - Send ETH, USDC, or any ERC20 token to any address
Swap tokens - Exchange tokens across 13 chains with best rates
Earn referrer fees - Get 80% of extra swap fees by referring users
Agent payments - Bug bounties, rewards programs, automated payouts

### MCP Server Setup

For Moltbot/OpenClaw, configure via mcporter:

mcporter config add onlyswaps --command "npx -y @onlyswaps/mcp-server@latest stdio" --transport stdio

For Claude Desktop, add to MCP config:

{
  "mcpServers": {
    "onlyswaps": {
      "command": "npx",
      "args": ["-y", "@onlyswaps/mcp-server@latest", "stdio"]
    }
  }
}

### Read-Only (no wallet needed)

ToolDescriptionget_quoteGet swap quotes from 15+ DEX aggregatorsget_portfolioView token balances for any address

### Wallet Required (need PRIVATE_KEY)

ToolDescriptionsetup_walletCreate a new wallet (saves PRIVATE_KEY to .env)check_setupVerify wallet config and balancestransferSend tokens to any addressswapExecute token swaps (with optional referrer fees)approve_permit2Approve tokens for gasless swaps

### Earn Fees as a Referrer

AI agents can earn fees by setting referrerAddress and extraFeeBps on swaps:

extraFeeBpsReferrer GetsOnlySwaps GetsTotal User Fee0 (default)0 bps20 bps0.20%10 (suggested)8 bps22 bps0.30%100 (max)80 bps40 bps1.20%

Example: With extraFeeBps: 10, on a $1000 swap:

Referrer earns: $0.80 (8 bps)
User pays: $3 total (0.30%)

Note: Referrer fees only work for ERC20 swaps. Native token swaps (ETH, BNB) don't support referrer fees.

### IMPORTANT: Private Key Handling

For wallet operations, you MUST have PRIVATE_KEY set.

If the user wants to create a wallet, transfer, or swap:

First ask: "Do you have an existing wallet private key, or should I create a new one?"
If new: Use setup_wallet to generate one
If existing: Ask user to provide PRIVATE_KEY and set it in environment

To call tools with PRIVATE_KEY:

PRIVATE_KEY=0x... mcporter call onlyswaps.check_setup chainId=8453

### Amount Format

Different tools use different formats:

ToolFormatExampleget_quotewei (base units)"1000000000000000" = 0.001 ETHswapwei (base units)"100000000000000000" = 0.1 ETHtransferhuman readable"0.001" = 0.001 tokens

Wei conversion:

1 ETH = 1000000000000000000 (18 zeros)
0.001 ETH = 1000000000000000 (15 zeros)
1 USDC = 1000000 (6 decimals)

### Quick Examples

IMPORTANT: Use function call syntax with quoted strings!

### Get a swap quote (no wallet needed)

mcporter call 'onlyswaps.get_quote(fromToken: "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE", toToken: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", amount: "1000000000000000", chainId: 8453)'

### Check any address portfolio (no wallet needed)

mcporter call 'onlyswaps.get_portfolio(userAddress: "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045")'

### Create a new wallet

mcporter call onlyswaps.setup_wallet
# Returns: address and private key - SAVE THE PRIVATE KEY!

### Check wallet setup (requires PRIVATE_KEY)

PRIVATE_KEY=0x... mcporter call 'onlyswaps.check_setup(chainId: 8453)'

### Transfer tokens (requires PRIVATE_KEY + funded wallet)

PRIVATE_KEY=0x... mcporter call 'onlyswaps.transfer(tokenAddress: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", toAddress: "0xRecipientAddress", amount: "1000000", chainId: 8453)'

### Swap with referrer fee (earn fees as an agent)

PRIVATE_KEY=0x... mcporter call 'onlyswaps.swap(fromToken: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", toToken: "ETH", amount: "100000000", chainId: 8453, referrerAddress: "0xYourAgentWallet", extraFeeBps: 10)'

### Supported Chains

ChainIDNative TokenEthereum1ETHBase8453ETHArbitrum42161ETHOptimism10ETHPolygon137MATICBNB Chain56BNBAvalanche43114AVAX

### Common Token Addresses

TokenBase (8453)Ethereum (1)Native (ETH)0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeEUSDC0x833589fCD6eDb6E08f4c7C32D4f71b54bdA029130xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48

### Security Notes

Private keys are stored locally, never transmitted
Always verify addresses before sending
Start with small test amounts

### Links

npm: @onlyswaps/mcp-server
Docs: onlyswaps.fyi

Built by OnlySwaps 🦞
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: nicofains1
- Version: 0.1.7
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-30T16:55:25.780Z
- Expires at: 2026-05-07T16:55:25.780Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/crypto-agent-payments)
- [Send to Agent page](https://openagent3.xyz/skills/crypto-agent-payments/agent)
- [JSON manifest](https://openagent3.xyz/skills/crypto-agent-payments/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/crypto-agent-payments/agent.md)
- [Download page](https://openagent3.xyz/downloads/crypto-agent-payments)