You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -202,6 +186,8 @@ export default function Home() {
202
186
</div>
203
187
);
204
188
}
189
+
190
+
exportdefaultApp;
205
191
```
206
192
207
193
<Note>
@@ -213,23 +199,15 @@ Make sure to replace `0xRecipientAddress` with your recipient address.
213
199
## 4. Start your app
214
200
215
201
```bash
216
-
npm run dev
202
+
npm start
217
203
```
218
204
219
205
Open http://localhost:3000, click **Sign in with Base** (optional) and then **Pay**, approve the transaction, and you've sent 5 USDC on Base Sepolia—done! 🎉
220
206
221
-
**Note:** If you have an existing Next.js app, just install the SDK (`npm install @base-org/account @base-org/account-ui`) and add the component above to your project. For other React frameworks, you can adapt this component as needed.
207
+
**Note:** If you have an existing React app, just install the SDK (`npm install @base-org/account`) and add the component above to your project.
222
208
223
209
## Next steps
224
210
225
-
***[Authenticate Users](/base-account/guides/authenticate-users)** strong authentication by setting up Sign in with Base with backend verification
226
-
***[Accept Payments](/base-account/guides/accept-payments)** explore all the features of Base Pay
227
-
***[Sign in with Base Button](/base-account/reference/ui-elements/sign-in-with-base-button)** – implement full SIWE authentication with backend verification
228
-
***[Base Pay Button](/base-account/reference/ui-elements/base-pay-button)** – collect user information during payment flow
229
-
230
-
<Warning>
231
-
**Please Follow the Brand Guidelines**
232
-
233
-
If you intend on using the `SignInWithBaseButton` or `BasePayButton`, please follow the [Brand Guidelines](/base-account/reference/ui-elements/brand-guidelines) to ensure consistency across your application.
234
-
235
-
</Warning>
211
+
***[Request profile data](/base-account/guides/accept-payments#collect-user-information-optional)** – ask the user for email, shipping address, etc. during `pay()`
0 commit comments