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
Make sure to replace `0xRecipientAddress` with your recipient address.
197
211
</Note>
198
212
213
+
<Tip>
214
+
**Base Pay and SIWB are independent**
215
+
216
+
You DO NOT need to use SIWB to use Base Pay. You can just call the `pay()` function without any additional setup.
217
+
</Tip>
218
+
199
219
## 4. Start your app
200
220
201
221
```bash
202
-
npm start
222
+
npm run dev
203
223
```
204
224
205
225
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! 🎉
206
226
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.
227
+
**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.
208
228
209
229
## Next steps
210
230
211
-
***[Request profile data](/base-account/guides/accept-payments#collect-user-information-optional)** – ask the user for email, shipping address, etc. during `pay()`
***[Mobile quick-start](/base-account/quickstart/mobile-integration)** – the same flow for React Native
231
+
***[Authenticate Users](/base-account/guides/authenticate-users)** strong authentication by setting up Sign in with Base with backend verification
232
+
***[Accept Payments](/base-account/guides/accept-payments)** explore all the features of Base Pay
233
+
***[Sign in with Base Button](/base-account/reference/ui-elements/sign-in-with-base-button)** – implement full SIWE authentication with backend verification
234
+
***[Base Pay Button](/base-account/reference/ui-elements/base-pay-button)** – collect user information during payment flow
235
+
236
+
<Warning>
237
+
**Please Follow the Brand Guidelines**
238
+
239
+
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.
0 commit comments