Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
108 changes: 54 additions & 54 deletions docs/base-account/llms-full.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,61 +23,61 @@ const { status } = await getPaymentStatus({ id })
## Navigation (with brief descriptions)

### Introduction
- [What is Base Account?](./overview/what-is-base-account) — Overview
- [What is Base Account?](https://docs.base.org/base-account/overview/what-is-base-account.md) — Overview

### Quickstart
- [Web (Next.js)](./quickstart/web) — Web integration
- [Web (React)](./quickstart/web-react) — React example
- [React Native Integration](./quickstart/mobile-integration) — Mobile
- [Web (Next.js)](https://docs.base.org/base-account/quickstart/web.md) — Web integration
- [Web (React)](https://docs.base.org/base-account/quickstart/web-react.md) — React example
- [React Native Integration](https://docs.base.org/base-account/quickstart/mobile-integration.md) — Mobile

### Guides
- [Authenticate Users](./guides/authenticate-users) — SIWE + ERC‑6492
- [Accept Payments](./guides/accept-payments) — Base Pay
- [Batch Transactions](./improve-ux/batch-transactions) — Multi‑call
- [Paymasters](./improve-ux/sponsor-gas/paymasters) — Sponsor gas
- [ERC‑20 Paymasters](./improve-ux/sponsor-gas/erc20-paymasters) — ERC‑20 gas
- [Spend Permissions](./improve-ux/spend-permissions) — Spending
- [Sub‑Accounts](./improve-ux/sub-accounts) — App‑scoped accounts
- [MagicSpend](./improve-ux/magic-spend) — Coinbase balance spend
- [Sign & Verify Data](./guides/sign-and-verify-typed-data) — Signatures
- [Authenticate Users](https://docs.base.org/base-account/guides/authenticate-users.md) — SIWE + ERC‑6492
- [Accept Payments](https://docs.base.org/base-account/guides/accept-payments.md) — Base Pay
- [Batch Transactions](https://docs.base.org/base-account/improve-ux/batch-transactions.md) — Multi‑call
- [Paymasters](https://docs.base.org/base-account/improve-ux/sponsor-gas/paymasters.md) — Sponsor gas
- [ERC‑20 Paymasters](https://docs.base.org/base-account/improve-ux/sponsor-gas/erc20-paymasters.md) — ERC‑20 gas
- [Spend Permissions](https://docs.base.org/base-account/improve-ux/spend-permissions.md) — Spending
- [Sub‑Accounts](https://docs.base.org/base-account/improve-ux/sub-accounts.md) — App‑scoped accounts
- [MagicSpend](https://docs.base.org/base-account/improve-ux/magic-spend.md) — Coinbase balance spend
- [Sign & Verify Data](https://docs.base.org/base-account/guides/sign-and-verify-typed-data.md) — Signatures

### Framework Integrations
- [Wagmi Setup](./framework-integrations/wagmi/setup) — Wagmi
- [Wagmi Sign in with Base](./framework-integrations/wagmi/sign-in-with-base) — Auth
- [Wagmi Base Pay](./framework-integrations/wagmi/base-pay) — Payments
- [Wagmi Other Use Cases](./framework-integrations/wagmi/other-use-cases) — Patterns
- [Privy Setup](./framework-integrations/privy/setup) — Privy
- [Privy Sub‑Accounts](./framework-integrations/privy/sub-accounts) — Privy sub‑accounts
- [Dynamic](./framework-integrations/nextjs-with-dynamic) — Dynamic integration
- [Wagmi Setup](https://docs.base.org/base-account/framework-integrations/wagmi/setup.md) — Wagmi
- [Wagmi Sign in with Base](https://docs.base.org/base-account/framework-integrations/wagmi/sign-in-with-base.md) — Auth
- [Wagmi Base Pay](https://docs.base.org/base-account/framework-integrations/wagmi/base-pay.md) — Payments
- [Wagmi Other Use Cases](https://docs.base.org/base-account/framework-integrations/wagmi/other-use-cases.md) — Patterns
- [Privy Setup](https://docs.base.org/base-account/framework-integrations/privy/setup.md) — Privy
- [Privy Sub‑Accounts](https://docs.base.org/base-account/framework-integrations/privy/sub-accounts.md) — Privy sub‑accounts
- [Dynamic](https://docs.base.org/base-account/framework-integrations/nextjs-with-dynamic.md) — Dynamic integration

### Reference (selected)
- [SDK: createBaseAccount](./reference/core/createBaseAccount)
- [SDK: getProvider](./reference/core/getProvider)
- [Provider RPC Methods](./reference/core/provider-rpc-methods/request-overview)
- [Capabilities](./reference/core/capabilities/overview)
- [UI Elements](./reference/ui-elements/brand-guidelines)
- [Onchain Contracts](./reference/onchain-contracts/smart-wallet)
- [SDK: createBaseAccount](https://docs.base.org/base-account/reference/core/createBaseAccount.md)
- [SDK: getProvider](https://docs.base.org/base-account/reference/core/getProvider.md)
- [Provider RPC Methods](https://docs.base.org/base-account/reference/core/provider-rpc-methods/request-overview.md)
- [Capabilities](https://docs.base.org/base-account/reference/core/capabilities/overview.md)
- [UI Elements](https://docs.base.org/base-account/reference/ui-elements/brand-guidelines.md)
- [Onchain Contracts](https://docs.base.org/base-account/reference/onchain-contracts/smart-wallet.md)

### More
- [Troubleshooting](./more/troubleshooting/usage-details/popups)
- [Base Gasless Campaign](./more/base-gasless-campaign)
- [Telemetry](./more/telemetry)
- [Migration Guide](./guides/migration-guide)
- [Troubleshooting](https://docs.base.org/base-account/more/troubleshooting/usage-details/popups.md)
- [Base Gasless Campaign](https://docs.base.org/base-account/more/base-gasless-campaign.md)
- [Telemetry](https://docs.base.org/base-account/more/telemetry.md)
- [Migration Guide](https://docs.base.org/base-account/guides/migration-guide.md)

### Basenames
- [FAQ](./basenames/basenames-faq)
- [Transfer](./basenames/basename-transfer)
- [OnchainKit Tutorial](./basenames/basenames-onchainkit-tutorial)
- [Wagmi Tutorial](./basenames/basenames-wagmi-tutorial)
- [FAQ](https://docs.base.org/base-account/basenames/basenames-faq.md)
- [Transfer](https://docs.base.org/base-account/basenames/basename-transfer.md)
- [OnchainKit Tutorial](https://docs.base.org/base-account/basenames/basenames-onchainkit-tutorial.md)
- [Wagmi Tutorial](https://docs.base.org/base-account/basenames/basenames-wagmi-tutorial.md)

### Contribute
- [Contribute](./contribute/contribute-to-base-account-docs)
- [Security + Bug Bounty](./contribute/security-and-bug-bounty)
- [Contribute](https://docs.base.org/base-account/contribute/contribute-to-base-account-docs.md)
- [Security + Bug Bounty](https://docs.base.org/base-account/contribute/security-and-bug-bounty.md)


## Quickstart (excerpts)

Source: `https://docs.base.org/base-account/quickstart/web`
Source: `https://docs.base.org/base-account/quickstart/web.md`

Base Account lets you add a passkey‑secured ERC‑4337 smart account to your app, with sponsored gas, batch transactions, spend permissions, and sub‑accounts.

Expand Down Expand Up @@ -122,13 +122,13 @@ const result = await account.provider.request({
Expected result: a single ERC‑4337 userOp executes both calls atomically. Combine with a paymaster to sponsor user gas.

Additional sources:
- `https://docs.base.org/base-account/quickstart/mobile-integration`
- `https://docs.base.org/base-account/framework-integrations/wagmi/setup`
- `https://docs.base.org/base-account/quickstart/mobile-integration.md`
- `https://docs.base.org/base-account/framework-integrations/wagmi/setup.md`


## Key Concepts (excerpts)

Source: `https://docs.base.org/base-account/overview/what-is-base-account`
Source: `https://docs.base.org/base-account/overview/what-is-base-account.md`

- Ownership model: A Base Account is owned by an EOA or another smart wallet. Ownership can be rotated via recovery flows, and sub‑accounts can be created for app‑scoped spend.
- Recovery: Supports social/device delegates with threshold approval. Ownership only changes after quorum is met and verification passes.
Expand All @@ -139,31 +139,31 @@ Source: `https://docs.base.org/base-account/overview/what-is-base-account`
- Security assumptions: Only configured owner(s) can authorize changes. Recovery requires meeting your policy’s threshold.

Additional sources:
- `https://docs.base.org/base-account/overview/architecture`
- `https://docs.base.org/base-account/improve-ux/spend-permissions`
- `https://docs.base.org/base-account/improve-ux/sponsor-gas/paymasters`
- `https://docs.base.org/base-account/improve-ux/batch-transactions`
- `https://docs.base.org/base-account/overview/architecture.md`
- `https://docs.base.org/base-account/improve-ux/spend-permissions.md`
- `https://docs.base.org/base-account/improve-ux/sponsor-gas/paymasters.md`
- `https://docs.base.org/base-account/improve-ux/batch-transactions.md`


## API Reference (selected, pruned)

Provider RPC methods (subset)

- `wallet_sendCalls(params)` — Execute one or more calls in a single ERC‑4337 user operation. Returns a user operation hash.
- Source: `https://docs.base.org/base-account/reference/core/provider-rpc-methods/wallet_sendCalls`
- Source: `https://docs.base.org/base-account/reference/core/provider-rpc-methods/wallet_sendCalls.md`
- `wallet_getCapabilities()` — Return wallet features and limits supported by the provider.
- Source: `https://docs.base.org/base-account/reference/core/provider-rpc-methods/request-overview`
- Source: `https://docs.base.org/base-account/reference/core/provider-rpc-methods/request-overview.md`

SDK helpers (subset)

- `createBaseAccount(options)` — Initialize SDK and get a configured provider and helpers
- Source: `https://docs.base.org/base-account/reference/core/createBaseAccount`
- Source: `https://docs.base.org/base-account/reference/core/createBaseAccount.md`
- `getProvider()` — Access the EIP‑1193 provider wired to Base Account
- Source: `https://docs.base.org/base-account/reference/core/getProvider`
- Source: `https://docs.base.org/base-account/reference/core/getProvider.md`
- `createSubAccount({ label })` — Create an app‑scoped sub‑account
- Source: `https://docs.base.org/base-account/reference/core/capabilities/overview`
- Source: `https://docs.base.org/base-account/reference/core/capabilities/overview.md`
- `pay({ amount, to, testnet })` and `getPaymentStatus({ id })` — Base Pay helpers for USDC flows
- Source: `https://docs.base.org/base-account/guides/accept-payments`
- Source: `https://docs.base.org/base-account/guides/accept-payments.md`

Minimal request example for `wallet_sendCalls`:

Expand All @@ -187,7 +187,7 @@ Minimal request example for `wallet_sendCalls`:

Example: Authenticate user with SIWE + ERC‑6492

Source: `https://docs.base.org/base-account/guides/authenticate-users`
Source: `https://docs.base.org/base-account/guides/authenticate-users.md`

```ts
// Sign‑in with Ethereum using a 6492‑compatible signature
Expand All @@ -199,8 +199,8 @@ const signature = await provider.request({ method: 'personal_sign', params: [mes
Example: USDC checkout with paymaster sponsorship

Sources:
- `https://docs.base.org/base-account/guides/accept-payments`
- `https://docs.base.org/base-account/improve-ux/sponsor-gas/paymasters`
- `https://docs.base.org/base-account/guides/accept-payments.md`
- `https://docs.base.org/base-account/improve-ux/sponsor-gas/paymasters.md`

```ts
await provider.request({
Expand All @@ -217,7 +217,7 @@ await provider.request({

Example: Create and use a sub‑account for scoped spend

Source: `https://docs.base.org/base-account/improve-ux/sub-accounts`
Source: `https://docs.base.org/base-account/improve-ux/sub-accounts.md`

```ts
const sub = await account.createSubAccount({ label: 'checkout' })
Expand Down
30 changes: 15 additions & 15 deletions docs/base-account/llms.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,36 +5,36 @@
> 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.

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

## Quickstart
- [Web (Next.js)](./quickstart/web) — Add Base Account to a web app
- [React Native Integration](./quickstart/mobile-integration) — Mobile setup and flows
- [Web (Next.js)](https://docs.base.org/base-account/quickstart/web.md) — Add Base Account to a web app
- [React Native Integration](https://docs.base.org/base-account/quickstart/mobile-integration.md) — Mobile setup and flows

## Guides
- [Authenticate Users](./guides/authenticate-users) — SIWE with ERC‑6492 signatures
- [Accept Payments](./guides/accept-payments) — One‑tap USDC payments with Base Pay
- [Authenticate Users](https://docs.base.org/base-account/guides/authenticate-users.md) — SIWE with ERC‑6492 signatures
- [Accept Payments](https://docs.base.org/base-account/guides/accept-payments.md) — One‑tap USDC payments with Base Pay

## Framework Integrations
- [Wagmi: Setup](./framework-integrations/wagmi/setup) — Configure connectors and chains
- [Privy: Setup](./framework-integrations/privy/setup) — Authentication + sub‑accounts
- [Wagmi: Setup](https://docs.base.org/base-account/framework-integrations/wagmi/setup.md) — Configure connectors and chains
- [Privy: Setup](https://docs.base.org/base-account/framework-integrations/privy/setup.md) — Authentication + sub‑accounts

## Reference
- [Account SDK: createBaseAccount](./reference/core/createBaseAccount) — Initialize SDK and provider
- [Provider RPC: wallet_sendCalls](./reference/core/provider-rpc-methods/wallet_sendCalls) — Batch and sponsored calls
- [Account SDK: createBaseAccount](https://docs.base.org/base-account/reference/core/createBaseAccount.md) — Initialize SDK and provider
- [Provider RPC: wallet_sendCalls](https://docs.base.org/base-account/reference/core/provider-rpc-methods/wallet_sendCalls.md) — Batch and sponsored calls

## More
- [Troubleshooting: Popups](./more/troubleshooting/usage-details/popups) — Browser settings and flows
- [Troubleshooting: Gas Usage](./more/troubleshooting/usage-details/gas-usage) — Cost breakdown and tips
- [Troubleshooting: Popups](https://docs.base.org/base-account/more/troubleshooting/usage-details/popups.md) — Browser settings and flows
- [Troubleshooting: Gas Usage](https://docs.base.org/base-account/more/troubleshooting/usage-details/gas-usage.md) — Cost breakdown and tips

## Basenames
- [Basenames FAQ](./basenames/basenames-faq) — Naming, transfer, and primary name setup
- [Basenames FAQ](https://docs.base.org/base-account/basenames/basenames-faq.md) — Naming, transfer, and primary name setup

## Contribute
- [Contribute to Docs](./contribute/contribute-to-base-account-docs) — How to propose changes and fixes
- [Contribute to Docs](https://docs.base.org/base-account/contribute/contribute-to-base-account-docs.md) — How to propose changes and fixes

## Optional
- [Base Gasless Campaign](./more/base-gasless-campaign) — Incentives for sponsored gas integrations
- [Telemetry](./more/telemetry) — Anonymous metrics and privacy details
- [Base Gasless Campaign](https://docs.base.org/base-account/more/base-gasless-campaign.md) — Incentives for sponsored gas integrations
- [Telemetry](https://docs.base.org/base-account/more/telemetry.md) — Anonymous metrics and privacy details


30 changes: 15 additions & 15 deletions docs/base-app/llms-full.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,20 @@ for await (const msg of await client.conversations.streamAllMessages()) {
## Navigation (with brief descriptions)

### Introduction
- [Beta FAQ](./introduction/beta-faq) — Beta scope, access, smart wallet notes
- [Beta FAQ](https://docs.base.org/base-app/introduction/beta-faq.md) — Beta scope, access, smart wallet notes

### Chat Agents
- [Why Agents](./agents/why-agents) — Rationale and examples
- [Getting Started](./agents/getting-started) — Setup and first agent
- [Content Types](./agents/content-types) — Messaging schemas
- [Transaction Trays](./agents/transaction-trays) — Onchain UX in chat
- [Best Practices](./agents/best-practices) — Implementation guidance
- [Getting Featured](./agents/getting-featured) — Distribution checklist
- [Why Agents](https://docs.base.org/base-app/agents/why-agents.md) — Rationale and examples
- [Getting Started](https://docs.base.org/base-app/agents/getting-started.md) — Setup and first agent
- [Content Types](https://docs.base.org/base-app/agents/content-types.md) — Messaging schemas
- [Transaction Trays](https://docs.base.org/base-app/agents/transaction-trays.md) — Onchain UX in chat
- [Best Practices](https://docs.base.org/base-app/agents/best-practices.md) — Implementation guidance
- [Getting Featured](https://docs.base.org/base-app/agents/getting-featured.md) — Distribution checklist


## Quickstart (excerpts)

Source: `https://docs.base.org/base-app/agents/getting-started`
Source: `https://docs.base.org/base-app/agents/getting-started.md`

Create an XMTP agent that can receive messages and reply, then evolve it to surface transaction trays for safe onchain actions.

Expand All @@ -65,28 +65,28 @@ for await (const msg of await client.conversations.streamAllMessages()) {
}
```

Source: `https://docs.base.org/base-app/agents/transaction-trays`
Source: `https://docs.base.org/base-app/agents/transaction-trays.md`

Transaction trays let you surface predefined, safe actions. Users approve in‑app; your agent never holds keys.


## Key Concepts (excerpts)

Source: `https://docs.base.org/base-app/agents/why-agents`
Source: `https://docs.base.org/base-app/agents/why-agents.md`

- Safety: Agents propose actions; users approve in Base App with a smart wallet. No private keys leave the client.
- UX: Transaction trays standardize onchain actions, reduce phishing, and help users understand intent.
- Content types: Structured messages ensure predictable parsing and rendering across clients.
- Source: `https://docs.base.org/base-app/agents/content-types`
- Source: `https://docs.base.org/base-app/agents/content-types.md`
- Distribution: Follow the featuring checklist to maximize discovery.
- Source: `https://docs.base.org/base-app/agents/getting-featured`
- Source: `https://docs.base.org/base-app/agents/getting-featured.md`


## API and Schemas (pruned)

Message content types (subset):
- Text, Button, Form, Transaction Tray
- Source: `https://docs.base.org/base-app/agents/content-types`
- Source: `https://docs.base.org/base-app/agents/content-types.md`

Transaction tray schema (conceptual):

Expand All @@ -105,7 +105,7 @@ Transaction tray schema (conceptual):

Example: Simple echo agent with guardrails

Source: `https://docs.base.org/base-app/agents/best-practices`
Source: `https://docs.base.org/base-app/agents/best-practices.md`

```ts
if (!isSupportedContentType(msg)) return
Expand All @@ -116,7 +116,7 @@ await convo.send(text)

Example: Surface a checkout action as a transaction tray

Source: `https://docs.base.org/base-app/agents/transaction-trays`
Source: `https://docs.base.org/base-app/agents/transaction-trays.md`

```ts
await convo.send({
Expand Down
Loading