clodds 1.2.9 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/skills/bundled/acp/SKILL.md +188 -0
- package/dist/skills/bundled/acp/index.d.ts +0 -3
- package/dist/skills/bundled/acp/index.js +1 -1
- package/dist/skills/bundled/acp/index.js.map +1 -1
- package/dist/skills/bundled/agentbets/SKILL.md +19 -0
- package/dist/skills/bundled/ai-strategy/SKILL.md +111 -0
- package/dist/skills/bundled/ai-strategy/index.js +1 -1
- package/dist/skills/bundled/ai-strategy/index.js.map +1 -1
- package/dist/skills/bundled/alerts/SKILL.md +87 -0
- package/dist/skills/bundled/analytics/SKILL.md +252 -0
- package/dist/skills/bundled/analytics/index.js +2 -2
- package/dist/skills/bundled/analytics/index.js.map +1 -1
- package/dist/skills/bundled/arbitrage/SKILL.md +287 -0
- package/dist/skills/bundled/auto-reply/SKILL.md +285 -0
- package/dist/skills/bundled/auto-reply/index.js +2 -2
- package/dist/skills/bundled/auto-reply/index.js.map +1 -1
- package/dist/skills/bundled/automation/SKILL.md +242 -0
- package/dist/skills/bundled/automation/index.js +2 -2
- package/dist/skills/bundled/automation/index.js.map +1 -1
- package/dist/skills/bundled/backtest/SKILL.md +225 -0
- package/dist/skills/bundled/bags/SKILL.md +131 -0
- package/dist/skills/bundled/bankr/SKILL.md +114 -0
- package/dist/skills/bundled/betfair/SKILL.md +113 -0
- package/dist/skills/bundled/binance-futures/SKILL.md +84 -0
- package/dist/skills/bundled/binance-futures/index.d.ts +0 -3
- package/dist/skills/bundled/binance-futures/index.js +1 -2
- package/dist/skills/bundled/binance-futures/index.js.map +1 -1
- package/dist/skills/bundled/botchan/SKILL.md +66 -0
- package/dist/skills/bundled/botchan/index.d.ts +0 -3
- package/dist/skills/bundled/botchan/index.js +0 -1
- package/dist/skills/bundled/botchan/index.js.map +1 -1
- package/dist/skills/bundled/bridge/SKILL.md +215 -0
- package/dist/skills/bundled/bybit-futures/SKILL.md +84 -0
- package/dist/skills/bundled/bybit-futures/index.d.ts +0 -3
- package/dist/skills/bundled/bybit-futures/index.js +0 -1
- package/dist/skills/bundled/bybit-futures/index.js.map +1 -1
- package/dist/skills/bundled/clanker/SKILL.md +125 -0
- package/dist/skills/bundled/clanker/index.d.ts +0 -3
- package/dist/skills/bundled/clanker/index.js +0 -1
- package/dist/skills/bundled/clanker/index.js.map +1 -1
- package/dist/skills/bundled/copy-trading/SKILL.md +285 -0
- package/dist/skills/bundled/copy-trading/index.js +2 -2
- package/dist/skills/bundled/copy-trading/index.js.map +1 -1
- package/dist/skills/bundled/copy-trading-solana/SKILL.md +66 -0
- package/dist/skills/bundled/credentials/SKILL.md +261 -0
- package/dist/skills/bundled/crypto-hft/SKILL.md +121 -0
- package/dist/skills/bundled/dca/SKILL.md +27 -0
- package/dist/skills/bundled/dex/SKILL.md +87 -0
- package/dist/skills/bundled/divergence/SKILL.md +83 -0
- package/dist/skills/bundled/doctor/SKILL.md +267 -0
- package/dist/skills/bundled/doctor/index.js +2 -8
- package/dist/skills/bundled/doctor/index.js.map +1 -1
- package/dist/skills/bundled/drift/SKILL.md +53 -0
- package/dist/skills/bundled/drift-sdk/SKILL.md +103 -0
- package/dist/skills/bundled/drift-sdk/index.d.ts +0 -3
- package/dist/skills/bundled/drift-sdk/index.js +0 -1
- package/dist/skills/bundled/drift-sdk/index.js.map +1 -1
- package/dist/skills/bundled/edge/SKILL.md +84 -0
- package/dist/skills/bundled/embeddings/SKILL.md +244 -0
- package/dist/skills/bundled/endaoment/SKILL.md +65 -0
- package/dist/skills/bundled/endaoment/index.d.ts +0 -3
- package/dist/skills/bundled/endaoment/index.js +0 -1
- package/dist/skills/bundled/endaoment/index.js.map +1 -1
- package/dist/skills/bundled/ens/SKILL.md +63 -0
- package/dist/skills/bundled/ens/index.d.ts +0 -3
- package/dist/skills/bundled/ens/index.js +0 -1
- package/dist/skills/bundled/ens/index.js.map +1 -1
- package/dist/skills/bundled/erc8004/SKILL.md +79 -0
- package/dist/skills/bundled/erc8004/index.d.ts +0 -3
- package/dist/skills/bundled/erc8004/index.js +0 -1
- package/dist/skills/bundled/erc8004/index.js.map +1 -1
- package/dist/skills/bundled/execution/SKILL.md +278 -0
- package/dist/skills/bundled/farcaster/SKILL.md +80 -0
- package/dist/skills/bundled/features/SKILL.md +20 -0
- package/dist/skills/bundled/feeds/SKILL.md +288 -0
- package/dist/skills/bundled/harden/SKILL.md +74 -0
- package/dist/skills/bundled/history/SKILL.md +257 -0
- package/dist/skills/bundled/hyperliquid/SKILL.md +200 -0
- package/dist/skills/bundled/hyperliquid/index.d.ts +0 -3
- package/dist/skills/bundled/hyperliquid/index.js +0 -1
- package/dist/skills/bundled/hyperliquid/index.js.map +1 -1
- package/dist/skills/bundled/identity/SKILL.md +228 -0
- package/dist/skills/bundled/identity/index.js +2 -2
- package/dist/skills/bundled/identity/index.js.map +1 -1
- package/dist/skills/bundled/integrations/SKILL.md +321 -0
- package/dist/skills/bundled/integrations/index.js +2 -2
- package/dist/skills/bundled/integrations/index.js.map +1 -1
- package/dist/skills/bundled/jupiter/SKILL.md +163 -0
- package/dist/skills/bundled/kamino/SKILL.md +69 -0
- package/dist/skills/bundled/ledger/SKILL.md +20 -0
- package/dist/skills/bundled/lighter/SKILL.md +83 -0
- package/dist/skills/bundled/lighter/index.d.ts +0 -3
- package/dist/skills/bundled/lighter/index.js +0 -1
- package/dist/skills/bundled/lighter/index.js.map +1 -1
- package/dist/skills/bundled/marginfi/SKILL.md +62 -0
- package/dist/skills/bundled/market-index/SKILL.md +242 -0
- package/dist/skills/bundled/market-index/index.js +1 -3
- package/dist/skills/bundled/market-index/index.js.map +1 -1
- package/dist/skills/bundled/markets/SKILL.md +49 -0
- package/dist/skills/bundled/mcp/SKILL.md +235 -0
- package/dist/skills/bundled/mcp/index.js +1 -3
- package/dist/skills/bundled/mcp/index.js.map +1 -1
- package/dist/skills/bundled/memory/SKILL.md +209 -0
- package/dist/skills/bundled/metaculus/SKILL.md +62 -0
- package/dist/skills/bundled/meteora/SKILL.md +28 -0
- package/dist/skills/bundled/meteora-dbc/SKILL.md +25 -0
- package/dist/skills/bundled/metrics/SKILL.md +338 -0
- package/dist/skills/bundled/mev/SKILL.md +239 -0
- package/dist/skills/bundled/mev/index.js +2 -2
- package/dist/skills/bundled/mev/index.js.map +1 -1
- package/dist/skills/bundled/mexc-futures/SKILL.md +86 -0
- package/dist/skills/bundled/mexc-futures/index.d.ts +0 -3
- package/dist/skills/bundled/mexc-futures/index.js +0 -1
- package/dist/skills/bundled/mexc-futures/index.js.map +1 -1
- package/dist/skills/bundled/mm/SKILL.md +142 -0
- package/dist/skills/bundled/monitoring/SKILL.md +249 -0
- package/dist/skills/bundled/news/SKILL.md +95 -0
- package/dist/skills/bundled/onchainkit/SKILL.md +83 -0
- package/dist/skills/bundled/opinion/SKILL.md +87 -0
- package/dist/skills/bundled/opportunity/SKILL.md +308 -0
- package/dist/skills/bundled/orca/SKILL.md +28 -0
- package/dist/skills/bundled/pairing/SKILL.md +275 -0
- package/dist/skills/bundled/pancakeswap/SKILL.md +93 -0
- package/dist/skills/bundled/pancakeswap/index.d.ts +0 -3
- package/dist/skills/bundled/pancakeswap/index.js +0 -1
- package/dist/skills/bundled/pancakeswap/index.js.map +1 -1
- package/dist/skills/bundled/percolator/SKILL.md +22 -0
- package/dist/skills/bundled/permissions/SKILL.md +269 -0
- package/dist/skills/bundled/permissions/index.js +2 -2
- package/dist/skills/bundled/permissions/index.js.map +1 -1
- package/dist/skills/bundled/plugins/SKILL.md +263 -0
- package/dist/skills/bundled/plugins/index.js +2 -2
- package/dist/skills/bundled/plugins/index.js.map +1 -1
- package/dist/skills/bundled/portfolio/SKILL.md +161 -0
- package/dist/skills/bundled/portfolio/index.js +1 -1
- package/dist/skills/bundled/portfolio/index.js.map +1 -1
- package/dist/skills/bundled/portfolio-sync/SKILL.md +466 -0
- package/dist/skills/bundled/positions/SKILL.md +262 -0
- package/dist/skills/bundled/predictfun/SKILL.md +109 -0
- package/dist/skills/bundled/predictfun/index.js +1 -1
- package/dist/skills/bundled/predictfun/index.js.map +1 -1
- package/dist/skills/bundled/predictit/SKILL.md +66 -0
- package/dist/skills/bundled/presence/SKILL.md +217 -0
- package/dist/skills/bundled/presence/index.js +2 -2
- package/dist/skills/bundled/presence/index.js.map +1 -1
- package/dist/skills/bundled/processes/SKILL.md +254 -0
- package/dist/skills/bundled/pump-swarm/SKILL.md +309 -0
- package/dist/skills/bundled/pumpfun/SKILL.md +145 -0
- package/dist/skills/bundled/qmd/SKILL.md +129 -0
- package/dist/skills/bundled/qrcoin/SKILL.md +60 -0
- package/dist/skills/bundled/qrcoin/index.d.ts +0 -3
- package/dist/skills/bundled/qrcoin/index.js +0 -1
- package/dist/skills/bundled/qrcoin/index.js.map +1 -1
- package/dist/skills/bundled/raydium/SKILL.md +198 -0
- package/dist/skills/bundled/remote/SKILL.md +201 -0
- package/dist/skills/bundled/research/SKILL.md +83 -0
- package/dist/skills/bundled/research/index.js +2 -2
- package/dist/skills/bundled/research/index.js.map +1 -1
- package/dist/skills/bundled/risk/SKILL.md +323 -0
- package/dist/skills/bundled/router/SKILL.md +233 -0
- package/dist/skills/bundled/routing/SKILL.md +258 -0
- package/dist/skills/bundled/sandbox/SKILL.md +257 -0
- package/dist/skills/bundled/search-config/SKILL.md +257 -0
- package/dist/skills/bundled/search-config/index.js +2 -2
- package/dist/skills/bundled/search-config/index.js.map +1 -1
- package/dist/skills/bundled/sessions/SKILL.md +251 -0
- package/dist/skills/bundled/sessions/index.js +1 -1
- package/dist/skills/bundled/sessions/index.js.map +1 -1
- package/dist/skills/bundled/setup/SKILL.md +53 -0
- package/dist/skills/bundled/shield/SKILL.md +21 -0
- package/dist/skills/bundled/signals/SKILL.md +106 -0
- package/dist/skills/bundled/signals/index.d.ts +0 -3
- package/dist/skills/bundled/signals/index.js +3 -4
- package/dist/skills/bundled/signals/index.js.map +1 -1
- package/dist/skills/bundled/sizing/SKILL.md +238 -0
- package/dist/skills/bundled/slippage/SKILL.md +306 -0
- package/dist/skills/bundled/smarkets/SKILL.md +107 -0
- package/dist/skills/bundled/solend/SKILL.md +63 -0
- package/dist/skills/bundled/strategy/SKILL.md +266 -0
- package/dist/skills/bundled/streaming/SKILL.md +150 -0
- package/dist/skills/bundled/streaming/index.js +2 -2
- package/dist/skills/bundled/streaming/index.js.map +1 -1
- package/dist/skills/bundled/tailscale/SKILL.md +249 -0
- package/dist/skills/bundled/tailscale/index.js +2 -2
- package/dist/skills/bundled/tailscale/index.js.map +1 -1
- package/dist/skills/bundled/ticks/SKILL.md +61 -0
- package/dist/skills/bundled/token-security/SKILL.md +18 -0
- package/dist/skills/bundled/trading-evm/SKILL.md +329 -0
- package/dist/skills/bundled/trading-futures/SKILL.md +865 -0
- package/dist/skills/bundled/trading-kalshi/SKILL.md +629 -0
- package/dist/skills/bundled/trading-manifold/SKILL.md +387 -0
- package/dist/skills/bundled/trading-polymarket/SKILL.md +1080 -0
- package/dist/skills/bundled/trading-solana/SKILL.md +418 -0
- package/dist/skills/bundled/trading-system/SKILL.md +290 -0
- package/dist/skills/bundled/triggers/SKILL.md +433 -0
- package/dist/skills/bundled/tts/SKILL.md +220 -0
- package/dist/skills/bundled/tweet-ideas/SKILL.md +77 -0
- package/dist/skills/bundled/usage/SKILL.md +239 -0
- package/dist/skills/bundled/usage/index.js +2 -2
- package/dist/skills/bundled/usage/index.js.map +1 -1
- package/dist/skills/bundled/veil/SKILL.md +76 -0
- package/dist/skills/bundled/veil/index.d.ts +0 -3
- package/dist/skills/bundled/veil/index.js +0 -1
- package/dist/skills/bundled/veil/index.js.map +1 -1
- package/dist/skills/bundled/verify/SKILL.md +199 -0
- package/dist/skills/bundled/verify/index.d.ts +0 -3
- package/dist/skills/bundled/verify/index.js +0 -1
- package/dist/skills/bundled/verify/index.js.map +1 -1
- package/dist/skills/bundled/virtuals/SKILL.md +82 -0
- package/dist/skills/bundled/voice/SKILL.md +217 -0
- package/dist/skills/bundled/voice/index.js +2 -2
- package/dist/skills/bundled/voice/index.js.map +1 -1
- package/dist/skills/bundled/weather/SKILL.md +80 -0
- package/dist/skills/bundled/webhooks/SKILL.md +297 -0
- package/dist/skills/bundled/webhooks/index.js +2 -2
- package/dist/skills/bundled/webhooks/index.js.map +1 -1
- package/dist/skills/bundled/whale-tracking/SKILL.md +287 -0
- package/dist/skills/bundled/whale-tracking/index.js +2 -2
- package/dist/skills/bundled/whale-tracking/index.js.map +1 -1
- package/dist/skills/bundled/yoink/SKILL.md +54 -0
- package/dist/skills/bundled/yoink/index.d.ts +0 -3
- package/dist/skills/bundled/yoink/index.js +0 -1
- package/dist/skills/bundled/yoink/index.js.map +1 -1
- package/dist/skills/executor.js +5 -3
- package/dist/skills/executor.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,309 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: pump-swarm
|
|
3
|
+
description: "Coordinated multi-wallet trading on Pump.fun"
|
|
4
|
+
command: swarm
|
|
5
|
+
emoji: "🐝"
|
|
6
|
+
gates:
|
|
7
|
+
envs:
|
|
8
|
+
- SOLANA_PRIVATE_KEY
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Pump.fun Swarm Trading
|
|
12
|
+
|
|
13
|
+
Coordinate up to **20 wallets** to execute synchronized trades on Pump.fun tokens.
|
|
14
|
+
|
|
15
|
+
## Quick Start
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
# Set up wallets
|
|
19
|
+
export SOLANA_PRIVATE_KEY="your-main-wallet-key" # wallet_0
|
|
20
|
+
export SOLANA_SWARM_KEY_1="second-wallet-key" # wallet_1
|
|
21
|
+
export SOLANA_SWARM_KEY_2="third-wallet-key" # wallet_2
|
|
22
|
+
# ... up to SOLANA_SWARM_KEY_20
|
|
23
|
+
|
|
24
|
+
# Optional
|
|
25
|
+
export SOLANA_RPC_URL="https://your-rpc.com"
|
|
26
|
+
export PUMPPORTAL_API_KEY="your-api-key"
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Commands
|
|
30
|
+
|
|
31
|
+
### Wallet Management
|
|
32
|
+
|
|
33
|
+
```
|
|
34
|
+
/swarm wallets List all swarm wallets with addresses
|
|
35
|
+
/swarm balances Fetch SOL balances from chain
|
|
36
|
+
/swarm enable <wallet_id> Enable a wallet for trading
|
|
37
|
+
/swarm disable <wallet_id> Disable a wallet
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### Trading
|
|
41
|
+
|
|
42
|
+
```
|
|
43
|
+
/swarm buy <mint> <sol> [options] Buy with all enabled wallets
|
|
44
|
+
/swarm sell <mint> <amount|%> [opts] Sell from wallets with positions
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
### Position Management
|
|
48
|
+
|
|
49
|
+
```
|
|
50
|
+
/swarm position <mint> Show cached token positions
|
|
51
|
+
/swarm refresh <mint> Fetch fresh positions from chain (required before sell)
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
## Execution Modes
|
|
55
|
+
|
|
56
|
+
| Mode | Flag | Best For | Description |
|
|
57
|
+
|------|------|----------|-------------|
|
|
58
|
+
| **Parallel** | `--parallel` | Speed (>5 wallets) | All wallets execute simultaneously |
|
|
59
|
+
| **Bundle** | `--bundle` | Atomicity (≤5) | Single Jito bundle, all-or-nothing |
|
|
60
|
+
| **Multi-Bundle** | `--multi-bundle` | Atomicity (6-20) | Multiple Jito bundles in parallel |
|
|
61
|
+
| **Sequential** | `--sequential` | Stealth | Staggered 200-400ms delays |
|
|
62
|
+
|
|
63
|
+
### Auto Mode Selection (Default)
|
|
64
|
+
- 1 wallet → Parallel (direct submit)
|
|
65
|
+
- 2-5 wallets → Single Jito Bundle
|
|
66
|
+
- 6-20 wallets → Multi-Bundle (chunks of 5)
|
|
67
|
+
|
|
68
|
+
## Other Options
|
|
69
|
+
|
|
70
|
+
| Option | Description |
|
|
71
|
+
|--------|-------------|
|
|
72
|
+
| `--preset <name>` | Apply a saved preset |
|
|
73
|
+
| `--wallets <id1,id2>` | Use specific wallets only |
|
|
74
|
+
| `--slippage <bps>` | Slippage tolerance (default: 500 = 5%) |
|
|
75
|
+
| `--pool <pool>` | Pool: pump, raydium, auto (pumpfun only) |
|
|
76
|
+
| `--dex <dex>` | DEX: pumpfun (default), bags, meteora |
|
|
77
|
+
| `--pool-address <addr>` | Specific pool address (for Meteora) |
|
|
78
|
+
|
|
79
|
+
## Examples
|
|
80
|
+
|
|
81
|
+
```bash
|
|
82
|
+
# Buy 0.1 SOL worth on each enabled wallet (auto mode)
|
|
83
|
+
/swarm buy ABC123mint... 0.1
|
|
84
|
+
|
|
85
|
+
# Buy with specific wallets only
|
|
86
|
+
/swarm buy ABC123mint... 0.2 --wallets wallet_0,wallet_1
|
|
87
|
+
|
|
88
|
+
# Buy with a preset
|
|
89
|
+
/swarm buy ABC123mint... 0.1 --preset stealth
|
|
90
|
+
|
|
91
|
+
# Sell 100% with multiple Jito bundles (for >5 wallets)
|
|
92
|
+
/swarm sell ABC123mint... 100% --multi-bundle
|
|
93
|
+
|
|
94
|
+
# Sell 50% with staggered timing (stealth mode)
|
|
95
|
+
/swarm sell ABC123mint... 50% --sequential
|
|
96
|
+
|
|
97
|
+
# Sell with preset
|
|
98
|
+
/swarm sell ABC123mint... 100% --preset fast
|
|
99
|
+
|
|
100
|
+
# Check positions before selling
|
|
101
|
+
/swarm refresh ABC123mint...
|
|
102
|
+
/swarm position ABC123mint...
|
|
103
|
+
|
|
104
|
+
# Multi-DEX examples
|
|
105
|
+
/swarm buy ABC123mint... 0.1 --dex bags # Buy on Bags.fm
|
|
106
|
+
/swarm buy ABC123mint... 0.1 --dex meteora # Buy on Meteora DLMM
|
|
107
|
+
/swarm sell ABC123mint... 100% --dex bags # Sell on Bags.fm
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
## Execution Modes Deep Dive
|
|
111
|
+
|
|
112
|
+
### Parallel (Default for >5 wallets)
|
|
113
|
+
- **Speed:** All wallets submit simultaneously via `Promise.all`
|
|
114
|
+
- **Risk:** No atomicity - some may succeed, others fail
|
|
115
|
+
- **Use when:** Speed is priority, or bundles keep failing
|
|
116
|
+
|
|
117
|
+
### Jito Bundle (Default for 2-5 wallets)
|
|
118
|
+
- **Atomic:** All transactions succeed or all fail together
|
|
119
|
+
- **MEV-protected:** No front-running between your own wallets
|
|
120
|
+
- **Cost:** ~10,000 lamports tip per bundle
|
|
121
|
+
- **Limit:** Max 5 transactions per bundle (Jito constraint)
|
|
122
|
+
|
|
123
|
+
### Multi-Bundle (Recommended for 6-20 wallets)
|
|
124
|
+
- **Chunked:** Splits wallets into groups of 5
|
|
125
|
+
- **Parallel bundles:** All chunks submit simultaneously
|
|
126
|
+
- **Partial atomicity:** Each chunk is atomic, but chunks are independent
|
|
127
|
+
- **Example:** 12 wallets → 3 bundles of [5, 5, 2] wallets
|
|
128
|
+
|
|
129
|
+
### Sequential (Stealth mode)
|
|
130
|
+
- **Staggered:** 200-400ms random delay between wallets
|
|
131
|
+
- **Amount variance:** ±5% to avoid detection patterns
|
|
132
|
+
- **Rate limited:** 5 seconds minimum between trades per wallet
|
|
133
|
+
- **Use when:** Want to avoid pattern detection
|
|
134
|
+
|
|
135
|
+
## How It Works
|
|
136
|
+
|
|
137
|
+
### Buy Flow
|
|
138
|
+
1. Refreshes SOL balances from chain
|
|
139
|
+
2. Filters wallets with sufficient balance (≥0.01 SOL + amount)
|
|
140
|
+
3. Builds transaction for each wallet via PumpPortal API
|
|
141
|
+
4. Signs all transactions locally
|
|
142
|
+
5. Submits via selected execution mode
|
|
143
|
+
6. Reports results per wallet
|
|
144
|
+
|
|
145
|
+
### Sell Flow
|
|
146
|
+
1. **Fetches actual token balances from chain** (critical!)
|
|
147
|
+
2. Filters wallets with positions
|
|
148
|
+
3. Calculates sell amount (% of position or exact)
|
|
149
|
+
4. Builds and signs transactions
|
|
150
|
+
5. Submits via selected execution mode
|
|
151
|
+
6. Reports results per wallet
|
|
152
|
+
|
|
153
|
+
## Safety Features
|
|
154
|
+
|
|
155
|
+
- **Balance check:** Verifies sufficient SOL before buy
|
|
156
|
+
- **Position check:** Fetches real token balances before sell
|
|
157
|
+
- **Max amount:** Rejects buy amounts > 10 SOL per wallet
|
|
158
|
+
- **Confirmation timeout:** 60 second timeout per transaction
|
|
159
|
+
- **Error reporting:** Shows detailed errors per wallet
|
|
160
|
+
- **Bundle fallback:** Failed bundles automatically retry as parallel
|
|
161
|
+
|
|
162
|
+
## Configuration
|
|
163
|
+
|
|
164
|
+
| Env Variable | Description |
|
|
165
|
+
|--------------|-------------|
|
|
166
|
+
| `SOLANA_PRIVATE_KEY` | Main wallet (wallet_0) |
|
|
167
|
+
| `SOLANA_SWARM_KEY_1..20` | Additional swarm wallets |
|
|
168
|
+
| `SOLANA_RPC_URL` | Custom RPC endpoint (faster = better) |
|
|
169
|
+
| `PUMPPORTAL_API_KEY` | PumpPortal API key (optional, for pumpfun) |
|
|
170
|
+
| `BAGS_API_KEY` | Bags.fm API key (required for bags DEX) |
|
|
171
|
+
|
|
172
|
+
## Multi-DEX Support
|
|
173
|
+
|
|
174
|
+
The swarm system supports trading across multiple DEXes:
|
|
175
|
+
|
|
176
|
+
| DEX | Flag | Best For | Requires |
|
|
177
|
+
|-----|------|----------|----------|
|
|
178
|
+
| Pump.fun | `--dex pumpfun` (default) | Memecoins, new launches | `PUMPPORTAL_API_KEY` (optional) |
|
|
179
|
+
| Bags.fm | `--dex bags` | Bags-launched tokens | `BAGS_API_KEY` |
|
|
180
|
+
| Meteora | `--dex meteora` | DLMM pools, concentrated liquidity | - |
|
|
181
|
+
|
|
182
|
+
### Multi-DEX Examples
|
|
183
|
+
|
|
184
|
+
```bash
|
|
185
|
+
# Buy on Pump.fun (default)
|
|
186
|
+
/swarm buy ABC123... 0.1
|
|
187
|
+
|
|
188
|
+
# Buy on Bags.fm
|
|
189
|
+
/swarm buy ABC123... 0.1 --dex bags
|
|
190
|
+
|
|
191
|
+
# Buy on Meteora with specific pool
|
|
192
|
+
/swarm buy ABC123... 0.1 --dex meteora --pool-address <pool_address>
|
|
193
|
+
|
|
194
|
+
# Sell on Bags.fm with stealth preset
|
|
195
|
+
/swarm sell ABC123... 100% --dex bags --preset stealth
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
### Notes
|
|
199
|
+
- Default DEX is `pumpfun` for backward compatibility
|
|
200
|
+
- Bags requires `BAGS_API_KEY` - will error if missing
|
|
201
|
+
- Meteora can auto-discover pools or use a specific `--pool-address`
|
|
202
|
+
- All execution modes (parallel, bundle, sequential) work with all DEXes
|
|
203
|
+
- Presets work with all DEXes
|
|
204
|
+
|
|
205
|
+
## Agent Tools (12)
|
|
206
|
+
|
|
207
|
+
| Tool | Description |
|
|
208
|
+
|------|-------------|
|
|
209
|
+
| `swarm_wallets` | List all swarm wallets |
|
|
210
|
+
| `swarm_balances` | Refresh SOL balances from chain |
|
|
211
|
+
| `swarm_buy` | Coordinated buy across wallets (supports `preset` param) |
|
|
212
|
+
| `swarm_sell` | Coordinated sell across wallets (supports `preset` param) |
|
|
213
|
+
| `swarm_position` | Get cached positions |
|
|
214
|
+
| `swarm_refresh` | Fetch fresh positions from chain |
|
|
215
|
+
| `swarm_enable` | Enable a wallet |
|
|
216
|
+
| `swarm_disable` | Disable a wallet |
|
|
217
|
+
| `swarm_preset_save` | Save a trading preset |
|
|
218
|
+
| `swarm_preset_list` | List saved presets |
|
|
219
|
+
| `swarm_preset_get` | Get preset details |
|
|
220
|
+
| `swarm_preset_delete` | Delete a preset |
|
|
221
|
+
|
|
222
|
+
## Scaling Notes
|
|
223
|
+
|
|
224
|
+
- **Max wallets:** 20 (wallet_0 + SOLANA_SWARM_KEY_1..20)
|
|
225
|
+
- **Jito bundle limit:** 5 txs per bundle (handled automatically)
|
|
226
|
+
- **Multi-bundle parallel:** All bundles submit simultaneously
|
|
227
|
+
- **RPC recommendation:** Use dedicated RPC for best performance
|
|
228
|
+
- **Tip amount:** 10,000 lamports per bundle (~$0.002)
|
|
229
|
+
|
|
230
|
+
## Presets
|
|
231
|
+
|
|
232
|
+
Save and reuse trading configurations across tokens and strategies.
|
|
233
|
+
|
|
234
|
+
### Preset Commands
|
|
235
|
+
|
|
236
|
+
```bash
|
|
237
|
+
/swarm preset save <name> [options] Save a preset
|
|
238
|
+
/swarm preset list [type] List presets
|
|
239
|
+
/swarm preset show <name> Show preset details
|
|
240
|
+
/swarm preset delete <name> Delete a preset
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
### Preset Save Options
|
|
244
|
+
|
|
245
|
+
| Option | Description |
|
|
246
|
+
|--------|-------------|
|
|
247
|
+
| `--type <type>` | Preset type: strategy, token, wallet_group |
|
|
248
|
+
| `--desc "..."` | Preset description |
|
|
249
|
+
| `--mint <addr>` | Token address (for token presets) |
|
|
250
|
+
| `--amount <sol>` | Default SOL per wallet |
|
|
251
|
+
| `--slippage <bps>` | Slippage in basis points |
|
|
252
|
+
| `--pool <pool>` | Pool: pump, raydium, auto |
|
|
253
|
+
| `--mode <mode>` | parallel, bundle, multi-bundle, sequential |
|
|
254
|
+
| `--wallets <ids>` | Wallet IDs (for wallet_group presets) |
|
|
255
|
+
|
|
256
|
+
### Built-in Presets
|
|
257
|
+
|
|
258
|
+
| Name | Mode | Slippage | Pool | Use Case |
|
|
259
|
+
|------|------|----------|------|----------|
|
|
260
|
+
| `fast` | parallel | 5% | auto | Speed priority |
|
|
261
|
+
| `atomic` | multi-bundle | 5% | auto | All-or-nothing execution |
|
|
262
|
+
| `stealth` | sequential | 3% | auto | Pattern avoidance |
|
|
263
|
+
| `aggressive` | parallel | 10% | pump | High volatility tokens |
|
|
264
|
+
| `safe` | bundle | 2% | auto | Conservative trading |
|
|
265
|
+
|
|
266
|
+
### Preset Examples
|
|
267
|
+
|
|
268
|
+
```bash
|
|
269
|
+
# Create a custom strategy preset
|
|
270
|
+
/swarm preset save my_stealth --type strategy --mode sequential --slippage 300
|
|
271
|
+
|
|
272
|
+
# Create a token preset for BONK
|
|
273
|
+
/swarm preset save bonk_entry --type token --mint DezXAZ... --slippage 1000 --amount 0.1
|
|
274
|
+
|
|
275
|
+
# Create a wallet group preset
|
|
276
|
+
/swarm preset save top5 --type wallet_group --wallets wallet_0,wallet_1,wallet_2,wallet_3,wallet_4
|
|
277
|
+
|
|
278
|
+
# List all presets
|
|
279
|
+
/swarm preset list
|
|
280
|
+
|
|
281
|
+
# List only strategy presets
|
|
282
|
+
/swarm preset list strategy
|
|
283
|
+
|
|
284
|
+
# Use preset in trade
|
|
285
|
+
/swarm buy ABC... 0.1 --preset my_stealth
|
|
286
|
+
/swarm sell ABC... 100% --preset fast
|
|
287
|
+
|
|
288
|
+
# Delete a preset
|
|
289
|
+
/swarm preset delete old_preset
|
|
290
|
+
```
|
|
291
|
+
|
|
292
|
+
### Preset Types
|
|
293
|
+
|
|
294
|
+
| Type | Purpose |
|
|
295
|
+
|------|---------|
|
|
296
|
+
| `strategy` | Reusable trading settings (mode, slippage, pool) |
|
|
297
|
+
| `token` | Token-specific settings with saved mint address |
|
|
298
|
+
| `wallet_group` | Named wallet combinations for specific trades |
|
|
299
|
+
|
|
300
|
+
## Troubleshooting
|
|
301
|
+
|
|
302
|
+
| Issue | Solution |
|
|
303
|
+
|-------|----------|
|
|
304
|
+
| Bundle keeps failing | Try `--parallel` or check network congestion |
|
|
305
|
+
| Positions not showing | Run `/swarm refresh <mint>` first |
|
|
306
|
+
| Insufficient balance | Check with `/swarm balances` |
|
|
307
|
+
| Slow execution | Use dedicated RPC via `SOLANA_RPC_URL` |
|
|
308
|
+
| Some wallets skipped | Wallet disabled or insufficient balance |
|
|
309
|
+
| Preset not found | Check name with `/swarm preset list` |
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: pumpfun
|
|
3
|
+
description: "Pump.fun - Complete Solana memecoin launchpad. Discovery, trending, gainers, losers, token data all work without a key. Trading requires SOLANA_PRIVATE_KEY."
|
|
4
|
+
command: pump
|
|
5
|
+
emoji: "🚀"
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Pump.fun - Complete API Coverage (32 Tools)
|
|
9
|
+
|
|
10
|
+
Pump.fun is the leading Solana memecoin launchpad with bonding curve trading.
|
|
11
|
+
|
|
12
|
+
## Trading
|
|
13
|
+
|
|
14
|
+
```
|
|
15
|
+
/pump buy <mint> <amount> [options] Buy tokens (amount in SOL)
|
|
16
|
+
/pump sell <mint> <amount|%> [options] Sell tokens (amount or percentage)
|
|
17
|
+
/pump quote <mint> <amount> <action> Get swap quote
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
**Options:**
|
|
21
|
+
- `--pool <pool>` - Pool: pump, raydium, pump-amm, launchlab, bonk, auto
|
|
22
|
+
- `--slippage <bps>` - Slippage in basis points (default: 500 = 5%)
|
|
23
|
+
- `--priority <lamports>` - Priority fee for faster execution
|
|
24
|
+
|
|
25
|
+
**Examples:**
|
|
26
|
+
```
|
|
27
|
+
/pump buy ABC123... 0.1
|
|
28
|
+
/pump buy ABC123... 0.5 --pool auto --slippage 1000
|
|
29
|
+
/pump sell ABC123... 100%
|
|
30
|
+
/pump sell ABC123... 50% --pool raydium
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Discovery
|
|
34
|
+
|
|
35
|
+
```
|
|
36
|
+
/pump trending Top tokens by 24h volume (DexScreener enriched)
|
|
37
|
+
/pump gainers Top 24h price gainers
|
|
38
|
+
/pump losers Top 24h price losers
|
|
39
|
+
/pump hot Most active right now (1h transactions)
|
|
40
|
+
/pump new-hot Hottest new tokens by volume
|
|
41
|
+
/pump new Recently created tokens
|
|
42
|
+
/pump live Currently trading tokens
|
|
43
|
+
/pump graduated Tokens migrated to Raydium
|
|
44
|
+
/pump search <query> Search tokens by name/symbol
|
|
45
|
+
/pump volatile High volatility tokens
|
|
46
|
+
/pump koth King of the Hill (30-35K mcap)
|
|
47
|
+
/pump for-you Personalized recommendations
|
|
48
|
+
/pump metas Trending narratives/keywords
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Token Data
|
|
52
|
+
|
|
53
|
+
```
|
|
54
|
+
/pump token <mint> Full token info
|
|
55
|
+
/pump stats <mint> Volume, txns, liquidity, price change (DexScreener)
|
|
56
|
+
/pump price <mint> Current price + 24h stats
|
|
57
|
+
/pump holders <mint> Top holders list
|
|
58
|
+
/pump trades <mint> [--limit N] Recent trades for token
|
|
59
|
+
/pump chart <mint> [--interval X] OHLCV price chart
|
|
60
|
+
/pump similar <mint> Find similar tokens
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
**Intervals:** 1m, 5m, 15m, 1h, 4h, 1d
|
|
64
|
+
|
|
65
|
+
## Creator Tools
|
|
66
|
+
|
|
67
|
+
```
|
|
68
|
+
/pump user-coins <address> Tokens created by wallet
|
|
69
|
+
/pump create <name> <symbol> <desc> Launch new token
|
|
70
|
+
/pump claim <mint> Claim creator fees
|
|
71
|
+
/pump ipfs-upload <name> <symbol> <desc> Upload metadata to IPFS
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
**Create Options:**
|
|
75
|
+
- `--image <url>` - Token image URL
|
|
76
|
+
- `--twitter <url>` - Twitter link
|
|
77
|
+
- `--telegram <url>` - Telegram link
|
|
78
|
+
- `--website <url>` - Website link
|
|
79
|
+
- `--initial <SOL>` - Initial buy amount
|
|
80
|
+
|
|
81
|
+
## Platform Data
|
|
82
|
+
|
|
83
|
+
```
|
|
84
|
+
/pump latest-trades [--limit N] Latest trades platform-wide
|
|
85
|
+
/pump sol-price Current SOL price
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
## Monitoring (WebSocket)
|
|
89
|
+
|
|
90
|
+
```
|
|
91
|
+
/pump watch <mint> Watch token for real-time trades
|
|
92
|
+
/pump snipe <symbol> Wait for token with symbol to launch
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
## Configuration
|
|
96
|
+
|
|
97
|
+
```bash
|
|
98
|
+
export SOLANA_PRIVATE_KEY="your-private-key"
|
|
99
|
+
export PUMPPORTAL_API_KEY="your-api-key" # Optional, for trading API
|
|
100
|
+
export SOLANA_RPC_URL="your-rpc-url" # Optional, custom RPC
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
## Pool Options
|
|
104
|
+
|
|
105
|
+
| Pool | Description |
|
|
106
|
+
|------|-------------|
|
|
107
|
+
| `pump` | Pump.fun bonding curve (default) |
|
|
108
|
+
| `raydium` | Raydium AMM (graduated tokens) |
|
|
109
|
+
| `pump-amm` | Pump.fun native AMM |
|
|
110
|
+
| `launchlab` | LaunchLab pools |
|
|
111
|
+
| `raydium-cpmm` | Raydium CPMM pools |
|
|
112
|
+
| `bonk` | Bonk pools |
|
|
113
|
+
| `auto` | Automatic best route |
|
|
114
|
+
|
|
115
|
+
## API Sources
|
|
116
|
+
|
|
117
|
+
- **Trading:** PumpPortal (pumpportal.fun) - 0.5% fee
|
|
118
|
+
- **Data:** Pump.fun Frontend API v3 (frontend-api-v3.pump.fun)
|
|
119
|
+
- **Analytics:** Advanced API v2 (advanced-api-v2.pump.fun)
|
|
120
|
+
- **Volatility:** Volatility API v2 (volatility-api-v2.pump.fun)
|
|
121
|
+
- **WebSocket:** wss://pumpportal.fun/api/data
|
|
122
|
+
|
|
123
|
+
## Complete Tool List (32 Tools)
|
|
124
|
+
|
|
125
|
+
| Category | Tools |
|
|
126
|
+
|----------|-------|
|
|
127
|
+
| **Trading** | trade (buy/sell), quote |
|
|
128
|
+
| **Discovery** | trending, gainers, losers, hot, new-hot, new, live, graduated, search, volatile, koth, for-you, metas |
|
|
129
|
+
| **Token Data** | token, stats, price, holders, trades, chart, similar |
|
|
130
|
+
| **Creator** | user-coins, create, claim, ipfs-upload |
|
|
131
|
+
| **Platform** | latest-trades, sol-price |
|
|
132
|
+
|
|
133
|
+
## Features
|
|
134
|
+
|
|
135
|
+
- Bonding curve trading with automatic graduation
|
|
136
|
+
- Multi-pool routing (Pump, Raydium, CPMM, etc.)
|
|
137
|
+
- Token creation with IPFS metadata upload
|
|
138
|
+
- Creator fee claiming
|
|
139
|
+
- Real-time trade streaming via WebSocket
|
|
140
|
+
- Token sniping support
|
|
141
|
+
- OHLCV charts and analytics
|
|
142
|
+
- Holder analysis
|
|
143
|
+
- Trending metas/narratives discovery
|
|
144
|
+
- Similar token recommendations
|
|
145
|
+
- Platform-wide trade feed
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: qmd
|
|
3
|
+
description: Local hybrid search for markdown notes and docs. Use when searching notes, finding related content, or retrieving documents from indexed collections.
|
|
4
|
+
homepage: https://github.com/tobi/qmd
|
|
5
|
+
metadata: {"clawdbot":{"emoji":"🔍","os":["darwin","linux"],"requires":{"bins":["qmd"]},"install":[{"id":"bun-qmd","kind":"shell","command":"bun install -g https://github.com/tobi/qmd","bins":["qmd"],"label":"Install qmd via Bun"}]}}
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# qmd - Quick Markdown Search
|
|
9
|
+
|
|
10
|
+
Local search engine for Markdown notes, docs, and knowledge bases. Index once, search fast.
|
|
11
|
+
|
|
12
|
+
## When to use (trigger phrases)
|
|
13
|
+
|
|
14
|
+
- "search my notes / docs / knowledge base"
|
|
15
|
+
- "find related notes"
|
|
16
|
+
- "retrieve a markdown document from my collection"
|
|
17
|
+
- "search local markdown files"
|
|
18
|
+
|
|
19
|
+
## Default behavior (important)
|
|
20
|
+
|
|
21
|
+
- Prefer `qmd search` (BM25). It's typically instant and should be the default.
|
|
22
|
+
- Use `qmd vsearch` only when keyword search fails and you need semantic similarity (can be very slow on a cold start).
|
|
23
|
+
- Avoid `qmd query` unless the user explicitly wants the highest quality hybrid results and can tolerate long runtimes/timeouts.
|
|
24
|
+
|
|
25
|
+
## Prerequisites
|
|
26
|
+
|
|
27
|
+
- Bun >= 1.0.0
|
|
28
|
+
- macOS: `brew install sqlite` (SQLite extensions)
|
|
29
|
+
- Ensure PATH includes: `$HOME/.bun/bin`
|
|
30
|
+
|
|
31
|
+
Install Bun (macOS): `brew install oven-sh/bun/bun`
|
|
32
|
+
|
|
33
|
+
## Install
|
|
34
|
+
|
|
35
|
+
`bun install -g https://github.com/tobi/qmd`
|
|
36
|
+
|
|
37
|
+
## Setup
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
qmd collection add /path/to/notes --name notes --mask "**/*.md"
|
|
41
|
+
qmd context add qmd://notes "Description of this collection" # optional
|
|
42
|
+
qmd embed # one-time to enable vector + hybrid search
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## What it indexes
|
|
46
|
+
|
|
47
|
+
- Intended for Markdown collections (commonly `**/*.md`).
|
|
48
|
+
- In our testing, "messy" Markdown is fine: chunking is content-based (roughly a few hundred tokens per chunk), not strict heading/structure based.
|
|
49
|
+
- Not a replacement for code search; use code search tools for repositories/source trees.
|
|
50
|
+
|
|
51
|
+
## Search modes
|
|
52
|
+
|
|
53
|
+
- `qmd search` (default): fast keyword match (BM25)
|
|
54
|
+
- `qmd vsearch` (last resort): semantic similarity (vector). Often slow due to local LLM work before the vector lookup.
|
|
55
|
+
- `qmd query` (generally skip): hybrid search + LLM reranking. Often slower than `vsearch` and may timeout.
|
|
56
|
+
|
|
57
|
+
## Performance notes
|
|
58
|
+
|
|
59
|
+
- `qmd search` is typically instant.
|
|
60
|
+
- `qmd vsearch` can be ~1 minute on some machines because query expansion may load a local model (e.g., Qwen3-1.7B) into memory per run; the vector lookup itself is usually fast.
|
|
61
|
+
- `qmd query` adds LLM reranking on top of `vsearch`, so it can be even slower and less reliable for interactive use.
|
|
62
|
+
- If you need repeated semantic searches, consider keeping the process/model warm (e.g., a long-lived qmd/MCP server mode if available in your setup) rather than invoking a cold-start LLM each time.
|
|
63
|
+
|
|
64
|
+
## Common commands
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
qmd search "query" # default
|
|
68
|
+
qmd vsearch "query"
|
|
69
|
+
qmd query "query"
|
|
70
|
+
qmd search "query" -c notes # Search specific collection
|
|
71
|
+
qmd search "query" -n 10 # More results
|
|
72
|
+
qmd search "query" --json # JSON output
|
|
73
|
+
qmd search "query" --all --files --min-score 0.3
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
## Useful options
|
|
77
|
+
|
|
78
|
+
- `-n <num>`: number of results
|
|
79
|
+
- `-c, --collection <name>`: restrict to a collection
|
|
80
|
+
- `--all --min-score <num>`: return all matches above a threshold
|
|
81
|
+
- `--json` / `--files`: agent-friendly output formats
|
|
82
|
+
- `--full`: return full document content
|
|
83
|
+
|
|
84
|
+
## Retrieve
|
|
85
|
+
|
|
86
|
+
```bash
|
|
87
|
+
qmd get "path/to/file.md" # Full document
|
|
88
|
+
qmd get "#docid" # By ID from search results
|
|
89
|
+
qmd multi-get "journals/2025-05*.md"
|
|
90
|
+
qmd multi-get "doc1.md, doc2.md, #abc123" --json
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
## Maintenance
|
|
94
|
+
|
|
95
|
+
```bash
|
|
96
|
+
qmd status # Index health
|
|
97
|
+
qmd update # Re-index changed files
|
|
98
|
+
qmd embed # Update embeddings
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
## Keeping the index fresh
|
|
102
|
+
|
|
103
|
+
Automate indexing so results stay current as you add/edit notes.
|
|
104
|
+
|
|
105
|
+
- For keyword search (`qmd search`), `qmd update` is usually enough (fast).
|
|
106
|
+
- If you rely on semantic/hybrid search (`vsearch`/`query`), you may also want `qmd embed`, but it can be slow.
|
|
107
|
+
|
|
108
|
+
Example schedules (cron):
|
|
109
|
+
|
|
110
|
+
```bash
|
|
111
|
+
# Hourly incremental updates (keeps BM25 fresh):
|
|
112
|
+
0 * * * * export PATH="$HOME/.bun/bin:$PATH" && qmd update
|
|
113
|
+
|
|
114
|
+
# Optional: nightly embedding refresh (can be slow):
|
|
115
|
+
0 5 * * * export PATH="$HOME/.bun/bin:$PATH" && qmd embed
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
If your Clawdbot/agent environment supports a built-in scheduler, you can run the same commands there instead of system cron.
|
|
119
|
+
|
|
120
|
+
## Models and cache
|
|
121
|
+
|
|
122
|
+
- Uses local GGUF models; first run auto-downloads them.
|
|
123
|
+
- Default cache: `~/.cache/qmd/models/` (override with `XDG_CACHE_HOME`).
|
|
124
|
+
|
|
125
|
+
## Relationship to Clawdbot memory search
|
|
126
|
+
|
|
127
|
+
- `qmd` searches *your local files* (notes/docs) that you explicitly index into collections.
|
|
128
|
+
- Clawdbot's `memory_search` searches *agent memory* (saved facts/context from prior interactions).
|
|
129
|
+
- Use both: `memory_search` for "what did we decide/learn before?", `qmd` for "what's in my notes/docs on disk?".
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: qrcoin
|
|
3
|
+
description: "Participate in QR Coin auctions on Base - bid to display URLs on QR codes"
|
|
4
|
+
command: qr
|
|
5
|
+
emoji: "📱"
|
|
6
|
+
gates:
|
|
7
|
+
envs:
|
|
8
|
+
- PRIVATE_KEY
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# QR Coin Auction
|
|
12
|
+
|
|
13
|
+
Participate in [QR Coin](https://qrcoin.fun) auctions on Base blockchain. Bid to display URLs on QR codes.
|
|
14
|
+
|
|
15
|
+
## Contracts (Base)
|
|
16
|
+
|
|
17
|
+
| Contract | Address |
|
|
18
|
+
|----------|---------|
|
|
19
|
+
| QR Auction | `0x7309779122069EFa06ef71a45AE0DB55A259A176` |
|
|
20
|
+
| USDC | `0x833589fCD6eDb6E08f4c7c32D4f71b54bdA02913` |
|
|
21
|
+
|
|
22
|
+
## How It Works
|
|
23
|
+
|
|
24
|
+
1. Each auction runs ~24 hours
|
|
25
|
+
2. Bidders submit URLs with USDC
|
|
26
|
+
3. Creating a new bid: ~11.11 USDC
|
|
27
|
+
4. Contributing to existing bid: ~1.00 USDC
|
|
28
|
+
5. Highest bid wins; winner's URL encoded in QR code
|
|
29
|
+
|
|
30
|
+
## Commands
|
|
31
|
+
|
|
32
|
+
### Status
|
|
33
|
+
```
|
|
34
|
+
/qr status Current auction info
|
|
35
|
+
/qr bids List active bids
|
|
36
|
+
/qr reserves Check reserve prices
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### Bidding
|
|
40
|
+
```
|
|
41
|
+
/qr bid <url> <name> Create new bid (~11 USDC)
|
|
42
|
+
/qr contribute <url> <name> Contribute to existing bid (~1 USDC)
|
|
43
|
+
/qr approve <amount> Approve USDC for bidding
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Examples
|
|
47
|
+
|
|
48
|
+
```
|
|
49
|
+
/qr status
|
|
50
|
+
/qr bid https://mysite.com "MyProject"
|
|
51
|
+
/qr contribute https://mysite.com "MyProject"
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
## Setup
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
export PRIVATE_KEY="0x..." # Your wallet key
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
Requires USDC on Base for bidding.
|