Skip to content

Commit 48a4875

Browse files
committed
udpate base account
1 parent 4c7a379 commit 48a4875

131 files changed

Lines changed: 5634 additions & 8744 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/smart-wallet/basenames/basenames-faq.mdx renamed to docs/base-account/basenames/basenames-faq.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Upon initial launch, there will be a temporary premium placed on all Basenames i
4343

4444
### 5. Do I have to pay gas to register a Basename?
4545

46-
If registering with a Smart Wallet, registrations will be gasless, sponsored by Base.
46+
If registering with a Base Account, registrations will be gasless, sponsored by Base.
4747

4848
### 6. How long can I register a Basename for?
4949

docs/smart-wallet/basenames/basenames-onchainkit-tutorial.mdx renamed to docs/base-account/basenames/basenames-onchainkit-tutorial.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Integrating Basenames into your onchain app enhances the user experience by mask
1313

1414
OnchainKit is a React component library designed to make building Onchain applications easier. In this tutorial, we'll use the `<Identity/>` component to resolve Basenames.
1515

16-
This demo uses Coinbase Smart Wallet and Coinbase Wallet, but Basenames is supported across many [other wallets].
16+
This demo uses Coinbase Base Account and Coinbase Wallet, but Basenames is supported across many [other wallets].
1717

1818
## Objectives
1919

docs/smart-wallet/basenames/basenames-wagmi-tutorial.mdx renamed to docs/base-account/basenames/basenames-wagmi-tutorial.mdx

File renamed without changes.

docs/smart-wallet/contribute/contribute-to-smart-wallet-docs.mdx renamed to docs/base-account/contribute/contribute-to-base-account-docs.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
---
2-
title: "Contribute to the Smart Wallet Docs"
2+
title: "Contribute to the Base Account Docs"
33
---
44

5-
This guide is intended for all contributors who are adding new features, content, or making updates to the Smart Wallet documentation.
5+
This guide is intended for all contributors who are adding new features, content, or making updates to the Base Account documentation.
66
Following these guidelines ensures consistency and maintains
77
the documentation structure, making it easier for developers to find information.
88

99
<Check>
1010
**Why Documentation is Important**
1111

12-
Good documentation significantly accelerates developer adoption. Focus on creating content that helps developers understand and implement Smart Wallet features efficiently, while maintaining the documentation's structural integrity.
12+
Good documentation significantly accelerates developer adoption. Focus on creating content that helps developers understand and implement Base Account features efficiently, while maintaining the documentation's structural integrity.
1313

1414
</Check>
1515

1616
## Documentation Structure Guidelines
1717

1818
### Core Principle: Maintain Existing Structure
1919

20-
The Smart Wallet documentation is organized into the following main sections:
20+
The Base Account documentation is organized into the following main sections:
2121

2222
1. **Quickstart**
2323
2. **Concepts**
@@ -45,7 +45,7 @@ When adding new content, determine the appropriate section based on the followin
4545

4646
#### Concepts
4747

48-
- Explanatory content about Smart Wallet components, architecture, and design philosophy
48+
- Explanatory content about Base Account components, architecture, and design philosophy
4949
- Add new concept documentation when introducing fundamentally new capabilities or paradigms
5050
- Subsections include:
5151
- Intro
@@ -68,7 +68,7 @@ When adding new content, determine the appropriate section based on the followin
6868
- Each example should be self-contained and fully functional
6969
- Each example should have an accompanying GitHub repository
7070
- Include comments explaining key implementation details
71-
- Examples should cover all of the built-in and optional features of the Smart Wallet
71+
- Examples should cover all of the built-in and optional features of the Base Account
7272

7373
#### Technical Reference
7474

@@ -79,7 +79,7 @@ When adding new content, determine the appropriate section based on the followin
7979

8080
#### Contribute
8181

82-
- Information for contributors to the Smart Wallet project
82+
- Information for contributors to the Base Account project
8383
- Update when contribution processes change
8484

8585
<Warning>

docs/smart-wallet/contribute/security-and-bug-bounty.mdx renamed to docs/base-account/contribute/security-and-bug-bounty.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ title: "Security and Bug Bounty"
55

66
## Security Audits
77

8-
Smart Wallet has undergone multiple security audits. You can find the full list of our audits in the main Smart Wallet repository.
8+
Base Account has undergone multiple security audits. You can find the full list of our audits in the main Base Account repository.
99

