-
Notifications
You must be signed in to change notification settings - Fork 144
Expand file tree
/
Copy pathexample.env
More file actions
17 lines (13 loc) · 905 Bytes
/
example.env
File metadata and controls
17 lines (13 loc) · 905 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Do not commit secrets to version control
# Adding these env variables allows the base.subscription.createSubscriptionOwner() and base.subscription.charge() functions to work - simplifying the integration of Subscriptions and Subscription Management
# CDP (Coinbase Developer Platform) Credentials
# Get these from https://portal.cdp.coinbase.com/projects/api-keys
CDP_API_KEY_ID=your-cdp-api-key-id-here
CDP_API_KEY_SECRET=your-cdp-api-key-secret-here
# Get this from https://portal.cdp.coinbase.com/products/server-wallet
# Allows the SDK to use your CDP wallet in a node environment
CDP_WALLET_SECRET=your-cdp-wallet-secret-here
# Paymaster URL for gas sponsorship (optional but recommended)
# This allows transactions to be sponsored so the wallet doesn't need ETH for gas
# CDP can provide this from https://portal.cdp.coinbase.com/products/paymaster
PAYMASTER_URL=https://your-paymaster-url.com