CVP Proposal: Hera Finance- Dex Aggregator

:grey_exclamation: The project has not been launched yet, it is under development.

Hera is the key liquidity aggregator for Metis Network, offering the widest range of tokens and best route discovery between any token pair.

We aim to provide the most friendly UX for users and most powerful tools for developers to allow them to easily access the best-in-class swap in their application, interface or on-chain programs.

:white_check_mark: Multi Token Aggregator
:white_check_mark: Staking
:white_check_mark: Farming
:white_check_mark: Governance (DAO)

:arrow_right: Read Docs:
:arrow_right: Web:
:arrow_right: Web:

Why Hera Aggregator?

Integrate with Hera in order to:

  • Offer best price swaps for your users
  • Automatically stay up to date with the latest tokens and liquidity sources
  • Make swaps a revenue source by adding your own platform fee to the transaction
  • Set their caching options to make their swap as speedy or as precise they wish to be.

APIs and on-chain program support coming soon.

How does Hera work?

Under the hood
The price for a token can change quickly at any point in time. So the best priced trade is not always on one DEX and may involve a combination of trades across many DEXes.

Here are some key features for how Hera discovers the best priced trades.

Smart Routing
Hera directly connects all DEX markets and AMM pools together no matter the provider and will find all direct and 2-hop routes between any two tokens on Metis Network.

Multi-hop Routes

Not only does Hera compare the prices between markets on different DEXes but often the best priced routes are not direct markets. Instead, Hera.Finance may finds the best price by routing through an intermediary token, e.g. USDC-WETH-METIS instead of USDC-METIS. This may be due to price inefficiencies and/or volatility in the various markets that Hera.Finance routes through.

Trade Splitting

Hera will split your trade into smaller trade sizes. For example, if you want to make a 100 USDC-METIS trade, it may distribute your trade into a 30 USDC-METIS trade on Netswap and a 70 USDC-METIS trade on Tethys Finance. The % distribution of the trades is dynamically determined to give you the best price. Trade splitting helps get better prices for large size trades and trades with tokens where there is shallow liquidity spread out across a number of DEXes.

Automatically lists new tokens
The number of new tokens being added is increasing at an ever faster pace. This means you can be assured that you’ll be able to trade new tokens as they launch on Metis Network.

Lists new markets rapidly
Lists new markets rapidly The number of markets and liquidity pools that are launching is also increasing. Hera rapidly picks up any market or pool for any of the DEXes it currently aggregates. This ensures that Hera always has the latest liquidity for any token that is listed as soon as it is available.

Swap in a single transaction
Hera has worked to optimize its swap aggregation so that it all fits with the transaction limits so that swapping can be done in one transaction. This is important to handle cases where the price for the token you are buying has changed and no longer fits your slippage limit. If Hera cannot make the trade with your slippage limit, it rollback the transaction and return an error.

The basic flow

  1. User enters in the tokens they want to trade .
  2. User enters in the amount of tokens they want to trade for.
  3. Hera calculates out all the possible routes for the token trade.
  4. Hera fetches the quotes for each of those routes and returns the amount of tokens you will receive per route.
  5. Hera ranks each route by most tokens you will receive.
  6. User can select select any route but the first route offers the best price.
  7. User clicks to trigger a swap.
  8. User approves the Hera transactions from their wallet
  9. Hera.Finance executes the trade.

Swap Fees Distribution
Hera Aggregator, earn some fees from the swap transactions. We advocate using this profit to strengthen the Hera ecosystem.

Therefore, we will distribute the proceeds as follows:

  • Ecosystem Funds (Treasury) (40%)
  • Development & Marketing (20%)
  • Buy $HERA & Add LP (15%)
  • Rewards Pool (15%)
  • Leaderboard (10%)

Hera dex aggregator is live now!


We’ve published our article, it’s worth checking out. :white_check_mark:


Dex Aggregator — Hera Finance


Hera Dex Aggregator is a protocol that aims to provide the best swap return by scanning multiple liquidity providers markets. It uses trade splitting and multi-hop features to find the best route.

Sometimes it interacts directly with a single AMM to find the best route, sometimes it operates on multiple AMMs. It creates new paths by dividing it according to the amount of input amount. Each road creates the best route independently of each other. Therefore, the maximum output amount is made. In other words, both maximum income is obtained and a balance is created in the pools.

Hera has an artificial intelligence supported off-chain calculation program that creates routes. Makes 90,000+ account attempts on each query. It finds all liquidity pools and creates routes without over draft scenarios.

It compiles all these routes and approves them in a single transaction. It poses no risk and is fast.


Each liquidity provider AMMs has a certain slippage interval as per their algorithms. The larger the transaction amount, the larger this deviation margin. For this reason, a number different from the one that appears on the swap screen is often transferred to your wallet.

