Home > Today’s Crypto News
bitcoin
bitcoin

$84720.887476 USD

1.85%

ethereum
ethereum

$1882.087494 USD

2.47%

tether
tether

$0.999992 USD

0.02%

xrp
xrp

$2.103516 USD

-0.28%

bnb
bnb

$603.720228 USD

-0.90%

solana
solana

$124.907077 USD

-1.26%

usd-coin
usd-coin

$1.000009 USD

0.00%

dogecoin
dogecoin

$0.171794 USD

1.56%

cardano
cardano

$0.672517 USD

0.21%

tron
tron

$0.238010 USD

0.94%

toncoin
toncoin

$3.982310 USD

-4.11%

chainlink
chainlink

$13.782927 USD

0.53%

unus-sed-leo
unus-sed-leo

$9.409232 USD

2.25%

stellar
stellar

$0.268957 USD

0.85%

avalanche
avalanche

$19.348366 USD

1.29%

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