[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6GPJDZ7XSQ82K14HXKVP7BK":3,"skill-same:01M6GPJDZ7XSQ82K14HXKVP7BK":105},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":6,"ownerHtmlUrl":49,"ownerBlogUrl":50,"ownerDescription":51,"updatedAt":52,"install":53,"resources":66},"01M6GPJDZ7XSQ82K14HXKVP7BK","building-with-base-account",null,"Integrates Base Account SDK for authentication and payments. Covers Sign in with Base (SIWB), Base Pay, Paymasters, Sub Accounts, Spend Permissions, Prolinks, and batch transactions. Use when building apps with wallet authentication, USDC payments, sponsored transactions, smart wallet features, recurring subscriptions, shareable payment links, or any onchain interaction on Base. Covers phrases like \"add sign in with Base\", \"SIWB button\", \"accept USDC payments\", \"Base Pay\", \"paymaster setup\", \"gas sponsorship\", \"smart wallet\", \"sub account\", \"spend permissions\", or \"payment link\".","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\u002Fbase-official-building-with-base-account\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"base","building with base account","with","usdc","permissions","USDC payments","pay","links","sub account","batch","interaction","apps","payments","authentication","payment","Wallet","use","recurring","gas","transactions","2026-11-10 10:12:30",false,"---\nname: building-with-base-account\ndescription: Integrates Base Account SDK for authentication and payments. Covers Sign in with Base (SIWB), Base Pay, Paymasters, Sub Accounts, Spend Permissions, Prolinks, and batch transactions. Use when building apps with wallet authentication, USDC payments, sponsored transactions, smart wallet features, recurring subscriptions, shareable payment links, or any onchain interaction on Base. Covers phrases like \"add sign in with Base\", \"SIWB button\", \"accept USDC payments\", \"Base Pay\", \"paymaster setup\", \"gas sponsorship\", \"smart wallet\", \"sub account\", \"spend permissions\", or \"payment link\".\n---\n\n# Building with Base Account\n\nBase Account is an ERC-4337 smart wallet providing universal sign-on, one-tap USDC payments, and multi-chain support (Base, Arbitrum, Optimism, Zora, Polygon, BNB, Avalanche, Lordchain, Ethereum Mainnet).\n\n## Quick Start\n\n```bash\nnpm install @base-org\u002Faccount @base-org\u002Faccount-ui\n```\n\n```typescript\nimport { createBaseAccountSDK } from '@base-org\u002Faccount';\n\nconst sdk = createBaseAccountSDK({\n  appName: 'My App',\n  appLogoUrl: 'https:\u002F\u002Fexample.com\u002Flogo.png',\n  appChainIds: [8453], \u002F\u002F Base Mainnet\n});\n\nconst provider = sdk.getProvider();\n```\n\n## Feature References\n\nRead the reference for the feature you're implementing:\n\n| Feature | Reference | When to Read |\n|---------|-----------|-------------|\n| Sign in with Base | [references\u002Fauthentication.md](references\u002Fauthentication.md) | Wallet auth, SIWE, backend verification, SignInWithBaseButton, Wagmi\u002FPrivy setup |\n| Base Pay | [references\u002Fpayments.md](references\u002Fpayments.md) | One-tap USDC payments, payerInfo, server-side verification, BasePayButton |\n| Subscriptions | [references\u002Fsubscriptions.md](references\u002Fsubscriptions.md) | Recurring charges, spend permissions, CDP wallet setup, charge\u002Frevoke lifecycle |\n| Sub Accounts | [references\u002Fsub-accounts.md](references\u002Fsub-accounts.md) | App-specific embedded wallets, key generation, funding |\n| Capabilities | [references\u002Fcapabilities.md](references\u002Fcapabilities.md) | Batch transactions, gas sponsorship (paymasters), atomic execution, auxiliaryFunds, attribution |\n| Prolinks | [references\u002Fprolinks.md](references\u002Fprolinks.md) | Shareable payment links, QR codes, encoded transaction URLs |\n| Troubleshooting | [references\u002Ftroubleshooting.md](references\u002Ftroubleshooting.md) | Popup issues, gas usage, unsupported calls, migration, doc links |\n\n## Critical Requirements\n\n### Security\n\n- **Track transaction IDs** to prevent replay attacks\n- **Verify sender matches authenticated user** to prevent impersonation\n- **Use a proxy** to protect Paymaster URLs from frontend exposure\n- **Paymaster providers must be ERC-7677-compliant**\n- **Never expose CDP credentials client-side** (subscription backend only)\n\n### Popup Handling\n\n- Generate nonces **before** user clicks \"Sign in\" to avoid popup blockers\n- Use `Cross-Origin-Opener-Policy: same-origin-allow-popups`\n- `same-origin` breaks the Base Account popup\n\n### Base Pay\n\n- Base Pay works independently from SIWB — no auth required for `pay()`\n- `testnet` param in `getPaymentStatus()` must match `pay()` call\n- Never disable actions based on onchain balance alone — check `auxiliaryFunds` capability\n\n### Sub Accounts\n\n- Call `wallet_addSubAccount` each session before use\n- Ownership changes expected on new devices\u002Fbrowsers\n- Only Coinbase Smart Wallet contracts supported for import\n\n### Smart Wallets\n\n- ERC-6492 wrapper enables signature verification before wallet deployment\n- Viem's `verifyMessage`\u002F`verifyTypedData` handle this automatically\n\n## For Edge Cases and Latest API Changes\n\n- **AI-optimized docs**: [docs.base.org\u002Fllms.txt](https:\u002F\u002Fdocs.base.org\u002Fllms.txt)\n- **Full reference**: [docs.base.org\u002Fbase-account](https:\u002F\u002Fdocs.base.org\u002Fbase-account)\n","# Building with Base Account\n\nBase Account is an ERC-4337 smart wallet providing universal sign-on, one-tap USDC payments, and multi-chain support (Base, Arbitrum, Optimism, Zora, Polygon, BNB, Avalanche, Lordchain, Ethereum Mainnet).\n\n## Quick Start\n\n```bash\nnpm install @base-org\u002Faccount @base-org\u002Faccount-ui\n```\n\n```typescript\nimport { createBaseAccountSDK } from '@base-org\u002Faccount';\n\nconst sdk = createBaseAccountSDK({\n  appName: 'My App',\n  appLogoUrl: 'https:\u002F\u002Fexample.com\u002Flogo.png',\n  appChainIds: [8453], \u002F\u002F Base Mainnet\n});\n\nconst provider = sdk.getProvider();\n```\n\n## Feature References\n\nRead the reference for the feature you're implementing:\n\n| Feature | Reference | When to Read |\n|---------|-----------|-------------|\n| Sign in with Base | [references\u002Fauthentication.md](references\u002Fauthentication.md) | Wallet auth, SIWE, backend verification, SignInWithBaseButton, Wagmi\u002FPrivy setup |\n| Base Pay | [references\u002Fpayments.md](references\u002Fpayments.md) | One-tap USDC payments, payerInfo, server-side verification, BasePayButton |\n| Subscriptions | [references\u002Fsubscriptions.md](references\u002Fsubscriptions.md) | Recurring charges, spend permissions, CDP wallet setup, charge\u002Frevoke lifecycle |\n| Sub Accounts | [references\u002Fsub-accounts.md](references\u002Fsub-accounts.md) | App-specific embedded wallets, key generation, funding |\n| Capabilities | [references\u002Fcapabilities.md](references\u002Fcapabilities.md) | Batch transactions, gas sponsorship (paymasters), atomic execution, auxiliaryFunds, attribution |\n| Prolinks | [references\u002Fprolinks.md](references\u002Fprolinks.md) | Shareable payment links, QR codes, encoded transaction URLs |\n| Troubleshooting | [references\u002Ftroubleshooting.md](references\u002Ftroubleshooting.md) | Popup issues, gas usage, unsupported calls, migration, doc links |\n\n## Critical Requirements\n\n### Security\n\n- **Track transaction IDs** to prevent replay attacks\n- **Verify sender matches authenticated user** to prevent impersonation\n- **Use a proxy** to protect Paymaster URLs from frontend exposure\n- **Paymaster providers must be ERC-7677-compliant**\n- **Never expose CDP credentials client-side** (subscription backend only)\n\n### Popup Handling\n\n- Generate nonces **before** user clicks \"Sign in\" to avoid popup blockers\n- Use `Cross-Origin-Opener-Policy: same-origin-allow-popups`\n- `same-origin` breaks the Base Account popup\n\n### Base Pay\n\n- Base Pay works independently from SIWB — no auth required for `pay()`\n- `testnet` param in `getPaymentStatus()` must match `pay()` call\n- Never disable actions based on onchain balance alone — check `auxiliaryFunds` capability\n\n### Sub Accounts\n\n- Call `wallet_addSubAccount` each session before use\n- Ownership changes expected on new devices\u002Fbrowsers\n- Only Coinbase Smart Wallet contracts supported for import\n\n### Smart Wallets\n\n- ERC-6492 wrapper enables signature verification before wallet deployment\n- Viem's `verifyMessage`\u002F`verifyTypedData` handle this automatically\n\n## For Edge Cases and Latest API Changes\n\n- **AI-optimized docs**: [docs.base.org\u002Fllms.txt](https:\u002F\u002Fdocs.base.org\u002Fllms.txt)\n- **Full reference**: [docs.base.org\u002Fbase-account](https:\u002F\u002Fdocs.base.org\u002Fbase-account)\n",{"name":5,"description":7},"main","3df1d0d67b30ff15236561f8c0f9f06d33f42dfd","skills\u002Fchains\u002Fbase-official-building-with-base-account",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":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add jiayaoqijia\u002Fcryptoskill --skill building-with-base-account",{"tool":59,"command":60},"bunx","bunx skills add jiayaoqijia\u002Fcryptoskill --skill building-with-base-account",{"tool":62,"command":63},"pnpm","pnpm dlx skills add jiayaoqijia\u002Fcryptoskill --skill building-with-base-account","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fbase-official-building-with-base-account\u002FSKILL.md",true,[67,73,77,81,85,89,93,97,101],{"path":68,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":71,"sourceHtmlUrl":72},"references\u002Fauthentication.md","REFERENCE","参考文档",7895,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fbase-official-building-with-base-account\u002Freferences\u002Fauthentication.md",{"path":74,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":75,"sourceHtmlUrl":76},"references\u002Fcapabilities.md",8283,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fbase-official-building-with-base-account\u002Freferences\u002Fcapabilities.md",{"path":78,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":79,"sourceHtmlUrl":80},"references\u002Fpayments.md",7741,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fbase-official-building-with-base-account\u002Freferences\u002Fpayments.md",{"path":82,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":83,"sourceHtmlUrl":84},"references\u002Fprolinks.md",5441,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fbase-official-building-with-base-account\u002Freferences\u002Fprolinks.md",{"path":86,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":87,"sourceHtmlUrl":88},"references\u002Fsub-accounts.md",6454,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fbase-official-building-with-base-account\u002Freferences\u002Fsub-accounts.md",{"path":90,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":91,"sourceHtmlUrl":92},"references\u002Fsubscriptions.md",8278,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fbase-official-building-with-base-account\u002Freferences\u002Fsubscriptions.md",{"path":94,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":95,"sourceHtmlUrl":96},"references\u002Ftroubleshooting.md",6591,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fbase-official-building-with-base-account\u002Freferences\u002Ftroubleshooting.md",{"path":98,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":99,"sourceHtmlUrl":100},"SOURCE.md",156,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fbase-official-building-with-base-account\u002FSOURCE.md",{"path":102,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":103,"sourceHtmlUrl":104},"TRUST.auto.yaml",2282,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fchains\u002Fbase-official-building-with-base-account\u002FTRUST.auto.yaml",[106,116,124,132,140,148],{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":110,"licenseFileUrl":111,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":115},"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":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":110,"licenseFileUrl":120,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":115},"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":125,"name":126,"nameZh":6,"description":127,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":110,"licenseFileUrl":128,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":115},"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":133,"name":134,"nameZh":6,"description":135,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":110,"licenseFileUrl":136,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":115},"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":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":110,"licenseFileUrl":144,"sourceHtmlUrl":145,"categories":146,"keywords":147,"publishedAt":115},"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":149,"name":150,"nameZh":6,"description":151,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":110,"licenseFileUrl":152,"sourceHtmlUrl":153,"categories":154,"keywords":155,"publishedAt":115},"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",[],[]]