Home > Today’s Crypto News
bitcoin
bitcoin

$93113.538616 USD

-0.11%

ethereum
ethereum

$1748.590950 USD

-2.15%

tether
tether

$1.000392 USD

0.02%

xrp
xrp

$2.177851 USD

-1.16%

bnb
bnb

$600.317897 USD

-0.84%

solana
solana

$151.339663 USD

1.47%

usd-coin
usd-coin

$0.999927 USD

0.01%

dogecoin
dogecoin

$0.179240 USD

2.45%

cardano
cardano

$0.707230 USD

2.73%

tron
tron

$0.243466 USD

-0.61%

sui
sui

$3.323843 USD

10.76%

chainlink
chainlink

$14.828095 USD

0.41%

avalanche
avalanche

$21.905207 USD

-0.82%

stellar
stellar

$0.275988 USD

4.91%

unus-sed-leo
unus-sed-leo

$9.206268 USD

0.44%

Front Running

What Is Front Running?

Front running is the act of placing a transaction in a queue with the knowledge of a future transaction. Front running on a blockchain platform normally happens when a miner, who has access to information on pending transactions, places an order that would earn him a profit based on a pending trade. For instance, on the Ethereum blockchain, front running can occur when bots are able to quote a higher gas price than a pending trade, thus, hastening its processing.

Other parties capable of front running are full node operators, which are parties tasked with keeping an eye on network activities, hence, have knowledge of unconfirmed transactions. Centralized exchanges can also conduct frontrunning, however, it would be against their best interest to cheat their own customers. Front running can also be orchestrated through other methods. Generalized front running taps into potentially profitable contract calls. 

Other types of attacks include displacement, insertion and suppression. With a displacement attack, the malicious actor displaces a genuine transaction with their own. Although the original transaction may still run, it won’t have the positive effect as intended. On the other hand, an insertion attack sandwiches a genuine transaction between two transactions with the aim of making a profit without holding an asset. 

The suppression attack is meant to delay others from running a transaction. When the withholding is lifted, the front runner is less concerned about the suppressed trade.

Front running can be mitigated by sequencing transactions and improving transaction confidentiality. Transaction sequencing is achievable through implementations such as Canonical Transaction Ordering Rule like the one employed by BCH (Bitcoin Cash). Confidentiality, on the other hand, is applicable on different sections of a decentralized application (DApp).