> For the complete documentation index, see [llms.txt](https://docs.stealthtest.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stealthtest.com/stealthtest-guides/testing-with-remix.md).

# Testing with Remix

{% hint style="warning" %}
Please note that this guide is meant to serve as a simple way of testing against your newly deployed private EVM or EVM-compatible test network. It is not a detailed integration guide.&#x20;
{% endhint %}

#### Before you begin, please make sure to [add your private network and wallet](/stealthtest-guides/connecting-to-stealthtest-networks/metamask.md) to Metamask.

#### Quick Smart Contract Deploy & Test

{% hint style="info" %}
**Click** [**this link**](https://remix.ethereum.org/?#code=Ly9TUERYLUxpY2Vuc2UtSWRlbnRpZmllcjogVW5saWNlbnNlCnByYWdtYSBzb2xpZGl0eSBeMC44LjA7Cgpjb250cmFjdCBHcmVldGVyIHsKICAgIHN0cmluZyBwcml2YXRlIGdyZWV0aW5nOwoKICAgIGNvbnN0cnVjdG9yKHN0cmluZyBtZW1vcnkgX2dyZWV0aW5nKSB7CiAgICAgICAgZ3JlZXRpbmcgPSBfZ3JlZXRpbmc7CiAgICB9CgogICAgZnVuY3Rpb24gZ3JlZXQoKSBwdWJsaWMgdmlldyByZXR1cm5zIChzdHJpbmcgbWVtb3J5KSB7CiAgICAgICAgcmV0dXJuIGdyZWV0aW5nOwogICAgfQoKICAgIGZ1bmN0aW9uIHNldEdyZWV0aW5nKHN0cmluZyBtZW1vcnkgX2dyZWV0aW5nKSBwdWJsaWMgewogICAgICAgIGdyZWV0aW5nID0gX2dyZWV0aW5nOwogICAgfQp9Cg\&optimize=false\&runs=200\&evmVersion=null\&version=soljson-v0.8.7+commit.e28d00a7.js) which takes you to Remix with a boilerplate contract loaded up. You do not need to be familiar with Remix but if you want to learn more about it, read [here](https://remix-ide.readthedocs.io/en/latest/).
{% endhint %}

1. Click the button titled **Solidity Compiler** on the side navigation bar
2. Click **Compile**
3. Navigate to the **Deploy and Run Transactions** on the side navigation bar
4. Open the **Environment** dropdown and select `Injected Provider - Metamask`. Directly below that field, you should see `Custom ##### network` where the number is replaced with the chain ID for your private network
5. Verify that the wallet address you are using for testing shows up under the **Account** dropdown
6. Verify that the **Contract** dropdown is displaying the `Greeter` contract
7. Navigate to the `string_greeting` text box and enter a message of your choice (Ex: Hello!) then click **Deploy.** The Metamask extension should open up with a prompt to confirm the transaction.&#x20;
8. Once your contract is deployed, you should see the new contract and address under **Deployed Contracts.** Then expand the contract to reveal the supported functions.&#x20;
9. Click `greet` and you should see your custom message appear directly below

{% hint style="success" %}
Congratulations! You have successfully deployed a simple smart contract to your own private EVM or EVM compatible test network on StealthTest!
{% endhint %}

![](/files/GhO2rQ9p1q1j2vJbD3B7)

![](/files/L1u9WVxysCG3Hl4E6iry)

![](/files/N8ba9xogXj08wAMh7Mv6)
