# Testing

Our SDK does not offer the testnet environment for testing. However, you can utilize Tenderly for testing in the simulated fork from mainnet.

### How to Test?

1. Register [Tenderly](https://tenderly.co/) and follow the instruction on creating a fork in the document here: <https://docs.tenderly.co/simulations-and-forks/how-to-create-a-fork>&#x20;

![Choose BSC or target chain as the Network to fork](/files/G1NcLHzTZ0DIKEEEBAyg)

2\. Configure the RPC URL to Metamask. Read more here: <https://www.notion.so/Metamask-Tenderly-14528949e83c42f4b24b6e0a44a6badf>

![](/files/DtqZs3pHT7alXooNjuGM)

Use the URL below for the RPC, replace {{forkID}} with your fork ID from the URL.

```
https://rpc.tenderly.co/fork/{{forkID}}
```

3\. Switch Metamask Network to your configured Tenderly. Make a transaction and the result will appear in the Tenderly forked transaction page. (Not bscscan)&#x20;

{% hint style="success" %}
With Tenderly, you can use metamask to perform a simulated transaction without losing any actual tokens.
{% endhint %}

&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.wardenswap.finance/warden/wardenswap-sdk/testing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
