Skip to content

Commit 424ffaa

Browse files
committed
docs: update llms summaries for subdirectories (base-account)
1 parent 55bf3aa commit 424ffaa

2 files changed

Lines changed: 7 additions & 11 deletions

File tree

docs/base-account/llms-full.txt

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ const { status } = await getPaymentStatus({ id })
2626
- [What is Base Account?](https://docs.base.org/base-account/overview/what-is-base-account.md) — Overview
2727

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

3332
### Guides
@@ -77,23 +76,20 @@ const { status } = await getPaymentStatus({ id })
7776

7877
## Quickstart (excerpts)
7978

80-
Source: `https://docs.base.org/base-account/quickstart/web.md`
79+
Source: `https://docs.base.org/base-account/quickstart/web-react.md`
8180

8281
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.
8382

8483
Install and initialize:
8584

8685
```bash
87-
npm install @base-org/account
86+
npm install @base-org/account @base-org/account-ui
8887
```
8988

9089
```ts
91-
import { createBaseAccount } from '@base-org/account'
90+
import { createBaseAccountSDK } from '@base-org/account'
9291

93-
const account = await createBaseAccount({
94-
owner: '0xYourEOA',
95-
chain: 'base-sepolia'
96-
})
92+
const provider = createBaseAccountSDK().getProvider()
9793
```
9894

9995
Send a payment with Base Pay (testnet):
@@ -108,7 +104,7 @@ const { status } = await getPaymentStatus({ id })
108104
Batch two calls in one user operation:
109105

110106
```ts
111-
const result = await account.provider.request({
107+
const result = await provider.request({
112108
method: 'wallet_sendCalls',
113109
params: [{
114110
calls: [

docs/base-account/llms.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
- [What is Base Account?](https://docs.base.org/base-account/overview/what-is-base-account.md) — Core concepts and benefits
99

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

1414
## Guides

0 commit comments

Comments
 (0)