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.95%(+0.60%/24h)
ETH Dominance: 12.33%(-0.45%/24h)
Defi Market Cap: $83.91B(-11.96%/24h)
Total Market Cap: $3014.35B(+2.79%/24h)
Total Trading Volume 24h: $205.66B(-11.20%/24h)
ETH Market Cap: $371.45B
Defi to ETH Ratio: 22.59%
Defi Dominance: 2.67%
Altcoin Market Cap: $1207.2B
Altcoin Volume 24h: $125.03B
Total Cryptocurrencies: 32221
Active Cryptocurrencies: 10064
Active Market Pairs: 89438
Active Exchanges: 760
Total Exchanges: 9578
BTC: 91356.03$(-0.01%/1H)
ETH: 3084.96$(-0.28%/1H)
AVAX: 32.99$(0.33%/1H)
BNB: 616.91$(-0.25%/1H)
MATIC: 0.37$(0.8%/1H)
FTM: 0.71$(0.03%/1H)
ADA: 0.68$(2.15%/1H)
DOT: 5.14$(0.93%/1H)
UNI: 8.47$(0.08%/1H)
CAKE: 1.84$(0.07%/1H)
SUSHI: 0.75$(0.65%/1H)
ONE: 0.01$(0.22%/1H)