Skip to main content

Hedging Swap V2

MetalSwap Mainnet

Wallet introduction and settings

Welcome to the MetalSwap operating interface on ETH Mainnet where financial Hedging Swap transactions on the Ethereum network can be preformed.

The main landing page can be reached at

To access the Dapp click on the "LAUNCH APP" button on the top right corner.

Now we see the MetalSwap dApp page, used to create Hedging Swap positions, ready to be set up.

First step is to install Metamask wallet ( / Sec. Wallet ) as a browser extension.

We recommend using browsers such as Chrome, Firefox or Brave.

Select now the Ethereum Network on Metamask otherwise this warning will appear.

After selecting the right network, click on 'Connect Wallet'.

Application interface

From now on the instrument is ready to be configured.

As MetalSwap was designed, its purpose is to create Hedging Swap positions with the aim of reducing exposure to price volatility in particular market conditions.

The first step is to select the type of digital assets to trade with.

At the moment ETH, WBTC and WPAXG can be selected as Digital Assets.

For Gold Swaps, WPAXGs can be obtained through the Synthetizer section in the main menu of the MetalSwap website.

The PRICE CHART shows the current PRICE and the VOLATILITY, on 24hrs and 7days time frame, of the Digital Asset previous selected.

The graph shows the asset price trend.

Operating console

The rainbow graph in the console, on the left side, represents the result of the operation created.

Just below is reported the Current Price of the chosen Digital Assets, the Threshold and the Premium to pay as a fee necessary to open the Swap.

Please note: the Threshold is set by the user. When the price of the asset exceeds this level, the Swap will be closed automatically and Liquidated. It is possible to change it at any time, even when the Swap is already open.

The central slider is used to change the Cover percentage, consequently the Threshold value.

To the right, of the operating console, is where the data needs to be input:

Target Size: is the quantity of Digital Assets on which to apply the Hedge.

Expire date: is the closing/expiring date of the Hedging Swap.

Cover: is the percentage of Target Size used to cover the open position.

Liquidity reward: The amount of $XMT recognized from opening the Swap.

The user receive the $**XMTs** if the Swap closes on the Expire Date; if for any reason it closes earlier the platform is giving the $XMTs amount proportional to the time the Swap was open.

On the first set up, click the "Allowance" button to grant permission to the smart contract to spend the XMT tokens.

Important to know

MetaMask now requires you to set your spending cap, which is the number of tokens you're comfortable with the Smart Contract spending now or in the future.

  1. To avoid repeating this process, it is recommended to click on "USE DEFAULT" button. This ensures that you won't have to give an additional allowance when the previously entered number has been reached.
  2. Enter the desired value for your spending cap.
  3. Click on "NEXT" to proceed.
  4. Pay the transaction fee associated with the confirmation.

After setting the desired values ​​in the appropriate sections, proceed by clicking on the "EXECUTE SWAP" button.

The Swap Balancer section represents the percentages of Swaps open based on the Target Size for both directions. All the position opened that tends to balance the Balancer are incentivised by increasing the amount of Liquidity Reward received.

All the active Swaps are visible at the end of the page in a Current Active Swap section.

Is possible to view all the Swaps no longer active by clicking on "History" in the main menu.

In this section there are:

Executed Swap: all the Swaps that have reached the expire date without having crossed the Threshold.

Closed Swap: all the Swaps closed manually before the expire date.

Liquidated Swaps: all the Swaps that have crossed the Threshold.

To manage an active Swap, just click on it to open the data relating to its position.

For example, If the user wishes to increase the Cover, simply has to raise the desired percentage with the cursor and click on the "Refinance Swap" button to confirm it.

To close the Swap early, click on the Close Swap button.

In this case there is a penalty to pay indicated under Closing Penalties and the user will receive the Liquidity Reward proportional to the time that the Swap was open.

For all example use cases read the articles on the medium site in the MetalSwap section at