10-
[Smart Wallet audits](https://github.com/coinbase/smart-wallet/tree/main/audits)
10+
[Base Account audits](https://github.com/coinbase/smart-wallet/tree/main/audits)
1111

1212
## Bug Bounty Program
1313

docs/smart-wallet/examples/coin-a-joke-app.mdx renamed to docs/base-account/examples/coin-a-joke-app.mdx

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
title: "Coin Your Bangers: Turn Your Jokes into Coins"
3-
sidebarTitle: "Coin Your Bangers (Sub Accounts)"
3+
sidebarTitle: "Coin Your Bangers"
44
---
55

66
import { GithubRepoCard } from "/snippets/GithubRepoCard.mdx"
77

88

9-
In this guide we illustrate how to use Smart Wallet and Zora's content coin SDK to create an engaging consumer application with great UX.
9+
In this guide we illustrate how to use Base Account and Zora's content coin SDK to create an engaging consumer application with great UX.
1010

1111
Memecoins and culturecoins have been catalysts of the onchain economy, allowing people to rally around concepts that are fun and engaging with a potential upside.
1212

@@ -47,17 +47,17 @@ The full codebase of this app is available on Github:
4747
githubUrl="https://github.com/base/demos/tree/master/smart-wallet/coin-your-joke"
4848
/>
4949

50-
## Why use Smart Wallet to build your contentcoin app?
50+
## Why use Base Account to build your contentcoin app?
5151

5252
Onboarding users to end-consumer onchain apps has always been a challenge, mainly
5353
due to the need for a wallet. In the case of web apps, this has always come in the form of a
5454
new browser extension to install or a new mobile app to download.
55-
In order to solve this, Smart Wallet was created.
55+
In order to solve this, Base Account was created.
5656

57-
Smart Wallet is a new way to universally sign in into any onchain app.
58-
This example shows how Smart Wallet can seamlessly onboard users without the need for an installation.
57+
Base Account is a new way to universally sign in into any onchain app.
58+
This example shows how Base Account can seamlessly onboard users without the need for an installation.
5959
If you are building an app for creators and end-consumers, it is important to meet them where they are.
60-
Smart Wallet allows you to onboard them with passkeys, a simple pop-up, and no new extension to install.
60+
Base Account allows you to onboard them with passkeys, a simple pop-up, and no new extension to install.
6161

6262
<iframe
6363
width="100%"
@@ -69,12 +69,12 @@ Smart Wallet allows you to onboard them with passkeys, a simple pop-up, and no n
6969
></iframe>
7070

7171
<Check>
72-
**Does Zora use Smart Wallet?**
72+
**Does Zora use Base Account?**
7373

74-
Yes, Zora integrates Smart Wallet smart contracts directly into their protocol.
74+
Yes, Zora integrates Base Account smart contracts directly into their protocol.
7575
This allows users to sign in to the app and create contentcoins without any additional steps.
7676

77-
You can see the share of Zora from Smart Wallet transactions on the [Dune Dashboard](https://dune.com/wilsoncusack/coinbase-smart-wallet-kpis).
77+
You can see the share of Zora from Base Account transactions on the [Dune Dashboard](https://dune.com/wilsoncusack/coinbase-smart-wallet-kpis).
7878

7979
</Check>
8080

@@ -115,15 +115,15 @@ pnpm dev
115115

116116
### Wagmi Config (`wagmi.ts`)
117117

118-
The wagmi config is used to set up the Smart Wallet client.
118+
The wagmi config is used to set up the Base Account client.
119119

120120
```ts
121121
import { http, cookieStorage, createConfig, createStorage } from "wagmi";
122122
import { base, baseSepolia } from "wagmi/chains";
123123
import { coinbaseWallet } from "wagmi/connectors";
124124

125125
export const cbWalletConnector = coinbaseWallet({
126-
appName: "Smart Wallet Zora Coiner",
126+
appName: "Base Account Zora Coiner",
127127
preference: "smartWalletOnly",
128128
});
129129

@@ -159,7 +159,7 @@ export function CoinButton({
159159
Key features:
160160

161161
- Using Zora's [`createCoin`](https://docs.zora.co/coins/sdk/create-coin) function to create a new coin
162-
- Using Smart Wallet and Wagmi to submit the transaction
162+
- Using Base Account and Wagmi to submit the transaction
163163
- Loading states and error handling
164164
- Transaction status tracking
165165

@@ -189,7 +189,7 @@ Features:
189189
- **Frontend**: Next.js 13+ with App Router
190190
- **Styling**: Tailwind CSS
191191
- **Onchain tools**:
192-
- Smart Wallet for Sign In
192+
- Base Account for Sign In
193193
- Wagmi for contract interactions
194194
- Zora SDK for coining content
195195
- **AI**: OpenAI API for metadata generation
@@ -203,7 +203,7 @@ You can deploy your app to Vercel by following the instructions [here](https://v
203203

204204
This example demonstrates how to build a full-featured onchain application that combines:
205205

206-
- Smart Wallet for Sign In
206+
- Base Account for Sign In
207207
- AI capabilities
208208
- Coin creation with [Zora's SDK](https://docs.zora.co/coins/sdk/create-coin)
209209
- Wagmi for contract interactions

docs/smart-wallet/examples/onchain-vibes-store-with-profiles.mdx renamed to docs/base-account/examples/onchain-vibes-store-with-profiles.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
---
2-
title: 'Onchain Vibes Store (Profiles)'
3-
description: 'How Onchain Vibes Store uses Coinbase Smart Wallet Profiles for secure user data collection during onchain checkout.'
2+
title: 'Onchain Vibes Store'
3+
description: 'How Onchain Vibes Store uses Coinbase Base Account Profiles for secure user data collection during onchain checkout.'
44
---
55

66
import {GithubRepoCard} from "/snippets/GithubRepoCard.mdx";
77

88
## Overview
99

10-
Onchain Vibes Store demonstrates how to use [**Smart Wallet Profiles**](/smart-wallet/concepts/features/optional/profiles)
10+
Onchain Vibes Store demonstrates how to use [**Base Account Profiles**](/smart-wallet/concepts/features/optional/profiles)
1111
to securely collect user information (like email and physical address)
1212
during an onchain transaction. This feature enables seamless, privacy-first
1313
data collection for e-commerce and other onchain apps.
1414

15-
## What Are Smart Wallet Profiles?
15+
## What Are Base Account Profiles?
1616

17-
Smart Wallet Profiles allow your app to request personal information from users as part of a transaction. Supported data types include:
17+
Base Account Profiles allow your app to request personal information from users as part of a transaction. Supported data types include:
1818

1919
- Email address
2020
- Phone number
@@ -28,7 +28,7 @@ Users are always in control: they see exactly what you request and can choose to
2828

2929
1. **User clicks Buy**: The checkout UI lets users select what info to share (email, address).
3030
2. **App requests data**: The app sends a transaction with a `dataCallback` capability, specifying the requested data and a callback URL for validation.
31-
3. **Smart Wallet prompts the user**: The wallet UI collects the requested info.
31+
3. **Base Account prompts the user**: The wallet UI collects the requested info.
3232
4. **Validation**: The wallet POSTs the data to your callback API for validation.
3333
5. **Transaction proceeds**: If validation passes, the transaction completes and the app displays the collected info.
3434

@@ -140,7 +140,7 @@ export async function POST(request: NextRequest) {
140140

141141
## Wagmi & Wallet Setup
142142

143-
The app uses Wagmi and the Coinbase Wallet connector, configured for Smart Wallet and profiles:
143+
The app uses Wagmi and the Coinbase Wallet connector, configured for Base Account and profiles:
144144

145145
```ts
146146
import { coinbaseWallet } from "wagmi/connectors";
@@ -185,7 +185,7 @@ function getCallbackURL() {
185185

186186
- [Profiles Guide](/smart-wallet/guides/profiles)
187187
- [Profiles Reference](/smart-wallet/technical-reference/profiles-reference)
188-
- [Smart Wallet Docs](/smart-wallet/quickstart)
188+
- [Base Account Docs](/smart-wallet/concepts/what-is-smart-wallet)
189189
- [Wagmi Docs](https://wagmi.sh/)
190190

191191
import PolicyBanner from "/snippets/PolicyBanner.mdx";
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: "NextJS with Privy"
3+
description: "Integrate Base Account with Privy"
4+
---
5+
6+
7+
We are working with [Privy](https://www.privy.io/) to integrate Base Account with their SDK.
8+
9+
A full guide and example will be available soon.
10+
In the meantime, you can use the connector from the [Wagmi guide](/base-account/framework-integrations/nextjs-with-wagmi)
11+
with [Privy+Wagmi](https://docs.privy.io/wallets/connectors/ethereum/integrations/wagmi) as a workaround.
12+
13+
14+
15+
import PolicyBanner from "/snippets/PolicyBanner.mdx";
16+
17+
<PolicyBanner />

0 commit comments

Comments
 (0)