Skip to content

Latest commit

 

History

History
146 lines (97 loc) · 11.6 KB

README.md

File metadata and controls

146 lines (97 loc) · 11.6 KB

MEV-Research

Flashbots Research Process

Flashbots Research is an open, transparent and iterative collective creation process taking inspiration from both academic and applied research, and modelled upon Ethereum Improvement Proposal (EIP) process. Anyone can contribute to Flashbots Research through opening or answering a Github issue in this repo, and/or writing a Flashbots Research Proposal (FRP) by proposing to answer a Research Question specified in the Flashbots Research Roadmap (WIP), and/or create a pull request to revise a particular FRP. Flashbots Research Process Diagram

Flashbots Research Proposals (FRPs)

FRPs stands for Flashbots Research Proposal. It is a markdown document describing the approach to answering a core Research Question specified on the Flashbots Research Roadmap (WIP). Similar to a research proposal for academic writing, it entails introducing what the research proposes to do and/or prove. It should incorporate systematic breakdown of the research question. It will also give an in-depth account of the methodologies, approaches or theories that will be used to support the hypothesis within the project, including a review of the relevant literature. Please review FRP-0 for the process of creating an FRP, and FRP-1 as an example FRP. If there exists a Research Question you deem important that is not currently on the Flashbots Research Roadmap, we invite you to open an Issue in this repository and propose your specific Research Question for consideration. FRP editors will review and update the Flashbots Research Roadmap periodically.

Issues

If you would like to raise a new Research Question to be incorporated into the Flashbots Research Roadmap, or you are a (prospective) MEV Fellow who would like to breakdown a particular Research Question into addressable sub questions to seek community contributions, we invite you to open an Issue in this repository and link it to the relevant FRP Draft.
An Issue will be closed by FRP editors if the newly proposed Research Question has been reviewed and acted upon, or a FRP has been completed, or the Issue is no longer relevant.

MEV Research Fellows

An MEV Research Fellow (or MEV Fellows) is a MEV Fellowship grant recipient whose FRP has been accepted upon review and who undertakes answering the Research Questions specified in the Flashbots Research Roadmap. In addition to delivering the FRPs, the MEV fellows, who can be either a natural person or an organization, will act as co-authors of the Flashbots research papers and are responsible for collaborating with other MEV Fellows in architecting, coordinating and delivering the Flashbots research papers and presentations.

MEV Research Contributors

If you are interested in contributing but do not want to commit to the responsibility of drafting and getting necessary alignment for an FRP, you can become a MEV Research Contributor (or Contributor). A Contributor is anyone who is not an MEV Fellow but contributes meaningful artifacts to FRPs that end up being included in the Flashbots research papers. Contributors can be either invited by respective MEV Fellows for particular FRP throughout its lifecycle of research, or request to join an MEV Fellow to work on a particular FRP before its review, to collaborate on a particular Research Question.
Opening/answering Github Issues in this repo or creating meaningful pull requests to draft FRPs are ways to signal interest and demonstrate qualification as a Contributor. Contributors will be recognized in the papers for their contribution.

Flashbots Research Phase I

Phase I of Flashbots Research Roadmap (WIP) is considered the proof-of-concept stage of Flashbots. It consists in practical/ultra-applied research akin to 'industry' R&D, in close loop with development. We expect Flashbots developers to be heavily involved in this phase.
Phase I has 2 research papers as a deliverable, the first draft of the papers will be due at the end of January, and publication targeting Q1 2021. The outcome of Phase I is immediately relevant to providing technical and economic evaluation to the Flashbots Proof-of-Concept (PoC), and communicating our design and intentions to the community.

Phase I Timeline

The tentative timeline for Flashbots Research Phase I is as follows, subject to adjustment by FRP editors. Flashbots Research Phase I Timeline

Paper 1: Whitepaper / proof-of-concept

Paper style/field: Cryptocurrency systems paper, short paper/PoC (9pgs)
Similar papers: bloxroute, Thunderella, FlyClient
Venue: FC22? USENIX?

  • Research Question: How can we build a "good" auction mechanism for validator priority "bribes"?
    • Related FRP: FRP-1
    • Related Issues: to be updated
  • Research Question: How can we leverage existing auction literature?
    • Related FRP: to be updated
    • Related Issues: to be updated
  • Research Question: How does architecture differ across PoW/PoS/leaderless?
    • Related FRP: to be updated
    • Related Issues: to be updated

