重要前提
安装AI Skills的关键前提是:必须科学上网,且开启TUN模式,这一点至关重要,直接决定安装能否顺利完成,在此郑重提醒三遍:科学上网,科学上网,科学上网。查看完整安装教程 →
building-with-base-account by base/base-skills
npx skills add https://github.com/base/base-skills --skill building-with-base-accountBase Account 是一款 ERC-4337 智能钱包,提供通用登录、一键 USDC 支付以及多链支持(Base、Arbitrum、Optimism、Zora、Polygon、BNB、Avalanche、Lordchain、以太坊主网)。
npm install @base-org/account @base-org/account-ui
import { createBaseAccountSDK } from '@base-org/account';
const sdk = createBaseAccountSDK({
appName: 'My App',
appLogoUrl: 'https://example.com/logo.png',
appChainIds: [8453], // Base 主网
});
const provider = sdk.getProvider();
根据您正在实现的功能阅读相应的参考文档:
| 功能 | 参考文档 | 阅读时机 |
|---|---|---|
| 使用 Base 登录 | references/authentication.md | 钱包认证、SIWE、后端验证、SignInWithBaseButton、Wagmi/Privy 设置 |
| Base 支付 | references/payments.md | 一键 USDC 支付、payerInfo、服务端验证、BasePayButton |
| 订阅 |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| references/subscriptions.md |
| 定期扣款、支出权限、CDP 钱包设置、扣款/撤销生命周期 |
| 子账户 | references/sub-accounts.md | 应用特定的嵌入式钱包、密钥生成、资金注入 |
| 能力 | references/capabilities.md | 批量交易、Gas 赞助(支付主)、原子执行、辅助资金、归因 |
| 支付链接 | references/prolinks.md | 可分享的支付链接、二维码、编码的交易 URL |
| 故障排除 | references/troubleshooting.md | 弹窗问题、Gas 使用、不支持的调用、迁移、文档链接 |
Cross-Origin-Opener-Policy: same-origin-allow-popupssame-origin 会破坏 Base Account 弹窗pay() 无需认证getPaymentStatus() 中的 testnet 参数必须与 pay() 调用匹配auxiliaryFunds 能力wallet_addSubAccountverifyMessage/verifyTypedData 会自动处理此过程每周安装量
40
代码仓库
GitHub 星标数
22
首次出现
14 天前
安全审计
安装于
gemini-cli40
amp40
github-copilot40
opencode40
cursor40
codex40
Base 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).
npm install @base-org/account @base-org/account-ui
import { createBaseAccountSDK } from '@base-org/account';
const sdk = createBaseAccountSDK({
appName: 'My App',
appLogoUrl: 'https://example.com/logo.png',
appChainIds: [8453], // Base Mainnet
});
const provider = sdk.getProvider();
Read the reference for the feature you're implementing:
| Feature | Reference | When to Read |
|---|---|---|
| Sign in with Base | references/authentication.md | Wallet auth, SIWE, backend verification, SignInWithBaseButton, Wagmi/Privy setup |
| Base Pay | references/payments.md | One-tap USDC payments, payerInfo, server-side verification, BasePayButton |
| Subscriptions | references/subscriptions.md | Recurring charges, spend permissions, CDP wallet setup, charge/revoke lifecycle |
| Sub Accounts | references/sub-accounts.md | App-specific embedded wallets, key generation, funding |
| Capabilities | references/capabilities.md | Batch transactions, gas sponsorship (paymasters), atomic execution, auxiliaryFunds, attribution |
| Prolinks | references/prolinks.md | Shareable payment links, QR codes, encoded transaction URLs |
| Troubleshooting | references/troubleshooting.md | Popup issues, gas usage, unsupported calls, migration, doc links |
Cross-Origin-Opener-Policy: same-origin-allow-popupssame-origin breaks the Base Account popuppay()testnet param in getPaymentStatus() must match pay() callauxiliaryFunds capabilitywallet_addSubAccount each session before useverifyMessage/verifyTypedData handle this automaticallyWeekly Installs
40
Repository
GitHub Stars
22
First Seen
14 days ago
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
gemini-cli40
amp40
github-copilot40
opencode40
cursor40
codex40
agent-browser 浏览器自动化工具 - Vercel Labs 命令行网页操作与测试
172,600 周安装
ServiceNow ACL安全模式详解:访问控制列表评估顺序、类型与6大实用模式
52 周安装
PostgreSQL数据库管理指南 - 从模式设计到运维监控完整教程
2,800 周安装
Framer Motion动画制作器 - 使用声明式API构建React交互式动画教程
2,900 周安装
AI定制简历生成器 | 智能优化ATS关键词,一键生成专业简历
2,800 周安装
Apify 潜在客户挖掘工具:从 Google、Instagram、Facebook、TikTok 等平台自动抓取客户信息
2,800 周安装
Next.js 迁移到 vinext 完整指南 | 无需改代码,快速切换至 Vite
2,800 周安装