aawp-skill 1.5.0 → 1.5.1
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/README.md +50 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -169,6 +169,56 @@ All LP fees flow back to the AAWP wallet automatically.
|
|
|
169
169
|
|
|
170
170
|
---
|
|
171
171
|
|
|
172
|
+
### Yield / DeFi
|
|
173
|
+
|
|
174
|
+
Earn yield via **Aave V3** (Base, Ethereum, Arbitrum, Optimism, Polygon) and **Venus Protocol** (BSC).
|
|
175
|
+
|
|
176
|
+
```bash
|
|
177
|
+
node scripts/yield.js --chain base rates # Browse supply/borrow APYs
|
|
178
|
+
node scripts/yield.js --chain base supply USDC 100 # Supply 100 USDC
|
|
179
|
+
node scripts/yield.js --chain base withdraw USDC 50 # Withdraw 50 USDC
|
|
180
|
+
node scripts/yield.js --chain base borrow USDC 200 # Borrow against collateral
|
|
181
|
+
node scripts/yield.js --chain base repay USDC 200 # Repay debt (max to clear)
|
|
182
|
+
node scripts/yield.js --chain base positions # View all open positions
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
### NFT Operations
|
|
186
|
+
|
|
187
|
+
Manage ERC-721 and ERC-1155 tokens across all 6 chains.
|
|
188
|
+
|
|
189
|
+
```bash
|
|
190
|
+
node scripts/nft.js --chain base balance # List all NFTs owned
|
|
191
|
+
node scripts/nft.js --chain base info <contract> <tokenId> # Token metadata + owner
|
|
192
|
+
node scripts/nft.js --chain base transfer <contract> <tokenId> <to>
|
|
193
|
+
node scripts/nft.js --chain base approve <contract> <tokenId> <operator>
|
|
194
|
+
node scripts/nft.js --chain base mint <contract> [tokenId] # ERC-1155 mint
|
|
195
|
+
node scripts/nft.js --chain base floor <contract> # Floor price (OpenSea/BscScan)
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
### Limit Orders
|
|
199
|
+
|
|
200
|
+
Place on-chain limit orders via **CoW Protocol** (Base, Ethereum, Arbitrum, Optimism, Polygon) and **1inch Limit Order v4** (BSC).
|
|
201
|
+
|
|
202
|
+
```bash
|
|
203
|
+
node scripts/limit-order.js --chain base place ETH USDC 0.1 3000 # Sell 0.1 ETH at $3000
|
|
204
|
+
node scripts/limit-order.js --chain base list # Open orders
|
|
205
|
+
node scripts/limit-order.js --chain base cancel <orderUid> # Cancel
|
|
206
|
+
node scripts/limit-order.js --chain base status <orderUid> # Check fill status
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
### Cross-chain Portfolio
|
|
210
|
+
|
|
211
|
+
Parallel snapshot of all balances across all 6 chains with USD pricing.
|
|
212
|
+
|
|
213
|
+
```bash
|
|
214
|
+
node scripts/portfolio.js # Full portfolio — all chains
|
|
215
|
+
node scripts/portfolio.js --chain base # Single chain breakdown
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
Output: native + ERC-20 balances, USD value per asset, total net worth.
|
|
219
|
+
|
|
220
|
+
---
|
|
221
|
+
|
|
172
222
|
### Backup & restore
|
|
173
223
|
|
|
174
224
|
```bash
|