Home > Today’s Crypto News
bitcoin
bitcoin

$105376.947920 USD

3.29%

ethereum
ethereum

$3307.450676 USD

2.02%

xrp
xrp

$3.166034 USD

3.66%

tether
tether

$0.999996 USD

0.13%

solana
solana

$256.011142 USD

8.15%

bnb
bnb

$698.345581 USD

2.71%

dogecoin
dogecoin

$0.366785 USD

7.39%

usd-coin
usd-coin

$1.000137 USD

0.01%

cardano
cardano

$0.997491 USD

2.46%

tron
tron

$0.251575 USD

5.52%

chainlink
chainlink

$25.988166 USD

7.81%

avalanche
avalanche

$36.908167 USD

5.09%

sui
sui

$4.613995 USD

7.12%

stellar
stellar

$0.433275 USD

0.14%

toncoin
toncoin

$5.216493 USD

5.40%

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).