Introducing Loki a Polygon MEV testnet is live!

Published on: 08.10.2021

Marlin is Introducing Loki, a Polygon MEV testnet dedicated to testing mev-bor and bundles sent via a compatible relay.

Current Polygon PoS architecture

Polygon PoS consists of two chains: Heimdall and Bor which work in tandem with each other.

  1. A validator is responsible for maintenance of both the chains and maintains a stake on Ethereum to join the network.
  2. Heimdall validators of a given round read state on the Ethereum main chain and choose validators who will produce blocks on Bor for a given slot.
  3. Bor validators read Heimdall blocks to determine which slot they will be producing blocks for. A slot generally involves producing 64 consecutive blocks.
  4. Heimdall validators read blocks produced on Bor and checkpoint them on Ethereum.

Goals of the Polygon MEV testnet

The Polygon MEV testnet has been designed with the following goals in mind:

  1. Mainnet validators should be able to participate in the testnet
  2. It shouldn’t affect the mainnet
  3. It shouldn’t lead to any economic losses apart from electricity/bandwidth required to run a testnet node
  4. It should display the stability of the mev-bor and act as a good testing ground for any future updates to mev-bor
  5. It should display interoperability with other clients, most importantly vanilla bor itself when only a fraction of the network upgrade to mev-bor
  6. It should be a testing ground for the Marlin gateway which acts as a bridge between mev-bor and different private relays
  7. It should display the stability of the simultaneous usage of the public mempool using the P2P network and private relays

Architecture of the Polygon MEV testnet

Given the goals set above, it is clear that the Heimdall and Ethereum layers of the mainnet Polygon architecture are not strictly required. The Polygon MEV testnet consequently makes the following decisions:

  1. No token even on testnet needs to be staked. Prospective Bor validators need only register offchain with the testnet operator by filling https://form.typeform.com/to/meZlLpNS.
  2. The testnet operator simulates the functions of the Heimdall chain by randomly selecting a few registered Bor validators for every slot.
  3. Instead of running Heimdall themselves, Bor validators simply need to use the following limited Heimdall API endpoint provided by the testnet operator: http://13.57.231.182:8000
  4. The testnet operator makes no checkpoints and instead only listens to Bor blocks to conduct health tests and examine the transactions and/or bundles included in the block.

In addition, to listen to MEV bundles, operators are required to run the Marlin gateway which connects to the Marlin relay. More information can be found in our docs here.

Source code for the testnet design can be found at https://github.com/marlinprotocol/loki. We hope the Polygon MEV testnet can be used to carry out interesting experiments in a lighter environment with different network parameters in addition to testing the stability of mev-bor.

Join them on Discord server in case you have queries and follow our official social media channels to get the latest updates as and when they come out!

Twitter | Telegram Announcements | Telegram Chat | Discord | Website

SOURCE: https://blog.marlin.org/polygon-mev-testnet-is-live

Market Stats:
BTC Dominance: 59.87%(+0.21%/24h)
ETH Dominance: 12.33%(-0.38%/24h)
Defi Market Cap: $83.89B(-17.25%/24h)
Total Market Cap: $3007.2B(+2.73%/24h)
Total Trading Volume 24h: $198.82B(-16.03%/24h)
ETH Market Cap: $370.96B
Defi to ETH Ratio: 22.61%
Defi Dominance: 2.67%
Altcoin Market Cap: $1206.77B
Altcoin Volume 24h: $121.33B
Total Cryptocurrencies: 32221
Active Cryptocurrencies: 10064
Active Market Pairs: 89457
Active Exchanges: 760
Total Exchanges: 9578
BTC: 91017.23$(-0.12%/1H)
ETH: 3079.86$(-0.71%/1H)
AVAX: 32.97$(-0.53%/1H)
BNB: 618.98$(-0.02%/1H)
MATIC: 0.37$(0.18%/1H)
FTM: 0.7$(-0.4%/1H)
ADA: 0.74$(5.33%/1H)
DOT: 5.16$(0.13%/1H)
UNI: 8.55$(-0.11%/1H)
CAKE: 1.84$(0.11%/1H)
SUSHI: 0.76$(0.38%/1H)
ONE: 0.01$(1%/1H)