Paper 2: Ethical / community charter

Paper style/field: CS ethics / social sciences paper, short paper (10-12pgs)
Similar papers: On the Moral Character of Cryptographic Work, Will the Market Fix the Market
Venue: IEEE S&B? Ledger journal?

  • Research Question: Should we build a "good" auction mechanism for validator priority "bribes"?
    • Related FRP: to be updated
    • Related Issues: to be updated
  • Research Question: How do we minimize possible user harm of priority bribe incentives?
    • Related FRP: to be updated
    • Related Issues: to be updated
  • Research Question: How do we minimize possible consensus harms of priority bribe incentives?
    • Related FRP: to be updated
    • Related Issues: to be updated
  • Research question: Should we allow for any MEV on the system? Should we bound the MEV?
    • Related FRP: to be updated
    • Related Issues: to be updated

Authorship
Our research efforts will output research papers that will be shaped by Research Fellows. Anyone (including entities) can be an author of these papers as long as they meet one of the criteria for authorship we follow, as described in the Association for Computing Machinery's Criteria for Authorship.

Resources:
Flashbots Medium
Flashbots EthResearch post
Research Roadmap
Research Fellowship

Ship Vault


Flash Boys 2.0: Frontrunning, Transaction Reordering, and Consensus Instability in Decentralized Exchanges by Daian et. al.

Frontrunning in DEXs, Miner Extractable Value, and Consensus Instability by Phil Daian at IEEE Symposium on Security and Privacy

How To Get Front-Run on Ethereum mainnet by Scott Bigelow

High-Frequency Trading on Decentralized On-Chain Exchanges by Zhou et. al

Fair Sequencing Services: Enabling a Provably Fair DeFi Ecosystem by Juels et. al. (Chainlink)

MEV Auction: Auctioning transaction ordering rights as a solution to Miner Extractable Value by Karl Floersch (Optimism)

Blinder: MPC Based Scalable and Robust Anonymous Committed Broadcast by Ittai Abraham et. al.

Time, clocks, and the ordering of events in a distributed system by Leslie Lamport

On The Instability Of Bitcoin Without The Block Reward by Carlsten et. al.

SoK: Transparent Dishonesty: Front-running Attacks on Blockchain by Eskandari et. al.

MEV auctions considered harmful by Ed Felten (Offchain Labs)

Order-Fairness for Byzantine Consensus by Kelkar et. al.

Tesseract: Real-Time Cryptocurrency Exchange Using Trusted Hardware by Bentov et. al

Submarine Sends by Breidenbach et. al.

TEX – A Securely Scalable Trustless Exchange by Khalil et. al.

Spam resistant block creator selection via burn auction by Barry Whitehat

Miscellaneous Gems

Ethereum is a Dark Forest by Dan Robinson

Escaping the Dark Forest by Sam Sun

Dark Forest Escape Route Starkware whiteboard session video recording

ETHOnline - 'Phil & Georgios Talk Miner Extractable Value'

IC3 Blockchain Camp 2020 - Phil Daian - "DeFi Composability - Friend or Foe?"

Gas Wars: Understanding Ethereum’s Mempool & Miner Extractable Value by Uncommon Core podcast

The Alchemy of Hashpower (Part II) by Leo Zhang

Exploring DeFi Trading Strategies: Arbitrage in DeFi by Alex Obadia

How to munch on pickles from a whale dinner by Tomasz Mierzwa

Portion of Daily Gas Used by Backrunning Bot Contracts by Phillipe Castonguay

Gas Gambits - Game Theory Example of Incentivized Collaboration by KeeperDAO

Phantom TX: a dark pool for Ethereum transactions

Candyshop: a smart transaction batching service that extracts value by controlling transaction ordering

Scrooge-McEtherface: attack tool that loots Ether from vulnerable smart contracts

Surrogeth: Tricking frontrunners into being transaction relayers

B.Protocol: A Decentralized Backstop Liquidity Protocol

Gas Now (Sparkpool): ETH Gas Price quotation system based on Pending transactions

Blocknative Mempool Explorer

Geth Wiki

What diagrams exist to illustrate the Ethereum blockchain creation process?