# Locking $THX to $veTHX

## How-to lock your $THX to $veTHX

1. Head over to the [**THX Membership Dashboard**](https://app.thx.network/)**.**
2. Create your $veTHX by following the steps in the video or written out below. Note that for a [free membership](/users/memberships-free.md) you need to lock a minimum of $5 USDC.e worth of $THX.

{% hint style="warning" %}
To earn maximum voting power and protocol fees lock your THX tokens for **12 weeks.** To keep earning maximum benefits be sure to revisit the app to lock every Thursday!&#x20;

You get your full amount of tokens back when the locked date passes. Alternatively you can unlock your tokens early with a linear early unlock fee.&#x20;
{% endhint %}

{% embed url="<https://youtu.be/MqMfwzpkmW4>" %}

## Changing the lock, penalties and reward distribution

The interface also allows for increasing your lock amount and time, early withdraw with a linear penalty and claiming of rewards. Current tokens distributed as rewards:

* BAL
* 80USDC-20THX-gauge

Penalties for early unlocking of tokens are send to the Reward Distributor and distributed to other stakers.

### How-to stake & lock (screenshots below)

{% hint style="info" %}
\*Note: The Balancer pool currently consists of $USDC.e and $THX. If you have $USDC, you will need to swap it for $USDC.e on a DEX such as [1Inch](https://app.1inch.io/).&#x20;
{% endhint %}

Note that the minimum amount to be eligible for a [THX Membership](/users/memberships-free.md) is approximately 175 $THX or $5.

1. Visit the staking and membership dashboard at <https://app.thx.network/>
2. You have two options to sign-in and connect your wallet. \
   \
   a) Select 'Sign up' or 'Sign in' in the top right corner to use your THX Network smart wallet.\
   b) Use WalletConnect to connect one of the 380+ supported wallets. When using WalletConnect, don't forget to push one more time on the WalletConnect button.&#x20;
3. On the 'Liquidity' tab deposit either $USDC, $THX or a combination thereof by selecting the amount and clicking 'Add liquidity'. \
   \
   a) Approve the liquidity for both $USDC.e and $THX\
   b) Once the $USDC.e and $THX are approved, add the liquidity. This will give you 20USDC-80THX tokens.
4. Stake the liquidity you just created. \
   \
   a) Select your desired balance to stake and click 'Stake Liquidity'.\
   b) Approve the token and select 'Stake' one more time. Confirm the transaction in your wallet. This will give you 20USDC-80THX-gauge tokens.
5. Go to the 'Membership' tab.\
   \
   a) Select the amount of 20USDC-80THX-gauge tokens you received for adding liquidity and that you now want to lock.\
   b) Select an unlock date, the max. lock time for full rewards and governance power is **12 weeks.**                                                                                                                                                               c) Approve the spending of your 20USDC-80THX-gauge tokens. Wait for the transaction to complete.

\* If you have already made a deposit and want to increase the amount, you will need to click 'Increase' to boost your current 20 USDC-80 THX gauge tokens.

