@@ -79,7 +79,7 @@ Mini app url: [https://verify.base.dev](https://verify.base.dev)
7979
8080---
8181
82- ## Integration Steps
82+ ## Integration Example Steps
8383
8484### Step 1: Set Up Configuration
8585
@@ -89,6 +89,7 @@ Create `lib/config.ts`:
8989export const config = {
9090 appUrl: ' https://your-app.com' ,
9191 baseVerifySecretKey: process .env .BASE_VERIFY_SECRET_KEY ,
92+ baseVerifyPublisherKey: process .env .BASE_VERIFY_PUBLISHER_KEY ,
9293 baseVerifyUrl: ' https://verify.base.dev/v1' ,
9394 baseVerifyMiniAppUrl: ' https://verify.base.dev' ,
9495}
@@ -98,9 +99,23 @@ Create `.env.local`:
9899
99100``` shell
100101BASE_VERIFY_SECRET_KEY=your_secret_key_here
102+ BASE_VERIFY_PUBLISHER_KEY=your_publisher_key_here
101103```
102104
103- Contact [ rahul.patni@coinbase.com ] ( mailto:rahul.patni@coinbase.com ) to get your secret key
105+ Contact [ rahul.patni@coinbase.com ] ( mailto:rahul.patni@coinbase.com ) to get your secret key and publisher key.
106+
107+ ** Key Types:**
108+
109+ You will be provided both a ** publisher key** or a ** secret key** .
110+
111+ - ** Publisher Key**
112+ - Public identifier, safe to expose in client-side code
113+ - Used to identify your app
114+ - Can be included in frontend bundles
115+
116+ - ** Secret Key**
117+ - Private credential, never expose to clients
118+ - Used only on the server for privileged operations (auth, writes, webhooks)
104119
105120### Step 2: Create SIWE Signature Generator
106121
0 commit comments