plugin skill for clawchain agent to use pancake exchange
BSC (Binance Smart Chain) trading on PancakeSwap - wallet registration, swaps, discover tokens and pairs, funding. Skill: plugin skill for clawchain agent to use pancake exchange Owner: ketiyohanneschromaway Summary: BSC (Binance Smart Chain) trading on PancakeSwap - wallet registration, swaps, discover tokens and pairs, funding. Tags: latest:1.0.0 Version history: v1.0.0 | 2026-02-17T11:19:27.675Z | auto bsc-pancakeswap 1.3.0 introduces PancakeSwap trading support on Binance Smart Chain with wallet management and swap features.
Rank
62
Safety
84
Downloads
1.0k
Updated
Oct 11, 2026
Version
1.0.0
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 1K downloads reported by the source. Last updated 10/11/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · observed Oct 11, 2026
- Protocol compatibility
- OpenClawcompatibility · observed Oct 11, 2026
- Adoption signal
- 1K downloadsadoption · observed Oct 11, 2026
- Latest release
- 1.0.0release · observed Feb 17, 2026
- Handshake status
- UNKNOWNsecurity
Install and run
Setup complexity: low.
clawhub skill install s17ekh6ng7bw0we1gxvt2yrefn884pbv:pancake-plugin- Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-ketiyohanneschromaway-pancake-plugin/snapshot"
Run-check
$0.02 USD1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.
Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.
Documentation
CLAWHUB
14,903 characters of source documentation, loaded on request.
Extracted files
2 files captured from the source.
_meta.json
{
"ownerId": "kn7299g17v69303zbghcj6wpqd810rzc",
"slug": "pancake-plugin",
"version": "1.0.0",
"publishedAt": 1771327167675
}skills.md
---
name: bsc-pancakeswap
version: 1.3.0
description: BSC (Binance Smart Chain) trading on PancakeSwap - wallet registration, swaps, discover tokens and pairs, funding.
homepage: https://pancakeswap.finance
---
# BSC PancakeSwap Trading Skill
This skill lets the AI agent create a BSC wallet (private key + address saved in one file), **discover which tokens and swaps are available** on PancakeSwap, swap tokens, and receive top-ups from the user. The agent is not limited to specific tokens — it can resolve token addresses and check which pairs have liquidity.
## Configuration (BSC Mainnet)
```bash
export BSC_RPC_URL="https://bsc-dataseed1.binance.org"
export BSC_CHAIN_ID=56
# PancakeSwap V2 (BSC mainnet)
export PANCAKE_ROUTER="0x10ED43C718714eb63d5aA57B78B54704E256024E"
export WBNB="0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c"
```
**Block explorer:** https://bscscan.com
**PancakeSwap UI:** https://pancakeswap.finance/swap?chain=bsc
### Optional: switch to testnet
For testnet (tBNB, tCHR, etc.), use:
```bash
export BSC_RPC_URL="https://data-seed-prebsc-1-s1.binance.org:8545"
export BSC_CHAIN_ID=97
export PANCAKE_ROUTER="0xD99D1c33F9fC3444f8101754aBC46c52416550D1"
export WBNB="0xae13d989dac2f0debff460ac112a837c89baa7cd"
```
**Prerequisite:** Node.js 18+ with `ethers` (v6):
```bash
npm install ethers
# or: pnpm add ethers
```
---
## 1. Registration — Create Wallet and Save Keys to One File
The agent needs one file that stores both the **private key** and **public address** so it can sign transactions. Create it once and reuse it.
### Option A: Using Node.js (recommended)
Run this script to generate a new wallet and write it to a file:
```bash
node -e "
const fs = require('fs');
const path = require('path');
const { ethers } = require('ethers');
const wallet = ethers.Wallet.createRandom();
const dir = process.env.HOME + '/.config/bsc_agent';
fs.mkdirSync(dir, { recursive: true });
const file = dir + '/wallet.json';
fs.writeFileSync(file, JSON.stringify({
privateKey: wallet.privateKey,
address: wallet.address,
publicKey: wallet.publicKey
}, null, 2));
console.log('Wallet saved to ' + file);
console.log('Address: ' + wallet.address);
"
```
Default file location: `~/.config/bsc_agent/wallet.json`.
**File format (wallet.json):**
```json
{
"privateKey": "0x...",
"address": "0x...",
"publicKey": "0x..."
}
```
- **privateKey** — Used to sign transactions. Keep this file secret and only on the agent's machine.
- **address** — The agent's BSC account. User sends BNB/tokens to this address to top up.
- **publicKey** — Optional; derived from private key.
### Option B: Custom path
To use a different path, set the output file in the script:
```bash
export BSC_WALLET_FILE="$HOME/.config/bsc_agent/wallet.json"
# Then in the script, write to process.env.BSC_WALLET_FILE
```
### After registration
1. Read `address` and `publicKey` from `wallet.json`.
2. Tell the user: **My BSC address for top-ups is:** `<address>`
3. User must sendAionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/ketiyohanneschromaway/skills/pancake-plugin",
"sourceUrl": "https://clawhub.ai/ketiyohanneschromaway/skills/pancake-plugin",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T19:49:27.233Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-ketiyohanneschromaway-pancake-plugin/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-ketiyohanneschromaway-pancake-plugin/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-11T19:49:27.233Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1K downloads",
"href": "https://clawhub.ai/ketiyohanneschromaway/pancake-plugin",
"sourceUrl": "https://clawhub.ai/ketiyohanneschromaway/pancake-plugin",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T19:49:27.233Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.0.0",
"href": "https://clawhub.ai/ketiyohanneschromaway/pancake-plugin",
"sourceUrl": "https://clawhub.ai/ketiyohanneschromaway/pancake-plugin",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-02-17T11:19:27.675Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-ketiyohanneschromaway-pancake-plugin/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-ketiyohanneschromaway-pancake-plugin/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.0.0",
"description": "bsc-pancakeswap 1.3.0 introduces PancakeSwap trading support on Binance Smart Chain with wallet management and swap features. - Agents can create a BSC wallet with private/public key management in a local JSON file. - Users can fund the agent’s wallet directly with BNB (for gas) and any BEP-20 token. - Agents can discover any BEP-20 token/pair on PancakeSwap and resolve token addresses, names, and liquidity pairs. - Swapping between tokens via PancakeSwap is supported for any available pair. - Option to register the agent’s public key on Chromia for tracking EVM events via ClawChain. - Easy setup instructions and example scripts for wallet creation, funding, and integration with Chromia/ClawChain.",
"href": "https://clawhub.ai/ketiyohanneschromaway/pancake-plugin",
"sourceUrl": "https://clawhub.ai/ketiyohanneschromaway/pancake-plugin",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-02-17T11:19:27.675Z",
"isPublic": true
}
]
}Record generated Oct 11, 2026.
For crawlers
This page is free to read. The run-check above is the only paid part, and it answers HTTP 402 until it is paid. Everything else here is public.
- One record, as JSON: card, facts, snapshot, contract, trust.
- Every agent, one feed: /.well-known/ai-catalog.json
- What this site sells, and the price: /.well-known/x402
- Paid run-check: /api/v1/agents/clawhub-ketiyohanneschromaway-pancake-plugin/run-check
