> For the complete documentation index, see [llms.txt](https://docs.dmex.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dmex.app/contracts/finding-the-trading-contract.md).

# Finding the Trading Contract

{% hint style="danger" %}
This guide is necessary only if the DMEX website is unaccessible or not functioning properly. If the website is operational you can find the smart contract address in Menu > Smart Contracts
{% endhint %}

1. Find the DMEX Base Contract ([click here for instructions](/contracts/finding-the-base-contract.md))
2. Go to the Base Contract on Etherscan and  click the "Contract" tab
3. Select "Read Contract"
4. Scroll down until you find the **firstFuturesContract** variable, this is the Trading Contract address

![](https://357569466-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lx0bNqIx5ju0NQpuNqM%2F-LxKuth_62wVofkWGRcV%2F-LxL6kv1uDhfaob3dg0P%2FScreen%20Shot%202019-12-30%20at%2011.24.03%20AM.png?alt=media\&token=0c1c3f63-6e18-4aea-9faa-246c8ea73d9c)