6. Click 'Lock 20USDC-80THX' to submit the final transaction and wait for the transaction to complete.&#x20;
7. The page will now show you [Membership status](/users/memberships-free.md), voting power, locked amount and when the lock ends.\
   \
   Balances of veTHX and remaining 20USDC-80THX-gauge tokens (if any) are displayed on the right. You can also increase your locked amount, and lock ending.\
   \
   **Optional**: add veTHX to your wallet by adding the custom token address mentioned at the top of the article. For example, see the [help article for adding custom tokens in MetaMask](https://support.metamask.io/hc/en-us/articles/360015489031-How-to-display-tokens-in-MetaMask#h_01FWH492CHY60HWPC28RW0872H).

{% hint style="success" %}
**Congrats! You just staked your tokens and created a $veTHX position.**
{% endhint %}

{% hint style="info" %}
After locking your 'My balance' on [Balancer's Portfolio page](https://app.balancer.fi/#/polygon/portfolio) will show as '0'. This is normal :)
{% endhint %}

## Secured and Backed by the Best

THX Network's [staking and lock system](/tokenomics/locking-usdthx-to-usdvethx.md) is built using Balancer smart contract technology. Balancer has [completed full audits](https://docs.balancer.fi/reference/contracts/security.html) with Certora, OpenZeppelin, Trail of Bits, and ABKD.

### Bug Bounty <a href="#bug-bounty" id="bug-bounty"></a>

Balancer's bug bounty program is [among the largest in DeFi](https://immunefi.com/explore/?sort=reward%3Adesc) with a maximum payout of **1,000 ETH** for critical vulnerabilities. For more info of Balancer's Bug Bounty program, visit their [Immunefi page](https://immunefi.com/bounty/balancer/).

### Investors <a href="#bug-bounty" id="bug-bounty"></a>

&#x20;THX Network is  backed by a strong set of European and global investors and accelerators.&#x20;

<figure><picture><source srcset="/files/PoqYmdqwSfishXUaEM24" media="(prefers-color-scheme: dark)"><img src="/files/JO9CYdvL3H1y7KOE5F2v" alt="" width="375"></picture><figcaption><p><strong>THX Network is backed by Techstars, one of the largest pre-seed investors in the world, 2022 cohort.</strong></p></figcaption></figure>

<figure><img src="/files/WbwxopUFC2JJkdXyHjAy" alt="" width="178"><figcaption><p><strong>THX Network has received funding from the European Union under agreement 82888 (Blockpool) and 824509 (Block.IS)</strong></p></figcaption></figure>

##

## Screenshots (how-to stake)

<figure><img src="/files/N4RNQeT0OKoJ5LcDO1LC" alt=""><figcaption><p>Step 1 and 2 at<a href="https://app.thx.network/"> https://app.thx.network</a></p></figcaption></figure>

<figure><img src="/files/kgooaEWrzDbloSvpHCG8" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-us.googleusercontent.com/ks49dgpsxqaFjEuAqJVZy1hcP7FTYivMUQqbGQ2dq6u03AlCvoEDUiPdfdXmSNDwB00Th8pguHh6DafUPjcT6dGzrJ1-8TO7xq3hp94oMcirWopvR61Eb0ajBAxEaf_d98Bven1mRLdYCMifd7JKbTE" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/SrbbKJOXvp5YDZta3oDd" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/k3783OYOWYQUxcZBSuZw" alt=""><figcaption><p>Step 3a</p></figcaption></figure>

<figure><img src="/files/nGikomOzcqwiLntVo5u3" alt=""><figcaption><p>Step 3b</p></figcaption></figure>

<figure><img src="/files/nq4n5Tod1fYCk0L0A6B0" alt=""><figcaption><p>Step 4a</p></figcaption></figure>

<figure><img src="/files/Dm6QtuvoCtyOxaVCVX1K" alt=""><figcaption><p>Step 4b</p></figcaption></figure>

<figure><img src="/files/YxGqdt6esG35n7yvGXvx" alt=""><figcaption><p>Step 5a</p></figcaption></figure>

<figure><img src="/files/lVoOg7JtP7ssUV8LewbW" alt=""><figcaption><p>Step 5b</p></figcaption></figure>

<figure><img src="/files/vwykAFCDCSlIiPHlLI7V" alt=""><figcaption><p>Step 5c</p></figcaption></figure>

<figure><img src="/files/dxcUwrGVbWBSBCss067m" alt=""><figcaption><p>Step 6</p></figcaption></figure>

<figure><img src="/files/A9r95THZCBf5lT9Dnkm3" alt=""><figcaption><p>Step 7</p></figcaption></figure>

## Exiting $veTHX v1

During $veTHX development an early version of $veTHX we now call $veTHX v1 was created using non-staked Balancer BPT tokens. This version is now deprecated, meaning it is not going to be used going forward as of March 17th 2024.

**Early unlock penalties have been disabled on $veTHX v1**. To exit $veTHX v1 follow these instructions:

1. a) Visit the [ve8020 user panel by Balancer](https://docs.balancer.fi/tools/core/ve8020.html)\
   b) Search for *0xb204bf10bc3a5435017d3db247f56da601dfe08a* on the veSystem Overview screen
2. Select 'veSystem Details' on the 'Vote Escrowed 20USDC-80THX' result.\ <br>

   <figure><img src="/files/7kqQnI3UOrv2a0jZ3rkA" alt=""><figcaption></figcaption></figure>
3. On the 'veSystem Details' screen select 'Early Withdraw' and submit the transaction.
4. After the transaction has been completed you find your tokens on [20USDC-80THX Pool on Balancer](https://app.balancer.fi/#/polygon/pool/0xb204bf10bc3a5435017d3db247f56da601dfe08a0002000000000000000000fe).

You can now follow the normal staking procedure above from **step 2)** to stake your tokens and create $veTHX v2.

## Technical Specifications

{% hint style="info" %}
Vote Escrowed 20USDC-80THX-gauge (veTHX) Address\
[0xE3B8E734e7BCcB64B63e032795896CC57012A51D](https://polygonscan.com/address/0xE3B8E734e7BCcB64B63e032795896CC57012A51D) (Polygon PoS)
{% endhint %}

**Deployment:** [**https://polygonscan.com/tx/0xf65820e530e70045c8a9abcddd0c1e7a4859b443ffffe0c3b6a67d3f378bca4a#eventlog**](https://polygonscan.com/tx/0xf65820e530e70045c8a9abcddd0c1e7a4859b443ffffe0c3b6a67d3f378bca4a#eventlog)&#x20;

```
votingEscrow: 0xE3B8E734e7BCcB64B63e032795896CC57012A51D
rewardDistributor: 0xCc62c812EfF9cA4c35623103B2Bb63E22f465E09
rewardFaucet: 0xA1D7671f73FbcB5e079d4dC4Cffb7dDD0967EA7E
admin: 0x2622A048d38A3eC23CA8F203E4E76F073E19D250
```

**Parameters:**

{% code fullWidth="false" %}

```
Locked Token Address: 0xb204bf10bc3a5435017d3db247f56da601dfe08a 
veSystem Name: Vote Escrowed 20USDC-80THX-gauge 
veSystem Symbol: veTHX 
Reward Distribution Start-time: Tuesday, March 5, 2024 
Max Lock-time Days: 90 
Enable the option for early unlocking of all tokens: Yes 
Enable the option for early unlocking of tokens with a penalty for early unlock: Yes
```

{% endcode %}

### Governance Discussions

Prior to launch the proposed system was discussed on the Governance Forum. For reference this are the relevant posts:

* <https://gov.thx.network/t/staking-feedback/70/4>
* <https://gov.thx.network/t/staking-feedback-part-2/71>


---

# 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.thx.network/tokenomics/locking-usdthx-to-usdvethx.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.
