Skip to main content
To run CLI locally with SDK you need to provide the list of mandatory variables. Here is the full list of environment variables that you need to provide into .env file in the CLI package:
VariableDescriptionMandatory
PRIVY_APP_IDPrivy wallet app id for embedded wallets
PRIVY_APP_SECRETPrivy wallet app secret for embedded wallets
CHAIN_IDChain ID to work with. Default: 8453
RPC_URLA RPC URL for a provided chain
BUNDLER_URLA bundler URL to process User Operations
PAYMSATER_URLA paymaster URL to sponsor gas for onchain operations
COINBASE_CDP_API_KEY_IDCoinbase CDP Api Key ID in case if you want to use on/off ramp functionality
COINBASE_CDP_API_KEY_SECRETCoinbase CDP Api secret in case if you want to use on/off ramp functionality
INTEGRATOR_IDUnique integrator ID that is necessary to track SDK usage and to enable 3d party services, e.g. Coinbase off/on-ramp
PROTOCOL_RISK_LEVELThe risk level of protocols that should be used to recommend DeFi opportunities. More about this option in the Protocols section
BLOCKCHAIN_SERVICE_HOSTNAMEThe URL of the faucet service. More about service in the Local faucet section

Supported protocols

More about supported protocols and related parameters