Front-running, flash bots and keeping things fair in the crypto market

Front-running, flash bots and keeping things fair in the crypto market

Decentralized finance (DeFi) has the opportunity to democratize access to financial markets that have typically only been open to the rich and powerful. But, DeFi will only survive and continue to grow if we take steps to ensure things are safe, private and fair for both retail and institutional investors. When faced with predatory market behaviors such as miner extractable value (MEV) and front-running attacks it opens up old wounds to a “Flash Boys” era of traditional finance. 

Front-running, flash bots and keeping things fair in the crypto market

DeFi can and should do better by not allowing the failures of the past to come creeping back into the future. Fortunately, by implementing cryptographic mechanisms that integrate transactional privacy into public blockchains, information can be proven with things such as an order book without being revealed. This seemingly magical mathematical tactic not only shields transactions from the aforementioned behavior but also allows for auditability, all while still preserving the privacy of individual or institutional accounts. This approach will foster a more accessible DeFi industry and provide a more equitable and liquid market for all.

Our top trading bots

The boys are back in town

The phrase Flash Boys entered the lexicon after Michael Lewis wrote a very influential book detailing the phenomenon. When we transitioned from the open-outcry trading floor of old Wall Street into a fully electronic trading world, traders immediately started working out new ways to game the system. In short, the earliest tech-savvy brokers used the ultra-fast processing power of modern computer systems to monitor and facilitate high-frequency trades undercutting, or front-running, legitimate incoming trades posted by slower systems. The crypto DeFi equivalent of the Flash Boys is Flash Bots.

Related: Bitcoin’s last security challenge: Simplicity

In crypto, these specialized arbitrage bots will usurp human traders on exchanges by algorithmically predicting their moves and squeezing in their trades before a person can modify their position. These bots also often get priority in the upcoming block validation by paying higher fees that are calculated against the return on the trade. These bots will know in a fraction of a second what trades to make to optimize their profit.

Another phenomenon that enables scenarios like front-running is miner extractable value. MEV is just a fancy new way to describe how miners can extract value by deliberately prioritizing or ordering transactions to their benefit. When the miners are working against the best interests of the blockchain, their ability to use MEV undermines one of the key value propositions of decentralization and that is censorship resistance.

Front-running, flash bots and keeping things fair in the crypto market

This malicious behavior incentivizes bad actors to come up with and implement numerous predatory actions that can undermine the security of an entire network. Further, most consensus mechanisms fail to punish MEV attacks which, in turn, gives miners the freedom to exploit them.

Related: Is the rise of derivatives trading a risk to retail crypto investors?

On a blockchain native decentralized exchange (DEX), when you combine the presence of Flash Bots together with MEV, the threat and resulting costs for the average human user compounds. If there is ever going to be mainstream adoption of crypto and DeFi, then the market environment needs to become less hostile to retail consumers. Working on cryptographic methods to protect against these types of malicious behaviors is something the industry needs to prioritize.

Rage against the machine

Fortunately, Flash Bot front-running and MEV attacks can be minimized on blockchains and their native DEXs with privacy-centric designs that utilize zero-knowledge proofs (ZKP) to mask transactions without compromising network security. ZKP technology is quickly becoming scalable enough to support such use cases as blind bidding, where the trade transaction is submitted, proven and verified on a DEX without revealing details such as trade size and time. This mechanism prevents a Flash Bot from being able to look up the trade on an order book and instantly front-run it with a better bid or ask.

A similar mechanism can be implemented to prevent MEV as well, but instead, the transaction is submitted, proven and verified on a blockchain without having to reveal its details to miners. This is the magic of ZKP that can be used to allow protocol rules to be implemented that see what (and how) transactions take place through cryptographic proofs. All of this is without revealing more information than is needed to verify the transaction under any existing protocol rules that said transactions must meet.

No quarter

The ability to share (and prove) information without showing it through the use of ZKP can unlock more mainstream adoption by policing crypto markets from bad actors and safely paving the way for more users. This approach will help the DeFi market grow to unprecedented levels through more safety, security and fairness, without compromising the decentralized nature of the industry.

