mirror of
https://github.com/hanzoai/account-sdk.git
synced 2026-09-24 16:55:42 +00:00
* getSubscriptionOwner * charge * example env * add recipient * remove telemetry from charge * add note for node only functions
17 lines
905 B
Bash
17 lines
905 B
Bash
# 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 |