# Testnet Guide

## Introduction

Integrating with the Venn testnet allows you to safely validate your integration and setup while experiencing the functionality of Venn’s security infrastructure in a controlled environment.

By joining the testnet, you can explore how Venn actively protects your smart contracts from threats, fine-tune your security, and optimize performance — without the concerns of deploying on the mainnet or disrupting your operations.

This guide will walk you through the steps to test Venn’s capabilities, helping you build confidence in your configurations before going live in Mainnet.

{% hint style="info" %}
We're on Holesky! *(additional testnets coming soon)*
{% endhint %}

{% hint style="info" %}
**Tip:** Getting a Holesky Faucet. To interact with the Venn testnet, you'll need Holesky testnet tokens. You can easily get them from one of the following Holesky faucets:

* [Google](https://cloud.google.com/application/web3/faucet/ethereum/holesky)
* [QuickNode](https://faucet.quicknode.com/ethereum/holesky)
  {% endhint %}

***

## Mock Rejection

When testing the integration between Venn and your protocol, you will want to make sure that the integration works as expected both for approved **as well as unapproved transactions**.

To facilitate this, we've created a dedicated endpoint that will **always reject** incoming transactions, allowing you to test how your application handles such scenarios. This endpoint can then be used in the **DApp SDK.**

{% hint style="info" %}
For the best developer experience, we recommend using environment variables for the **`vennURL`** parameter
{% endhint %}

```typescript
// Reading vennURL from the VENN_NODE_URL env variable
// allows your to easily switch between the real endpoint
// and the mock-rejection endpoint, without making changes
// to your DApp's code
//
const vennURL = process.env.VENN_NODE_URL;
const vennClient = new VennClient({ vennURL, ... });
```

***

## Testnet Resources

### Holesky

<table><thead><tr><th width="220">When Using</th><th width="536">Pass In</th></tr></thead><tbody><tr><td><strong>Venn CLI</strong></td><td><code>--network holesky</code></td></tr><tr><td><strong>Venn DApp SDK</strong></td><td><code>vennURL: "https://signer2.testnet.venn.build/api/17000/sign"</code></td></tr><tr><td><strong>Mock Rejection URL</strong></td><td><code>vennURL: "https://signer2.testnet.venn.build/api/17000/mock/reject"</code></td></tr></tbody></table>

***

## Support

We deeply appreciate your support and commitment to our vision of a secure Web3.\
For any assistance during the integration process or after, our technical support team is ready to help.

* **Join Venn Discord - T**o access support, join the Venn Discord community using the link below:\
  [Venn Discord - Join Here](https://discord.gg/97cg6Qhg)<br>
* **Open a Support Ticket -** Once in the Discord server, navigate to the `#support-ticket` channel and open a ticket. Our team will respond promptly to assist you
