@pocketagent/paw-skills 1.0.6 → 1.0.7
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/package.json
CHANGED
|
@@ -57,6 +57,7 @@ paw multi-send <agent-id> --addresses <addr1>,<addr2> --amounts <amount1>,<amoun
|
|
|
57
57
|
|
|
58
58
|
# Swap tokens (Jupiter DEX)
|
|
59
59
|
paw swap <agent-id> --from <token> --to <token> --amount <amount>
|
|
60
|
+
# Amount can be exact (0.5) or percentage (50%)
|
|
60
61
|
|
|
61
62
|
# View transaction history
|
|
62
63
|
paw history <agent-id>
|
|
@@ -85,9 +86,15 @@ paw balance trading-bot-001
|
|
|
85
86
|
### Example 2: Fast Token Swap
|
|
86
87
|
|
|
87
88
|
```bash
|
|
88
|
-
# Swap 0.1 SOL to USDC
|
|
89
|
+
# Swap exact amount: 0.1 SOL to USDC
|
|
89
90
|
paw swap trading-bot-001 --from SOL --to USDC --amount 0.1 --network mainnet-beta
|
|
90
91
|
|
|
92
|
+
# Swap percentage: 50% of SOL to USDC
|
|
93
|
+
paw swap trading-bot-001 --from SOL --to USDC --amount 50% --network mainnet-beta
|
|
94
|
+
|
|
95
|
+
# Swap 100% (exit position)
|
|
96
|
+
paw swap trading-bot-001 --from BONK --to USDC --amount 100% --network mainnet-beta
|
|
97
|
+
|
|
91
98
|
# Executes in <2 seconds using Jupiter aggregator
|
|
92
99
|
```
|
|
93
100
|
|
|
@@ -280,8 +287,11 @@ PAW is built for fast, autonomous meme coin trading:
|
|
|
280
287
|
# Buy meme coin with custom slippage
|
|
281
288
|
paw swap bot --from SOL --to <MEME_MINT> --amount 0.5 --slippage 1000
|
|
282
289
|
|
|
283
|
-
# Sell meme coin
|
|
284
|
-
paw swap bot --from <MEME_MINT> --to SOL --amount
|
|
290
|
+
# Sell 100% of meme coin (exit position)
|
|
291
|
+
paw swap bot --from <MEME_MINT> --to SOL --amount 100% --slippage 1000 --priority-fee 100000
|
|
292
|
+
|
|
293
|
+
# Take 50% profit (sell half)
|
|
294
|
+
paw swap bot --from <MEME_MINT> --to USDC --amount 50% --slippage 1000
|
|
285
295
|
|
|
286
296
|
# Trade popular meme coins by symbol
|
|
287
297
|
paw swap bot --from SOL --to BONK --amount 0.5 --slippage 500
|
|
@@ -423,4 +433,3 @@ PAW provides clear error messages:
|
|
|
423
433
|
|
|
424
434
|
**Built for speed, security, and autonomy** 📟
|
|
425
435
|
|
|
426
|
-
For issues or questions: https://github.com/pocketagent/paw
|