Skip to content

Commit baabdd0

Browse files
Update docs/base-account/llms.txt
1 parent ccf0fff commit baabdd0

File tree

1 file changed

+58
-19
lines changed

1 file changed

+58
-19
lines changed

docs/base-account/llms.txt

Lines changed: 58 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,36 +5,75 @@
55
> Base Account is a passkey-secured, ERC-4337 smart wallet with one‑tap payments, spend permissions, and sub‑accounts—built for seamless multi‑chain apps.
66

77
## Introduction
8-
- [What is Base Account?](https://docs.base.org/base-account/overview/what-is-base-account.md) — Core concepts and benefits
8+
- [What is Base Account?](https://docs.base.org/base-account/overview/what-is-base-account) — Core concepts and benefits of Base Account smart wallets
99

1010
## Quickstart
11-
- [Web (Next.js)](https://docs.base.org/base-account/quickstart/web.md) — Add Base Account to a web app
12-
- [React Native Integration](https://docs.base.org/base-account/quickstart/mobile-integration.md) — Mobile setup and flows
11+
- [Web (HTML + JS)](https://docs.base.org/base-account/quickstart/web) — Add Base Account to any web page with minimal code
12+
- [Mobile (React Native)](https://docs.base.org/base-account/quickstart/mobile-integration) — Mobile integration using Mobile Wallet Protocol Client
1313

1414
## Guides
15-
- [Authenticate Users](https://docs.base.org/base-account/guides/authenticate-users.md) — SIWE with ERC‑6492 signatures
16-
- [Accept Payments](https://docs.base.org/base-account/guides/accept-payments.md) — One‑tap USDC payments with Base Pay
15+
- [Authenticate Users](https://docs.base.org/base-account/guides/authenticate-users) — SIWE authentication with ERC‑6492 signatures and backend verification
16+
- [Accept Payments](https://docs.base.org/base-account/guides/accept-payments) — One‑tap USDC payments with Base Pay and user info collection
1717

1818
## Framework Integrations
19-
- [Wagmi: Setup](https://docs.base.org/base-account/framework-integrations/wagmi/setup.md) — Configure connectors and chains
20-
- [Privy: Setup](https://docs.base.org/base-account/framework-integrations/privy/setup.md) — Authentication + sub‑accounts
19+
- [Wagmi: Setup](https://docs.base.org/base-account/framework-integrations/wagmi/setup) — Configure Wagmi with Base Account connector
20+
- [Privy: Setup](https://docs.base.org/base-account/framework-integrations/privy/setup) — Authentication with embedded wallets and sub‑accounts
2121

2222
## Reference
23-
- [Account SDK: createBaseAccount](https://docs.base.org/base-account/reference/core/createBaseAccount.md) — Initialize SDK and provider
24-
- [Provider RPC: wallet_sendCalls](https://docs.base.org/base-account/reference/core/provider-rpc-methods/wallet_sendCalls.md) — Batch and sponsored calls
25-
26-
## More
27-
- [Troubleshooting: Popups](https://docs.base.org/base-account/more/troubleshooting/usage-details/popups.md) — Browser settings and flows
28-
- [Troubleshooting: Gas Usage](https://docs.base.org/base-account/more/troubleshooting/usage-details/gas-usage.md) — Cost breakdown and tips
23+
- [SDK: createBaseAccountSDK](https://docs.base.org/base-account/reference/core/createBaseAccount) — Initialize SDK with EIP-1193 provider and sub-account management
24+
- [RPC: wallet_sendCalls](https://docs.base.org/base-account/reference/core/provider-rpc-methods/wallet_sendCalls) — Batch transactions with EIP-5792 standard
25+
- [UI: Sign In With Base Button](https://docs.base.org/base-account/reference/ui-elements/sign-in-with-base-button) — Pre-built authentication component
26+
- [UI: Base Pay Button](https://docs.base.org/base-account/reference/ui-elements/base-pay-button) — Pre-built payment component
27+
- [Brand Guidelines](https://docs.base.org/base-account/reference/ui-elements/brand-guidelines) — Design standards for Base Account UI elements
2928

3029
## Basenames
31-
- [Basenames FAQ](https://docs.base.org/base-account/basenames/basenames-faq.md) — Naming, transfer, and primary name setup
30+
- [Basenames FAQ](https://docs.base.org/base-account/basenames/basenames-faq) — Human-readable names, registration, transfer, and primary name setup
31+
32+
## Troubleshooting
33+
- [Popup Issues](https://docs.base.org/base-account/more/troubleshooting/usage-details/popups) — Browser popup blockers and wallet flows
34+
- [Gas Usage](https://docs.base.org/base-account/more/troubleshooting/usage-details/gas-usage) — Transaction costs and optimization tips
35+
36+
## Additional Resources
37+
- [Base Gasless Campaign](https://docs.base.org/base-account/more/base-gasless-campaign) — Incentives for sponsored gas integrations
38+
- [Telemetry](https://docs.base.org/base-account/more/telemetry) — Anonymous metrics collection and privacy details
39+
- [Contribute to Docs](https://docs.base.org/base-account/contribute/contribute-to-base-account-docs) — How to propose documentation changes
40+
41+
## Key Features
42+
- **Universal Sign-On**: One passkey works across all Base-enabled apps
43+
- **One-Tap Payments**: Low-friction USDC payments with automatic gas sponsorship
44+
- **Multi-Chain Support**: Works across 9 EVM networks including Base, Arbitrum, Optimism, Polygon
45+
- **Sub-Accounts**: Create and manage sub-accounts with spend permissions
46+
- **ERC-4337 Smart Wallet**: Built on account abstraction standards
47+
- **ERC-6492 Signatures**: Verify signatures before wallet deployment
48+
- **Gasless Transactions**: Sponsored transactions for better UX
49+
50+
## Supported Networks
51+
- **Mainnet**: Base • Arbitrum • Optimism • Zora • Polygon • BNB • Avalanche • Lordchain • Ethereum
52+
- **Testnet**: Sepolia • Base Sepolia
53+
54+
## SDK Installation
55+
```bash
56+
npm install @base-org/account
57+
# or via CDN
58+
<script src="https://unpkg.com/@base-org/account/dist/base-account.min.js"></script>
59+
```
60+
61+
## Quick Integration Examples
62+
```typescript
63+
// Basic SDK setup
64+
import { createBaseAccountSDK } from '@base-org/account';
65+
const sdk = createBaseAccountSDK({ appName: 'My App' });
66+
const provider = sdk.getProvider();
3267

33-
## Contribute
34-
- [Contribute to Docs](https://docs.base.org/base-account/contribute/contribute-to-base-account-docs.md) — How to propose changes and fixes
68+
// One-tap payment
69+
import { pay } from '@base-org/account';
70+
const payment = await pay({ amount: '5.00', to: '0xRecipient' });
3571

36-
## Optional
37-
- [Base Gasless Campaign](https://docs.base.org/base-account/more/base-gasless-campaign.md) — Incentives for sponsored gas integrations
38-
- [Telemetry](https://docs.base.org/base-account/more/telemetry.md) — Anonymous metrics and privacy details
72+
// Authentication with wallet_connect
73+
const { accounts } = await provider.request({
74+
method: 'wallet_connect',
75+
params: [{ version: '1', capabilities: { signInWithEthereum: { nonce, chainId: '0x2105' } } }]
76+
});
77+
```
3978

4079

0 commit comments

Comments
 (0)