Skip to content

Commit 1b5e9e6

Browse files
committed
add patches
1 parent d3d8318 commit 1b5e9e6

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

docs/smart-wallet/examples/onchain-vibes-store-with-profiles.mdx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,14 @@ const cbWalletConnector = coinbaseWallet({
159159

160160
1. Start your dev server: `npm run dev`
161161
2. Start ngrok: `ngrok http 3000`
162-
3. Set `VITE_NGROK_URL` in your `.env` to your ngrok HTTPS URL
162+
3. Set the ngrok URL in the `CheckoutButton` component
163+
164+
```tsx
165+
function getCallbackURL() {
166+
return "https://your-ngrok-url.ngrok-free.app/api/data-validation"
167+
}
168+
```
169+
163170
4. Try a purchase and share profile data
164171

165172
---

0 commit comments

Comments
 (0)