This article does not contain investment advice or recommendations. Every investment and trading move involves risk, and readers should conduct their own research when making a decision.

The views, thoughts and opinions expressed here are the author’s alone and do not necessarily reflect or represent the views and opinions of Cointelegraph.

Warren Paul Anderson is vice president of product at Discreet Labs, which is developing Findora, a public blockchain with programmable privacy. Previously, Warren led product at Ripple for four and a half years, working on the XRP Ledger, Interledger and PayString protocols, the RippleX platform and RippleNet's On-Demand Liquidity enterprise product. Prior to Ripple, in 2014 Warren co-founded Hedgy, one of the first DeFi platforms for derivatives using programmable escrowed smart contracts on the Bitcoin blockchain. Warren has two bachelor's degrees from Northwestern University and did graduate studies at Harvard University.
Keep reading on Cointelegraph
Launch of real-world use-case sparks 162% rise in OriginTrail's TRAC token
The global supply chain continues to struggle to get back on track following a tumultuous three years that have witnessed clogged shipping ports and a breakdown...
China pilots nationwide blockchain development over real-world use cases
The Cyberspace Administration of China (CAC) announced the commencement of an in-house effort to expedite blockchain development and innovation across 15...
Does a Fed digital dollar leave any room for crypto stablecoins?
During Jerome Powell’s Jan. 11 United States Senate confirmation hearings, Sen. Patrick Toomey posed a question to the incumbent-and-future Federal Reserve...
SEC rejects VanEck’s spot Bitcoin ETF as BTC price falls below $63K
The United States Securities and Exchange Commission, or SEC, has officially disapproved asset manager VanEck’s spot Bitcoin exchange-traded fund months...
Centric Swap leads ‘Uptober’ after a swift 1,000% gain. Here’s why it could go higher
In the past few weeks, Centric Swap (CNS), a dual-token model that gives stakers a fixed hourly yield that “stabilizes over time as it self-regulates token...
Bitcoin is great, but real crypto innovation has moved elsewhere
Something is brewing, and those with finely tuned noses can smell it. As traders have come to expect, Bitcoin (BTC) is doing “Bitcoin things” by bouncing...
Price analysis 9/15: BTC, ETH, ADA, BNB, XRP, SOL, DOT, DOGE, UNI, LUNA
Bitcoin (BTC) is leading the recovery in the crypto sector and the cryptocurrency briefly rallied to $48,429 on Sept. 15, before pulling back to test the...
OpenSea exec used the platform’s influence to pump his own NFTs
An OpenSea executive has been outed for hyping nonfungible tokens he purchased and then featuring them on the homepage of the popular NFT marketplace —...
2 key Ethereum price metrics back traders’ confidence in $3,800 ETH
According to derivatives markets, Ether (ETH) traders are still confident that there is the chance formore upside even though the 23% correction on Sept....
Taiwan police arrest 14 suspects for scamming over 100 crypto investors
Taiwan’s police administration has reportedly arrested 14 people for running a $5.41-million (150 million New Taiwan dollars) investment scam over the past...
South Korea to toughen rules to collect cryptocurrencies from tax dodgers
By Cynthia KimSEOUL (Reuters) - South Korea will look to tighten a crackdown on tax evasion by cryptocurrency investors and high-income earners as it seeks...
Majority of institutional investors ready to buy digital assets, study says
New data shows that institutional investors’ interest in cryptocurrencies and crypto-related businesses is continuing to grow. Fidelity Digital Assets,...
4NEW - A Token Provided With Electricity
Having announced in October of 2017 about the forthcoming launch of the "world's first cryptocurrency, which is the equivalent of electricity," the team...
US Regulators Summoned Crypto Exchange Bitfinex & Tether, Investigate The Case
Giant cyber money trading platform Bitfinex, as well as token issuer Tether, have recently been summoned by American regulators given the growing hunch...
How Governments Treat ICO: 5 Common Positions
What authorities in different countries think about the boom of initial placements of tokens. At different times governments around the world haunted...