Skip to main content
Both self hosted and cloud version are required some variables to be provided during the initialization of an SDK. The list of envs for cloud version is significant, than for a self hosted one. Here is the full list of variables:
Variable NameDescriptionVersionMandatory
PRIVY_APP_IDPrivy wallet app id for embedded walletsSelf-hostedYes
PRIVY_APP_SECRETPrivy wallet app secret for embedded walletsSelf-hostedYes
RPC_URLA RPC URL for a chainSelf-hostedYes
BUNDLER_URLA bundler URL to process User OperationsSelf-hostedYes
COINBASE_CDP_API_KEY_IDCoinbase CDP Api Key ID for on/off ramp functionalitySelf-hostedNo
COINBASE_CDP_API_KEY_SECRETCoinbase CDP Api secret for on/off ramp functionalitySelf-hostedNo
INTEGRATOR_IDUnique integrator ID to track SDK usage and enable 3rd party services (e.g., Coinbase off/on-ramp)Self-hostedYes
API_KEYAPI key to run SDK with managed settingsCloudYes
PROTOCOL_RISK_LEVELRisk level of protocol that will be used by an SDK in the configurationCloud & self-hostedYes
CHAIN_IDChain ID to work withCloud & self-hostedYes

Faucet variables

If you want to run the local faucet, you need to set variables in .env for the faucet service in packages/blockchain
EnvDescritpion
FORK_RPC_URLThe URL of your chain fork
EXPRESS_PORTThe port for the facuet service
EXPRESS_ENTRYThe main file for the faucet service
NODE_CMDManager to run the script
BUNDLER_URLThe URL of the Alto bundler