> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mycelium.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# Variables

> About environment variables for self-hosted version

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 Name                 | Description                                                                                        | Version             | Mandatory |
| ----------------------------- | -------------------------------------------------------------------------------------------------- | ------------------- | --------- |
| `PRIVY_APP_ID`                | Privy wallet app id for embedded wallets                                                           | Self-hosted         | Yes       |
| `PRIVY_APP_SECRET`            | Privy wallet app secret for embedded wallets                                                       | Self-hosted         | Yes       |
| `RPC_URL`                     | A RPC URL for a chain                                                                              | Self-hosted         | Yes       |
| `BUNDLER_URL`                 | A bundler URL to process User Operations                                                           | Self-hosted         | Yes       |
| `COINBASE_CDP_API_KEY_ID`     | Coinbase CDP Api Key ID for on/off ramp functionality                                              | Self-hosted         | No        |
| `COINBASE_CDP_API_KEY_SECRET` | Coinbase CDP Api secret for on/off ramp functionality                                              | Self-hosted         | No        |
| `INTEGRATOR_ID`               | Unique integrator ID to track SDK usage and enable 3rd party services (e.g., Coinbase off/on-ramp) | Self-hosted         | Yes       |
| `API_KEY`                     | API key to run SDK with managed settings                                                           | Cloud               | Yes       |
| `PROTOCOL_RISK_LEVEL`         | Risk level of protocol that will be used by an SDK in the configuration                            | Cloud & self-hosted | Yes       |
| `CHAIN_ID`                    | Chain ID to work with                                                                              | Cloud & self-hosted | Yes       |

## Faucet variables

If you want to run the local faucet, you need to set variables in `.env` for the faucet service in `packages/blockchain`

| Env            | Descritpion                          |
| :------------- | :----------------------------------- |
| FORK\_RPC\_URL | The URL of your chain fork           |
| EXPRESS\_PORT  | The port for the facuet service      |
| EXPRESS\_ENTRY | The main file for the faucet service |
| NODE\_CMD      | Manager to run the script            |
| BUNDLER\_URL   | The URL of the Alto bundler          |