HeraGuard, on the other hand, handles this structure in a completely different way. The exact amount you see on the swap screen is transferred to your wallet. The reason is that the route and amounts found by the Hera algorithm are created by calculating all the details. In other words, it aims at maximum income by considering slippage loss. And therefore unexpected losses do not occur.

This structure has some disadvantages. For example, tokens that contain tax or are deflationary in every transaction cannot be processed on Hera. However, in the future, we will stretch this strict rule and make an alternative “slippage setting” area and leave the decision to the users.


In the current version, Hera Dex Aggregator earns a profit based on the entire transaction amount. Your income is received from the input amount field of the swap transaction and the rate is 0.3%. This rate is currently fixed and is valid for any amount.

However, this can cause problems in giving the best price in small swap transactions. For this reason, we will make some improvements in the coming period. We can receive a fee of 0.1% for transactions below a certain amount, and for transactions above a certain amount, we will determine it with the “Swap Fee Discount” feature that we will specify below.


$HERA is the governance token of Hera Finance and Hera Dex Aggregator. On the way to becoming a wide ecosystem, we have created usage areas for the token. We will continue to increase these over time and provide benefits to token holders.

Our second contract, HeraFeeOrganizer -completed the audit process- will start operating at this point. The working logic will be flexible and changeable. For example, categories will be created that will provide fee discounts at certain levels, and people who meet these criteria will get swap fee discounts according to their levels.

These criteria may vary, such as being a token holder, staking tokens, providing liquidity, or holding an NFT.


Our application earns an income from every swap transaction. These revenues will not be fully donated to the team. It will be funded to grow and develop the ecosystem and token. It will also be sent as a reward to people who use our app and will provide incentives to the stake pool.

Proceeds from transaction fees will be distributed as follows:

• Ecosystem Funds (Treasury) (40%)

• Development & Marketing (20%)

• Buy $HERA & Add LP (15%)

• Rewards Pool (15%)

• Leaderboard (10%)

Our staking and leaderboard feature is not active yet, so these criteria will be processed once updates are complete.


• Our protocol takes into account the center of gravity and force curves while creating the best swap route due to its structure. It makes inquiries in more than one liquidity provider and sets up trade splitting to provide balance. In this way, it provides a “balancer” effect on different prices on different dex platforms and averages the price. It is a blocking factor for many flash swap bots.

• Eliminates the fear of price deviations for users. It makes a difficult process, such as different processes in two different places, the easiest. It takes advantage of time, transaction fees and the number of transactions that will tire the network.

• It is a must-have application for every network it is in and it takes part in preventing unstable movements.

• It prevents the “gap” problem in large transactions and does not experience large shifts in the prices of input/output tokens. This is an important element for the ecosystem.


  1. Hera Dex Aggregator, which is still in beta, will be upgraded from v1.1 to v1.2 with the feedback received.

  2. As an alternative to HeraGuard, the “slippage setting” feature that allows swapping in deflationary tokens will be integrated.

  3. In order to create a token usage area, “Single Staking” will be opened first. In addition, farming pools with $HERA returns will be opened for liquidity providers.

  4. Criteria for the swap fee reduction will be determined and a structure will be established that provides an advantage to $HERA token holders.

  5. Launch a Governance/DAO protocol to enforce the Community’s decisions. The team will not have a single say in the areas that concern Hera.

  6. The revenues obtained will be used within the ecosystem, the rewarding of the people who use the application and incentive activities will be started.

  7. We will prepare “Multi Token Aggregator” as a unique feature. It will swap multiple tokens in one transaction.

  8. For Hera v2, we will bring all off-chain computing algorithms to peak performance with C, Go, Rust and TypeScript. By run a Metis replica node, we will carry on-chain transaction loads to the network. We will provide improvements in route finding combinations.

  9. We will release an SDK that allows developers and project owners to use Hera Dex Aggregator. Every developer will be able to integrate their projects using our SDK for a swap that offers its users fast and best price.

  10. We will integrate Curve assisted calculation algorithms. A new structure will be prepared for stable-swap and the slip rate will be minimized.

  11. We will begin a critical process to run the Dex aggregator on different L1 / L2 networks. At this stage, a new step will be taken for the crosschain dex aggregator.

1 Like

Hera is a great planned and projected project with a strong team and in the Name of Decentralization with Liberty and Justice, may the fourth un-lockening be with us all. Amen.


Any updates on when the staking and multi-coin trading functions will be live? In the meantime, happy to have an aggregator on Metis! Keep up the good work.


Hello there. Single staking will be available very soon. For multi token swap, you may have to wait a little longer.


Hey there Hera, care to share just a little bit more? List of tokens that we can park?

1 Like

Only Hera Token, also will be update for Hera LP token staking/farming. Please visit our TG group for all questions. Thanks.