# Dfns Environments

Dfns offers developer a production environment and a staging environment.&#x20;

Those two environment are fully independent — your data, including accounts and credentials, are never shared between the two.&#x20;

### Environments overview

<table><thead><tr><th width="120.22265625">Environment</th><th width="162.67578125">API base URL</th><th width="141.2109375">Dashboard URL</th><th width="113.94140625">Chains</th><th width="64.21875">SLAs</th><th>Webhook origin IP</th></tr></thead><tbody><tr><td>Production</td><td><code>api.dfns.io</code></td><td><a href="https://app.dfns.io/">app.dfns.io</a></td><td><i class="fa-check">:check:</i> Mainnet<br><i class="fa-check">:check:</i> Testnet</td><td>Yes</td><td><code>35.181.116.68</code></td></tr><tr><td><mark style="color:$warning;">[deprecated]</mark><br><mark style="color:$info;">Staging</mark></td><td><mark style="color:$info;"><code>api.dfns.ninja</code></mark></td><td><a href="https://app.dfns.ninja/"><mark style="color:$info;">app.dfns.ninja</mark></a></td><td><i class="fa-xmark-large">:xmark-large:</i> <mark style="color:$info;">Mainnet</mark><br><i class="fa-check">:check:</i> <mark style="color:$info;">Testnet</mark></td><td><mark style="color:$info;">No</mark></td><td><mark style="color:$info;"><code>52.47.197.63</code></mark></td></tr></tbody></table>

{% hint style="danger" %}

### *The staging environment is to use only with test funds*

This constraint exists to prevent customers from accidentally moving real funds into the staging environment. Dfns cannot prevent customers from using the staging environment to send funds to a mainnet chain. This is however against our terms of use, so please don't do it - thanks!
{% endhint %}

### Building API endpoint URLs

Throughout our documentation, assume that you should prepend the environment base URL in front of the API paths given.&#x20;

For example: `GET /wallets/` should be interpreted as:

* For production:  `GET https://api.dfns.io/wallets/`
* <mark style="color:$warning;">\[deprecated]</mark> <mark style="color:$info;">For staging:</mark>  <mark style="color:$info;"></mark><mark style="color:$info;">`GET https://api.dfns.ninja/wallets/`</mark>

### Whitelisting webhooks origin IPs

Our webhooks will always be originated from the same IP address (see table above). You can therefore use these if you want to whitelist Dfns IPs for filtering webhook delivery.
