[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6GQ8BT75Y3SJR8TMFEPC6DK":3,"skill-same:01M6GQ8BT75Y3SJR8TMFEPC6DK":181},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":33,"linkOnly":34,"markdownContent":35,"markdownBody":36,"frontMatter":37,"refName":38,"commitSha":39,"skillDirectory":40,"forksCount":41,"repositoryHtmlUrl":42,"repositoryHomepageUrl":6,"ownerHtmlUrl":43,"ownerBlogUrl":44,"ownerDescription":45,"updatedAt":46,"install":47,"resources":60},"01M6GQ8BT75Y3SJR8TMFEPC6DK","near-intents",null,"Universal cross-chain swap & bridge skill for OpenClaw using the NEAR Intents 1Click SDK. Supports 14+ blockchains including NEAR, Base, Ethereum, Solana, and Bitcoin.","jiayaoqijia\u002Fcryptoskill","jiayaoqijia","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1453879?v=4","01M6GMYTX7Q7S504VC6E756ENR","YQ","01M6GMYV1QKJ1CC75MTTGT9PR0",81,"AGPL-3.0","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fnear\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32],"intents","near","near intents","openclaw","sdk","ethereum","bitcoin","bridge","cross-chain","solana","base","swap","chain","for","2026-11-10 10:12:30",false,"---\nname: near-intents\ndescription: Universal cross-chain swap & bridge skill for OpenClaw using the NEAR Intents 1Click SDK. Supports 14+ blockchains including NEAR, Base, Ethereum, Solana, and Bitcoin.\n---\n\n# NEAR Intents Skill — 1Click SDK\n\n## ? TL;DR\n\n**What it does**: Universal cross-chain swap & bridge tool powered by the [1Click API](https:\u002F\u002Fdocs.near-intents.org\u002Fnear-intents\u002Fintegration\u002Fdistribution-channels\u002F1click-api) and the [`@defuse-protocol\u002Fone-click-sdk-typescript`](https:\u002F\u002Fgithub.com\u002Fdefuse-protocol\u002Fone-click-sdk-typescript) SDK.\n\n**Supported chains**: NEAR, Base, Ethereum, Arbitrum, Solana, BSC, Gnosis, Starknet, Bitcoin, Dogecoin, Zcash, Litecoin.\n\n**How it works**:\n1. Get a quote from the 1Click API → receive a deposit address\n2. Send tokens to the deposit address on the origin chain\n3. 1Click handles the swap\u002Fbridge automatically\n4. Tokens arrive at the recipient address on the destination chain\n\n**Key facts**:\n- Minimum ~$0.10 USD per swap\n- NEAR account only required when the *origin* asset is on NEAR\n- No NEAR account needed for cross-chain swaps from other chains (e.g., Arb USDC → Sol USDC)\n- JWT authentication optional but avoids 0.2% fee → register at [partners.near-intents.org](https:\u002F\u002Fpartners.near-intents.org\u002F)\n\n---\n\n## Core Concept\n\nAll swaps go through the **1Click API** (`https:\u002F\u002F1click.chaindefuser.com`):\n\n```\nUser Wallet ──► [Deposit to 1Click address] ──► Market Makers ──► Recipient on Destination Chain\n```\n\nThere is **no need to interact with `intents.near` directly** — the 1Click API abstracts everything.\n\n---\n\n## `executeIntent()` API\n\nThe single entry point exported by `index.ts`:\n\n```typescript\nimport { executeIntent } from '.\u002Findex';\n\nconst result = await executeIntent({\n  assetIn: 'NEAR',           \u002F\u002F Origin token (see Asset Naming below)\n  assetOut: 'base:USDC',     \u002F\u002F Destination token\n  amount: '1.0',             \u002F\u002F Human-readable amount\n  recipient: '0x...',        \u002F\u002F Destination address (optional if same-chain NEAR)\n  mode: 'auto',              \u002F\u002F 'auto' (default) or 'manual'\n  swapType: 'EXACT_INPUT',   \u002F\u002F 'EXACT_INPUT' (default) or 'EXACT_OUTPUT'\n});\n```\n\n### Parameters\n\n| Parameter   | Type   | Required | Description |\n|-------------|--------|----------|-------------|\n| `assetIn`   | string | ✅ | Origin asset symbol (e.g., `'NEAR'`, `'base:USDC'`, `'arb:ARB'`) |\n| `assetOut`  | string | ✅ | Destination asset symbol |\n| `amount`    | string | ✅ | Human-readable amount (e.g., `'1.0'`, `'0.5'`) |\n| `recipient` | string | ❌ | Destination address. Required for cross-chain. Defaults to NEAR account |\n| `refundAddress` | string | ⚠️ | **REQUIRED for non-NEAR origins**. Address on origin chain for refunds if swap fails. **CRITICAL for fund safety!** |\n| `mode`      | string | ❌ | `'auto'` sends deposit automatically from NEAR account. `'manual'` returns quote + deposit address for user to send manually |\n| `swapType`  | string | ❌ | `'EXACT_INPUT'` (amount = input), `'EXACT_OUTPUT'` (amount = desired output) |\n\n### ⚠️ CRITICAL: Refund Address Safety\n\n**When `assetIn` is on a non-NEAR chain** (e.g., `'base:USDC'`, `'arb:ARB'`, `'btc:BTC'`):\n\n1. **`refundAddress` is REQUIRED** — the function will throw an error if missing\n2. **ALWAYS ask the user** for their wallet address on the origin chain\n3. **NEVER assume or guess** — using the wrong address = permanent fund loss\n4. **Explain to the user**: \"If the swap fails, your tokens will be refunded to this address\"\n\n**Example**:\n```typescript\n\u002F\u002F ❌ WRONG - Missing refundAddress for non-NEAR origin\nawait executeIntent({\n  assetIn: 'base:USDC',  \u002F\u002F Base origin\n  assetOut: 'NEAR',\n  amount: '0.5',\n  recipient: 'user.near',\n  mode: 'manual'\n});\n\u002F\u002F → Error: Cross-chain swap from base:USDC requires refundAddress parameter\n\n\u002F\u002F ✅ CORRECT - User's Base wallet address provided\nawait executeIntent({\n  assetIn: 'base:USDC',\n  assetOut: 'NEAR',\n  amount: '0.5',\n  recipient: 'user.near',\n  refundAddress: '0x123...',  \u002F\u002F User's Base address\n  mode: 'manual'\n});\n```\n\n**Why this matters**:\n- Swaps can fail due to market conditions, liquidity issues, or timing\n- Failed swaps trigger automatic refunds to `refundAddress` on the **origin chain**\n- If `refundAddress` is wrong or belongs to someone else, **funds are permanently lost**\n\n### Returns\n\n- **Auto mode**: `\"Swap Successful! 1.0 NEAR → 0.97 USDC\\nTransaction: https:\u002F\u002Fnearblocks.io\u002Ftxns\u002F...\\nExplorer: https:\u002F\u002Fexplorer.near-intents.org\u002Ftransactions\u002F...\"`\n- **Manual mode**: Formatted instructions with deposit address, amounts, tracking URL, and deadline\n\n---\n\n## Asset Naming\n\nUse `chain:SYMBOL` format. Omit chain prefix for NEAR-native tokens.\n\n| Chain     | Prefix     | Examples                          |\n|-----------|------------|-----------------------------------|\n| NEAR      | *(none)*   | `NEAR`, `USDC`, `USDT`, `wNEAR`  |\n| Base      | `base:`    | `base:USDC`                       |\n| Ethereum  | `eth:`     | `eth:ETH`, `eth:USDC`             |\n| Arbitrum  | `arb:`     | `arb:USDC`, `arb:ARB`             |\n| Solana    | `sol:`     | `sol:SOL`, `sol:USDC`             |\n| BSC       | `bsc:`     | `bsc:USDC`                        |\n| Bitcoin   | `btc:`     | `btc:BTC` *(native only)*         |\n| Dogecoin  | `doge:`    | `doge:DOGE` *(native only)*       |\n| Zcash     | `zec:`     | `zec:ZEC` *(native only)*         |\n| Litecoin  | `ltc:`     | `ltc:LTC` *(native only)*         |\n\n- **Case-insensitive**: `near`, `NEAR`, `Near` all work\n- **UTXO chains** (BTC, DOGE, ZEC, LTC): **native tokens only** — no wrapped\u002FERC-20 equivalents\n\n---\n\n## Modes\n\n### Auto Mode (default)\nAutomatically sends the deposit from the configured NEAR account.\n\n**Use when**: Origin asset is on NEAR and agent has NEAR credentials in `.env`.\n\n```typescript\nawait executeIntent({\n  assetIn: 'NEAR',\n  assetOut: 'base:USDC',\n  amount: '1.0',\n  recipient: '0xYourBaseAddress',\n});\n```\n\n### Manual Mode\nReturns a quote with deposit address — the user (or agent) sends tokens separately.\n\n**Use when**: Origin is on a non-NEAR chain, or you want to show the user a quote first.\n\n```typescript\nconst quote = await executeIntent({\n  assetIn: 'arb:USDC',\n  assetOut: 'sol:USDC',\n  amount: '5.0',\n  recipient: 'YourSolanaAddress',\n  mode: 'manual',\n});\n\u002F\u002F Returns deposit address + instructions\n```\n\n### EXACT_OUTPUT\nSpecify the desired output amount; the 1Click API tells you how much to send.\n\n```typescript\nconst quote = await executeIntent({\n  assetIn: 'USDT',\n  assetOut: 'base:USDC',\n  amount: '10.0',          \u002F\u002F Want exactly 10 USDC out\n  recipient: '0x...',\n  mode: 'manual',\n  swapType: 'EXACT_OUTPUT',\n});\n```\n\n---\n\n## Examples\n\n### 1. Swap NEAR → USDC on Base (Auto)\n```typescript\nawait executeIntent({\n  assetIn: 'NEAR',\n  assetOut: 'base:USDC',\n  amount: '1.0',\n  recipient: '0xYourBaseAddress',\n});\n```\n\n### 2. Bridge USDC from Arbitrum → Solana (Manual)\n```typescript\nconst quote = await executeIntent({\n  assetIn: 'arb:USDC',\n  assetOut: 'sol:USDC',\n  amount: '5.0',\n  recipient: 'YourSolanaAddress',\n  refundAddress: '0xYourArbitrumAddress',  \u002F\u002F REQUIRED for refunds\n  mode: 'manual',\n});\n\u002F\u002F User sends 5 USDC to the deposit address on Arbitrum\n```\n\n### 3. Swap NEAR → USDC (same chain)\n```typescript\nawait executeIntent({\n  assetIn: 'NEAR',\n  assetOut: 'USDC',\n  amount: '2.0',\n});\n```\n\n### 4. Get a quote: How much NEAR for 10 USDC on Arbitrum?\n```typescript\nconst quote = await executeIntent({\n  assetIn: 'NEAR',\n  assetOut: 'arb:USDC',\n  amount: '10.0',\n  recipient: '0xYourArbAddress',\n  mode: 'manual',\n  swapType: 'EXACT_OUTPUT',\n});\n```\n\n### 5. Send BTC to NEAR address\n```typescript\nconst quote = await executeIntent({\n  assetIn: 'btc:BTC',\n  assetOut: 'NEAR',\n  amount: '0.01',\n  recipient: 'yourname.near',\n  refundAddress: 'bc1q...',  \u002F\u002F REQUIRED - Your Bitcoin address\n  mode: 'manual',\n});\n\u002F\u002F User sends 0.01 BTC to the deposit address on Bitcoin\n```\n\n---\n\n## Configuration\n\n### `.env` file (only needed for auto mode with NEAR origin):\n```env\nNEAR_ACCOUNT_ID=your-account.near\nNEAR_PRIVATE_KEY=ed25519:your_private_key_here\nNEAR_RPC_URL=https:\u002F\u002Frpc.mainnet.fastnear.com\nNEAR_NETWORK_ID=mainnet\nONE_CLICK_JWT=optional_jwt_token\n```\n\n- `ONE_CLICK_JWT`: Register at [partners.near-intents.org](https:\u002F\u002Fpartners.near-intents.org\u002F) to avoid the 0.2% fee.\n- Skip `.env` entirely if only using manual mode for non-NEAR-origin swaps.\n\n⚠️ **Never commit `.env` to version control!**\n\n---\n\n## Under the Hood — 1Click SDK Flow\n\n```\nexecuteIntent()\n  │\n  ├─ 1. resolveToken(assetIn)  →  { symbol, decimals, assetId }\n  ├─ 2. resolveToken(assetOut) →  { symbol, decimals, assetId }\n  ├─ 3. toSmallestUnit(amount, decimals)\n  │\n  ├─ 4. OneClickService.getQuote({\n  │       originAsset, destinationAsset, amount,\n  │       refundTo, recipient, deadline, ...\n  │    })\n  │    → Returns { depositAddress, amountIn, amountOut }\n  │\n  ├─ [manual mode] → return quote instructions\n  │\n  ├─ 5. account.transfer() → send deposit to depositAddress\n  ├─ 6. OneClickService.submitDepositTx() → (optional, speeds up)\n  └─ 7. OneClickService.getExecutionStatus() → poll until SUCCESS\n```\n\n### Swap Statuses\n| Status              | Meaning |\n|---------------------|---------|\n| `PENDING_DEPOSIT`   | Waiting for deposit |\n| `PROCESSING`        | Deposit detected, market makers executing |\n| `SUCCESS`           | Tokens delivered to recipient |\n| `INCOMPLETE_DEPOSIT`| Deposit below required amount |\n| `REFUNDED`          | Swap failed, tokens returned to refund address |\n| `FAILED`            | Swap failed due to error |\n\n---\n\n## Token Map (built-in)\n\nThe code includes a static `TOKEN_MAP` for common tokens:\n\n| Key          | Asset ID (NEP-141)                                              | Decimals |\n|--------------|-----------------------------------------------------------------|----------|\n| `NEAR`       | `nep141:wrap.near`                                              | 24       |\n| `USDC`       | `nep141:17208628f84f5d6ad33f0da3bbbeb27ffcb398eac501a31bd6ad2011e36133a1` | 6 |\n| `USDT`       | `nep141:usdt.tether-token.near`                                 | 6        |\n| `base:USDC`  | `nep141:base-0x833589fcd6edb6e08f4c7c32d4f71b54bda02913.omft.near` | 6     |\n| `arb:USDC`   | `nep141:arb-0xaf88d065e77c8cc2239327c5edb3a432268e5831.omft.near` | 6     |\n| `arb:ARB`    | `nep141:arb-0x912ce59144191c1204e64559fe8253a0e49e6548.omft.near` | 18    |\n| `eth:ETH`    | `nep141:eth.omft.near`                                          | 18       |\n| `eth:USDC`   | `nep141:eth-0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.omft.near` | 6     |\n| `sol:SOL`    | `nep141:sol.omft.near`                                          | 9        |\n| `sol:USDC`   | `nep141:sol-5ce3bf3a31af18be40ba30f721101b4341690186.omft.near` | 6        |\n\nTo add more tokens: use `OneClickService.getTokens()` or check `TOKENS.md`.\n\n---\n\n## Decimals Quick Reference\n\n| Token | Decimals | `\"1.0\"` → smallest unit |\n|-------|----------|------------------------|\n| NEAR  | 24       | `1000000000000000000000000` |\n| USDC  | 6        | `1000000`              |\n| USDT  | 6        | `1000000`              |\n| ETH   | 18       | `1000000000000000000`  |\n| SOL   | 9        | `1000000000`           |\n| BTC   | 8        | `100000000`            |\n\nDecimal conversion is handled automatically by `index.ts` using `decimal.js`.\n\n---\n\n## Tracking & Explorer\n\n- **NEAR transactions**: `https:\u002F\u002Fnearblocks.io\u002Ftxns\u002F\u003CtxHash>`\n- **1Click swap status**: `https:\u002F\u002Fexplorer.near-intents.org\u002Ftransactions\u002F\u003CdepositAddress>`\n\n---\n\n## Troubleshooting\n\n| Error | Solution |\n|-------|----------|\n| `Token not found: X` | Check symbol and chain prefix. See `TOKEN_MAP` or `TOKENS.md` |\n| `No deposit address in quote response` | Solver couldn't match the pair\u002Famount. Try a different amount or pair |\n| `NEAR_ACCOUNT_ID and NEAR_PRIVATE_KEY must be set` | Configure `.env` or use `mode: 'manual'` |\n| `Swap failed with status: REFUNDED` | Tokens returned to refund address. Retry with different amount |\n| `Status polling timed out` | Check explorer URL manually. Swap may still complete |\n| 401 Authentication error | JWT is invalid or expired. Register at partners.near-intents.org |\n\n---\n\n## Dependencies\n\n```json\n{\n  \"@defuse-protocol\u002Fone-click-sdk-typescript\": \"0.1.1\",\n  \"@near-js\u002Faccounts\": \"^2.2.4\",\n  \"@near-js\u002Fcrypto\": \"^2.2.4\",\n  \"@near-js\u002Fproviders\": \"^2.2.4\",\n  \"@near-js\u002Fsigners\": \"^2.2.4\",\n  \"@near-js\u002Ftokens\": \"^2.2.4\",\n  \"decimal.js\": \"^10.4.3\",\n  \"dotenv\": \"^16.3.1\"\n}\n```\n\n---\n\n## Files Overview\n\n| File | Purpose |\n|------|---------|\n| `index.ts` | Main entry — exports `executeIntent()` |\n| `lib-1click\u002F` | Step-by-step 1Click SDK examples (get tokens, get quote, send deposit, etc.) |\n| `SKILL.md` | This file — **primary AI agent reference** |\n| `AI-AGENT-GUIDE.md` | Detailed agent workflow guide |\n| `TOKENS.md` | Full token reference with decimals and asset IDs |\n| `manifest.json` | Skill manifest for OpenClaw |\n| `README.md` | Project documentation |\n| `USAGE_GUIDE.md` | Usage patterns and troubleshooting |\n\n---\n\n## Version\n\n**v2.0.0** — Powered by [1Click SDK](https:\u002F\u002Fgithub.com\u002Fdefuse-protocol\u002Fone-click-sdk-typescript) and [NEAR Intents](https:\u002F\u002Fdocs.near-intents.org)\n\n## License\n\nMIT\n","# NEAR Intents Skill — 1Click SDK\n\n## ? TL;DR\n\n**What it does**: Universal cross-chain swap & bridge tool powered by the [1Click API](https:\u002F\u002Fdocs.near-intents.org\u002Fnear-intents\u002Fintegration\u002Fdistribution-channels\u002F1click-api) and the [`@defuse-protocol\u002Fone-click-sdk-typescript`](https:\u002F\u002Fgithub.com\u002Fdefuse-protocol\u002Fone-click-sdk-typescript) SDK.\n\n**Supported chains**: NEAR, Base, Ethereum, Arbitrum, Solana, BSC, Gnosis, Starknet, Bitcoin, Dogecoin, Zcash, Litecoin.\n\n**How it works**:\n1. Get a quote from the 1Click API → receive a deposit address\n2. Send tokens to the deposit address on the origin chain\n3. 1Click handles the swap\u002Fbridge automatically\n4. Tokens arrive at the recipient address on the destination chain\n\n**Key facts**:\n- Minimum ~$0.10 USD per swap\n- NEAR account only required when the *origin* asset is on NEAR\n- No NEAR account needed for cross-chain swaps from other chains (e.g., Arb USDC → Sol USDC)\n- JWT authentication optional but avoids 0.2% fee → register at [partners.near-intents.org](https:\u002F\u002Fpartners.near-intents.org\u002F)\n\n---\n\n## Core Concept\n\nAll swaps go through the **1Click API** (`https:\u002F\u002F1click.chaindefuser.com`):\n\n```\nUser Wallet ──► [Deposit to 1Click address] ──► Market Makers ──► Recipient on Destination Chain\n```\n\nThere is **no need to interact with `intents.near` directly** — the 1Click API abstracts everything.\n\n---\n\n## `executeIntent()` API\n\nThe single entry point exported by `index.ts`:\n\n```typescript\nimport { executeIntent } from '.\u002Findex';\n\nconst result = await executeIntent({\n  assetIn: 'NEAR',           \u002F\u002F Origin token (see Asset Naming below)\n  assetOut: 'base:USDC',     \u002F\u002F Destination token\n  amount: '1.0',             \u002F\u002F Human-readable amount\n  recipient: '0x...',        \u002F\u002F Destination address (optional if same-chain NEAR)\n  mode: 'auto',              \u002F\u002F 'auto' (default) or 'manual'\n  swapType: 'EXACT_INPUT',   \u002F\u002F 'EXACT_INPUT' (default) or 'EXACT_OUTPUT'\n});\n```\n\n### Parameters\n\n| Parameter   | Type   | Required | Description |\n|-------------|--------|----------|-------------|\n| `assetIn`   | string | ✅ | Origin asset symbol (e.g., `'NEAR'`, `'base:USDC'`, `'arb:ARB'`) |\n| `assetOut`  | string | ✅ | Destination asset symbol |\n| `amount`    | string | ✅ | Human-readable amount (e.g., `'1.0'`, `'0.5'`) |\n| `recipient` | string | ❌ | Destination address. Required for cross-chain. Defaults to NEAR account |\n| `refundAddress` | string | ⚠️ | **REQUIRED for non-NEAR origins**. Address on origin chain for refunds if swap fails. **CRITICAL for fund safety!** |\n| `mode`      | string | ❌ | `'auto'` sends deposit automatically from NEAR account. `'manual'` returns quote + deposit address for user to send manually |\n| `swapType`  | string | ❌ | `'EXACT_INPUT'` (amount = input), `'EXACT_OUTPUT'` (amount = desired output) |\n\n### ⚠️ CRITICAL: Refund Address Safety\n\n**When `assetIn` is on a non-NEAR chain** (e.g., `'base:USDC'`, `'arb:ARB'`, `'btc:BTC'`):\n\n1. **`refundAddress` is REQUIRED** — the function will throw an error if missing\n2. **ALWAYS ask the user** for their wallet address on the origin chain\n3. **NEVER assume or guess** — using the wrong address = permanent fund loss\n4. **Explain to the user**: \"If the swap fails, your tokens will be refunded to this address\"\n\n**Example**:\n```typescript\n\u002F\u002F ❌ WRONG - Missing refundAddress for non-NEAR origin\nawait executeIntent({\n  assetIn: 'base:USDC',  \u002F\u002F Base origin\n  assetOut: 'NEAR',\n  amount: '0.5',\n  recipient: 'user.near',\n  mode: 'manual'\n});\n\u002F\u002F → Error: Cross-chain swap from base:USDC requires refundAddress parameter\n\n\u002F\u002F ✅ CORRECT - User's Base wallet address provided\nawait executeIntent({\n  assetIn: 'base:USDC',\n  assetOut: 'NEAR',\n  amount: '0.5',\n  recipient: 'user.near',\n  refundAddress: '0x123...',  \u002F\u002F User's Base address\n  mode: 'manual'\n});\n```\n\n**Why this matters**:\n- Swaps can fail due to market conditions, liquidity issues, or timing\n- Failed swaps trigger automatic refunds to `refundAddress` on the **origin chain**\n- If `refundAddress` is wrong or belongs to someone else, **funds are permanently lost**\n\n### Returns\n\n- **Auto mode**: `\"Swap Successful! 1.0 NEAR → 0.97 USDC\\nTransaction: https:\u002F\u002Fnearblocks.io\u002Ftxns\u002F...\\nExplorer: https:\u002F\u002Fexplorer.near-intents.org\u002Ftransactions\u002F...\"`\n- **Manual mode**: Formatted instructions with deposit address, amounts, tracking URL, and deadline\n\n---\n\n## Asset Naming\n\nUse `chain:SYMBOL` format. Omit chain prefix for NEAR-native tokens.\n\n| Chain     | Prefix     | Examples                          |\n|-----------|------------|-----------------------------------|\n| NEAR      | *(none)*   | `NEAR`, `USDC`, `USDT`, `wNEAR`  |\n| Base      | `base:`    | `base:USDC`                       |\n| Ethereum  | `eth:`     | `eth:ETH`, `eth:USDC`             |\n| Arbitrum  | `arb:`     | `arb:USDC`, `arb:ARB`             |\n| Solana    | `sol:`     | `sol:SOL`, `sol:USDC`             |\n| BSC       | `bsc:`     | `bsc:USDC`                        |\n| Bitcoin   | `btc:`     | `btc:BTC` *(native only)*         |\n| Dogecoin  | `doge:`    | `doge:DOGE` *(native only)*       |\n| Zcash     | `zec:`     | `zec:ZEC` *(native only)*         |\n| Litecoin  | `ltc:`     | `ltc:LTC` *(native only)*         |\n\n- **Case-insensitive**: `near`, `NEAR`, `Near` all work\n- **UTXO chains** (BTC, DOGE, ZEC, LTC): **native tokens only** — no wrapped\u002FERC-20 equivalents\n\n---\n\n## Modes\n\n### Auto Mode (default)\nAutomatically sends the deposit from the configured NEAR account.\n\n**Use when**: Origin asset is on NEAR and agent has NEAR credentials in `.env`.\n\n```typescript\nawait executeIntent({\n  assetIn: 'NEAR',\n  assetOut: 'base:USDC',\n  amount: '1.0',\n  recipient: '0xYourBaseAddress',\n});\n```\n\n### Manual Mode\nReturns a quote with deposit address — the user (or agent) sends tokens separately.\n\n**Use when**: Origin is on a non-NEAR chain, or you want to show the user a quote first.\n\n```typescript\nconst quote = await executeIntent({\n  assetIn: 'arb:USDC',\n  assetOut: 'sol:USDC',\n  amount: '5.0',\n  recipient: 'YourSolanaAddress',\n  mode: 'manual',\n});\n\u002F\u002F Returns deposit address + instructions\n```\n\n### EXACT_OUTPUT\nSpecify the desired output amount; the 1Click API tells you how much to send.\n\n```typescript\nconst quote = await executeIntent({\n  assetIn: 'USDT',\n  assetOut: 'base:USDC',\n  amount: '10.0',          \u002F\u002F Want exactly 10 USDC out\n  recipient: '0x...',\n  mode: 'manual',\n  swapType: 'EXACT_OUTPUT',\n});\n```\n\n---\n\n## Examples\n\n### 1. Swap NEAR → USDC on Base (Auto)\n```typescript\nawait executeIntent({\n  assetIn: 'NEAR',\n  assetOut: 'base:USDC',\n  amount: '1.0',\n  recipient: '0xYourBaseAddress',\n});\n```\n\n### 2. Bridge USDC from Arbitrum → Solana (Manual)\n```typescript\nconst quote = await executeIntent({\n  assetIn: 'arb:USDC',\n  assetOut: 'sol:USDC',\n  amount: '5.0',\n  recipient: 'YourSolanaAddress',\n  refundAddress: '0xYourArbitrumAddress',  \u002F\u002F REQUIRED for refunds\n  mode: 'manual',\n});\n\u002F\u002F User sends 5 USDC to the deposit address on Arbitrum\n```\n\n### 3. Swap NEAR → USDC (same chain)\n```typescript\nawait executeIntent({\n  assetIn: 'NEAR',\n  assetOut: 'USDC',\n  amount: '2.0',\n});\n```\n\n### 4. Get a quote: How much NEAR for 10 USDC on Arbitrum?\n```typescript\nconst quote = await executeIntent({\n  assetIn: 'NEAR',\n  assetOut: 'arb:USDC',\n  amount: '10.0',\n  recipient: '0xYourArbAddress',\n  mode: 'manual',\n  swapType: 'EXACT_OUTPUT',\n});\n```\n\n### 5. Send BTC to NEAR address\n```typescript\nconst quote = await executeIntent({\n  assetIn: 'btc:BTC',\n  assetOut: 'NEAR',\n  amount: '0.01',\n  recipient: 'yourname.near',\n  refundAddress: 'bc1q...',  \u002F\u002F REQUIRED - Your Bitcoin address\n  mode: 'manual',\n});\n\u002F\u002F User sends 0.01 BTC to the deposit address on Bitcoin\n```\n\n---\n\n## Configuration\n\n### `.env` file (only needed for auto mode with NEAR origin):\n```env\nNEAR_ACCOUNT_ID=your-account.near\nNEAR_PRIVATE_KEY=ed25519:your_private_key_here\nNEAR_RPC_URL=https:\u002F\u002Frpc.mainnet.fastnear.com\nNEAR_NETWORK_ID=mainnet\nONE_CLICK_JWT=optional_jwt_token\n```\n\n- `ONE_CLICK_JWT`: Register at [partners.near-intents.org](https:\u002F\u002Fpartners.near-intents.org\u002F) to avoid the 0.2% fee.\n- Skip `.env` entirely if only using manual mode for non-NEAR-origin swaps.\n\n⚠️ **Never commit `.env` to version control!**\n\n---\n\n## Under the Hood — 1Click SDK Flow\n\n```\nexecuteIntent()\n  │\n  ├─ 1. resolveToken(assetIn)  →  { symbol, decimals, assetId }\n  ├─ 2. resolveToken(assetOut) →  { symbol, decimals, assetId }\n  ├─ 3. toSmallestUnit(amount, decimals)\n  │\n  ├─ 4. OneClickService.getQuote({\n  │       originAsset, destinationAsset, amount,\n  │       refundTo, recipient, deadline, ...\n  │    })\n  │    → Returns { depositAddress, amountIn, amountOut }\n  │\n  ├─ [manual mode] → return quote instructions\n  │\n  ├─ 5. account.transfer() → send deposit to depositAddress\n  ├─ 6. OneClickService.submitDepositTx() → (optional, speeds up)\n  └─ 7. OneClickService.getExecutionStatus() → poll until SUCCESS\n```\n\n### Swap Statuses\n| Status              | Meaning |\n|---------------------|---------|\n| `PENDING_DEPOSIT`   | Waiting for deposit |\n| `PROCESSING`        | Deposit detected, market makers executing |\n| `SUCCESS`           | Tokens delivered to recipient |\n| `INCOMPLETE_DEPOSIT`| Deposit below required amount |\n| `REFUNDED`          | Swap failed, tokens returned to refund address |\n| `FAILED`            | Swap failed due to error |\n\n---\n\n## Token Map (built-in)\n\nThe code includes a static `TOKEN_MAP` for common tokens:\n\n| Key          | Asset ID (NEP-141)                                              | Decimals |\n|--------------|-----------------------------------------------------------------|----------|\n| `NEAR`       | `nep141:wrap.near`                                              | 24       |\n| `USDC`       | `nep141:17208628f84f5d6ad33f0da3bbbeb27ffcb398eac501a31bd6ad2011e36133a1` | 6 |\n| `USDT`       | `nep141:usdt.tether-token.near`                                 | 6        |\n| `base:USDC`  | `nep141:base-0x833589fcd6edb6e08f4c7c32d4f71b54bda02913.omft.near` | 6     |\n| `arb:USDC`   | `nep141:arb-0xaf88d065e77c8cc2239327c5edb3a432268e5831.omft.near` | 6     |\n| `arb:ARB`    | `nep141:arb-0x912ce59144191c1204e64559fe8253a0e49e6548.omft.near` | 18    |\n| `eth:ETH`    | `nep141:eth.omft.near`                                          | 18       |\n| `eth:USDC`   | `nep141:eth-0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.omft.near` | 6     |\n| `sol:SOL`    | `nep141:sol.omft.near`                                          | 9        |\n| `sol:USDC`   | `nep141:sol-5ce3bf3a31af18be40ba30f721101b4341690186.omft.near` | 6        |\n\nTo add more tokens: use `OneClickService.getTokens()` or check `TOKENS.md`.\n\n---\n\n## Decimals Quick Reference\n\n| Token | Decimals | `\"1.0\"` → smallest unit |\n|-------|----------|------------------------|\n| NEAR  | 24       | `1000000000000000000000000` |\n| USDC  | 6        | `1000000`              |\n| USDT  | 6        | `1000000`              |\n| ETH   | 18       | `1000000000000000000`  |\n| SOL   | 9        | `1000000000`           |\n| BTC   | 8        | `100000000`            |\n\nDecimal conversion is handled automatically by `index.ts` using `decimal.js`.\n\n---\n\n## Tracking & Explorer\n\n- **NEAR transactions**: `https:\u002F\u002Fnearblocks.io\u002Ftxns\u002F\u003CtxHash>`\n- **1Click swap status**: `https:\u002F\u002Fexplorer.near-intents.org\u002Ftransactions\u002F\u003CdepositAddress>`\n\n---\n\n## Troubleshooting\n\n| Error | Solution |\n|-------|----------|\n| `Token not found: X` | Check symbol and chain prefix. See `TOKEN_MAP` or `TOKENS.md` |\n| `No deposit address in quote response` | Solver couldn't match the pair\u002Famount. Try a different amount or pair |\n| `NEAR_ACCOUNT_ID and NEAR_PRIVATE_KEY must be set` | Configure `.env` or use `mode: 'manual'` |\n| `Swap failed with status: REFUNDED` | Tokens returned to refund address. Retry with different amount |\n| `Status polling timed out` | Check explorer URL manually. Swap may still complete |\n| 401 Authentication error | JWT is invalid or expired. Register at partners.near-intents.org |\n\n---\n\n## Dependencies\n\n```json\n{\n  \"@defuse-protocol\u002Fone-click-sdk-typescript\": \"0.1.1\",\n  \"@near-js\u002Faccounts\": \"^2.2.4\",\n  \"@near-js\u002Fcrypto\": \"^2.2.4\",\n  \"@near-js\u002Fproviders\": \"^2.2.4\",\n  \"@near-js\u002Fsigners\": \"^2.2.4\",\n  \"@near-js\u002Ftokens\": \"^2.2.4\",\n  \"decimal.js\": \"^10.4.3\",\n  \"dotenv\": \"^16.3.1\"\n}\n```\n\n---\n\n## Files Overview\n\n| File | Purpose |\n|------|---------|\n| `index.ts` | Main entry — exports `executeIntent()` |\n| `lib-1click\u002F` | Step-by-step 1Click SDK examples (get tokens, get quote, send deposit, etc.) |\n| `SKILL.md` | This file — **primary AI agent reference** |\n| `AI-AGENT-GUIDE.md` | Detailed agent workflow guide |\n| `TOKENS.md` | Full token reference with decimals and asset IDs |\n| `manifest.json` | Skill manifest for OpenClaw |\n| `README.md` | Project documentation |\n| `USAGE_GUIDE.md` | Usage patterns and troubleshooting |\n\n---\n\n## Version\n\n**v2.0.0** — Powered by [1Click SDK](https:\u002F\u002Fgithub.com\u002Fdefuse-protocol\u002Fone-click-sdk-typescript) and [NEAR Intents](https:\u002F\u002Fdocs.near-intents.org)\n\n## License\n\nMIT\n",{"name":5,"description":7},"main","3df1d0d67b30ff15236561f8c0f9f06d33f42dfd","skills\u002Fchains\u002Fnear",17,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia","https:\u002F\u002Feth2030.com","Hardcore infra. Building @alt-research and applied cryptography.","2026-11-15 02:28:10",{"source":8,"skillName":5,"commands":48,"prompt":58,"zipAvailable":59},[49,52,55],{"tool":50,"command":51},"npx","npx skills add jiayaoqijia\u002Fcryptoskill --skill near-intents",{"tool":53,"command":54},"bunx","bunx skills add jiayaoqijia\u002Fcryptoskill --skill near-intents",{"tool":56,"command":57},"pnpm","pnpm dlx skills add jiayaoqijia\u002Fcryptoskill --skill near-intents","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fnear\u002FSKILL.md",true,[61,67,71,75,81,85,89,93,97,101,105,109,113,117,121,125,129,133,137,141,145,149,153,157,161,165,169,173,177],{"path":62,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":65,"sourceHtmlUrl":66},"_meta.json","REFERENCE","参考文档",131,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fnear\u002F_meta.json",{"path":68,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":69,"sourceHtmlUrl":70},"AI-AGENT-GUIDE.md",9008,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fnear\u002FAI-AGENT-GUIDE.md",{"path":72,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":73,"sourceHtmlUrl":74},"CHANGELOG.md",910,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fnear\u002FCHANGELOG.md",{"path":76,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":79,"sourceHtmlUrl":80},"index.ts","SCRIPT","脚本",12621,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fnear\u002Findex.ts",{"path":82,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":83,"sourceHtmlUrl":84},"INSTALL.md",5915,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fnear\u002FINSTALL.md",{"path":86,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":87,"sourceHtmlUrl":88},"lib-1click\u002F1-get-tokens.ts",1276,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fnear\u002Flib-1click\u002F1-get-tokens.ts",{"path":90,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":91,"sourceHtmlUrl":92},"lib-1click\u002F2-get-quote.ts",4774,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fnear\u002Flib-1click\u002F2-get-quote.ts",{"path":94,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":95,"sourceHtmlUrl":96},"lib-1click\u002F3-send-deposit.ts",1778,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fnear\u002Flib-1click\u002F3-send-deposit.ts",{"path":98,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":99,"sourceHtmlUrl":100},"lib-1click\u002F4-submit-tx-hash-OPTIONAL.ts",1494,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fnear\u002Flib-1click\u002F4-submit-tx-hash-OPTIONAL.ts",{"path":102,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":103,"sourceHtmlUrl":104},"lib-1click\u002F5-check-status-OPTIONAL.ts",1699,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fnear\u002Flib-1click\u002F5-check-status-OPTIONAL.ts",{"path":106,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":107,"sourceHtmlUrl":108},"lib-1click\u002F6-full-swap.ts",3892,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fnear\u002Flib-1click\u002F6-full-swap.ts",{"path":110,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":111,"sourceHtmlUrl":112},"lib-1click\u002Fnear.ts",818,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fnear\u002Flib-1click\u002Fnear.ts",{"path":114,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":115,"sourceHtmlUrl":116},"lib-1click\u002Futils.ts",2197,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fnear\u002Flib-1click\u002Futils.ts",{"path":118,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":119,"sourceHtmlUrl":120},"manifest.json",1678,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fnear\u002Fmanifest.json",{"path":122,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":123,"sourceHtmlUrl":124},"package-lock.json",233251,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fnear\u002Fpackage-lock.json",{"path":126,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":127,"sourceHtmlUrl":128},"package.json",1841,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fnear\u002Fpackage.json",{"path":130,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":131,"sourceHtmlUrl":132},"QUICKSTART.md",712,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fnear\u002FQUICKSTART.md",{"path":134,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":135,"sourceHtmlUrl":136},"README.md",5599,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fnear\u002FREADME.md",{"path":138,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":139,"sourceHtmlUrl":140},"RELEASE_NOTES.md",7552,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fnear\u002FRELEASE_NOTES.md",{"path":142,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":143,"sourceHtmlUrl":144},"scripts\u002Fgenerate-account.ts",1770,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fnear\u002Fscripts\u002Fgenerate-account.ts",{"path":146,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":147,"sourceHtmlUrl":148},"scripts\u002Flogic.ts",12849,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fnear\u002Fscripts\u002Flogic.ts",{"path":150,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":151,"sourceHtmlUrl":152},"scripts\u002Fprice-service.ts",3712,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fnear\u002Fscripts\u002Fprice-service.ts",{"path":154,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":155,"sourceHtmlUrl":156},"scripts\u002Ftest_intent.ts",1004,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fnear\u002Fscripts\u002Ftest_intent.ts",{"path":158,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":159,"sourceHtmlUrl":160},"skill-card.md",2697,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fnear\u002Fskill-card.md",{"path":162,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":163,"sourceHtmlUrl":164},"SOURCE.md",252,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fnear\u002FSOURCE.md",{"path":166,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":167,"sourceHtmlUrl":168},"TOKENS.md",5084,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fnear\u002FTOKENS.md",{"path":170,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":171,"sourceHtmlUrl":172},"TRUST.auto.yaml",2153,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fnear\u002FTRUST.auto.yaml",{"path":174,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":175,"sourceHtmlUrl":176},"tsconfig.json",295,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fnear\u002Ftsconfig.json",{"path":178,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":179,"sourceHtmlUrl":180},"USAGE_GUIDE.md",6249,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fnear\u002FUSAGE_GUIDE.md",[182,192,200,208,216,224],{"skillNo":183,"name":184,"nameZh":6,"description":185,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":186,"licenseFileUrl":187,"sourceHtmlUrl":188,"categories":189,"keywords":190,"publishedAt":191},"01M7DTKCERMV0RNX3HZJP4CZ26","troves","Deposit and withdraw from Troves DeFi yield vault strategies on Starknet. View available strategies, check positions, and manage vault deposits. Use this skill when the user mentions Troves, vault, yield vault, DeFi vault, strategy, yield farming, vault deposit, vault withdraw, earning yield through vaults, passive yield strategies, or wants to deposit into or withdraw from a yield strategy — even if they don't say \"Troves\" explicitly.","MIT","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-troves\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-troves\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":193,"name":194,"nameZh":6,"description":195,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":186,"licenseFileUrl":196,"sourceHtmlUrl":197,"categories":198,"keywords":199,"publishedAt":191},"01M7DTK6CJSMGC8KCQHGNYFZBD","trade","Swap tokens on Starknet via Fibrous DEX aggregator. Supports per-provider selection (avnu, ekubo, or auto to race all). Use this skill when the user wants to swap, exchange, trade, convert, buy, or sell one token for another on Starknet. Also use when the user asks about token prices, exchange rates, DEX routing, best swap route, or wants to check how much they would receive for a given amount — even if they don't explicitly say \"swap\".","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-trade\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-trade\u002FSKILL.md",[],[],{"skillNo":201,"name":202,"nameZh":6,"description":203,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":186,"licenseFileUrl":204,"sourceHtmlUrl":205,"categories":206,"keywords":207,"publishedAt":191},"01M7DTJZ6A0X4PAW3Y8W4J9K64","staking","Stake, unstake, claim, and compound rewards for STRK, WBTC, tBTC, SolvBTC, and LBTC on Starknet. View validators, pools, and staking positions. Use this skill when the user mentions staking, delegating, validators, staking pools, rewards, compounding, unstaking, earning yield, passive income on crypto, or wants to earn on their STRK or BTC tokens — even if they don't say \"stake\" explicitly.","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-staking\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-staking\u002FSKILL.md",[],[],{"skillNo":209,"name":210,"nameZh":6,"description":211,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":186,"licenseFileUrl":212,"sourceHtmlUrl":213,"categories":214,"keywords":215,"publishedAt":191},"01M7DTJSDZJKCDMW7GHRF4BRH5","send","Send STRK, ETH, or any ERC-20 token to a Starknet address. Supports simulation (dry-run) before execution. Use this skill when the user wants to send, transfer, pay, tip, or move tokens to another wallet address on Starknet. Also trigger when the user mentions sending funds to someone, making a payment, transferring assets, or moving crypto to a specific address — even if they just say \"pay 10 STRK to 0x...\".","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-send\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-send\u002FSKILL.md",[],[],{"skillNo":217,"name":218,"nameZh":6,"description":219,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":186,"licenseFileUrl":220,"sourceHtmlUrl":221,"categories":222,"keywords":223,"publishedAt":191},"01M7DTJG1E480D51ZQ7WKDQ26K","portfolio","View a comprehensive DeFi portfolio dashboard and optimize portfolio allocation via automated rebalancing. Use this skill when the user wants an overview, summary, dashboard, total value, net worth, portfolio rebalancing, target allocation, or wants to see all their DeFi positions across Starknet at once. Also trigger when the user asks \"what do I have\", \"show me everything\", \"how much am I worth\", \"my positions\", \"my investments\", \"rebalance my portfolio\", \"I want 50% ETH\", \"optimize my holdings\", or any request for a holistic view of their Starknet holdings — even if they don't explicitly say \"portfolio\".","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-portfolio\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-portfolio\u002FSKILL.md",[],[],{"skillNo":225,"name":226,"nameZh":6,"description":227,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":186,"licenseFileUrl":228,"sourceHtmlUrl":229,"categories":230,"keywords":231,"publishedAt":191},"01M7DTJ7M8TE9R2N36HFBZDGVD","multi-swap","Execute multiple token swaps in a single Starknet transaction via Fibrous (default). Supports per-provider selection (avnu, ekubo, or auto to race all). Supports 2-3 swap pairs bundled into one multicall. Use this skill when the user wants to swap multiple token pairs at once, do batch swaps, execute several trades simultaneously, perform parallel swaps, or do bulk trading in one transaction. Also trigger when the user mentions \"two swaps\", \"three swaps\", \"swap X and Y at the same time\", or wants to convert multiple tokens in a single call.","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-multi-swap\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-multi-swap\u002FSKILL.md",[],[]]