Questions tagged [frontrunning]

Questions related to frontrunning, such as preventing frontrunning, or events that involved frontrunning.

Filter by
Sorted by
Tagged with
8
votes
2answers
124 views

Commit-Reveal contract still vulnerable to front running. How can it be improved?

I'm writing a contract and I want to shield it from front-running as best as it can possible be done (obviously, fully preventing front running would be ideal). My implementation is very similar to ...
2
votes
1answer
75 views

Why contract are used for bot purpose instead of use their eth address directly?

Each time i see bot frontrun it's a contract address. Why it's a contract address ? People who use bot are not able to use their ethereum address directly ? or there is a benefit to use contract ...
1
vote
0answers
21 views

How does zero knowledge proof prevent frontrunning

I have learned about that zkp can hide the information of orders, e.g. the type and the number of assets, but it's still confusing. Is there any paper or project about using zero-knowledge proof to ...
1
vote
0answers
15 views

How to test if a transaction create a specific event using the trace api?

I need to frontrun a transaction on a specific contract only if does a specific thing which is fired as an event once included in a block. So how to get the event based on current contract state of an ...
2
votes
0answers
1k views

What are the front running bots? [duplicate]

I've been seeing too many threads about this. I was curious about what are they how do they function? Is it basically an automated trading algorithm that just executes trades when a cryptocurrency is ...
2
votes
0answers
951 views

Frontrunning Uniswap horror story transactions

From the Ethereum is a Dark Forest post, the rescue plan was: Deploy a Getter contract which, when called by its owner, would make the burn call ONLY if activated, and otherwise revert. Deploy a ...
4
votes
1answer
346 views

What is the “pre-commit” scheme to defeat frontrunning attack?

I am writing to inquire feasible strategies to defeat Transaction Ordering Dependence (TOD) bugs. I learned from the best practice guideline such that we can use a so-called "pre-committed" scheme ...
1
vote
3answers
378 views

How to prevent frontrunning: someone running a transaction before me?

Let's say I have the following in my smart contract: string passwordHash; uint money; function checkPassword(string cleanPassword, string newPasswordHash)[...] When running the function ...
3
votes
0answers
285 views

Did f2pool manipulate transactions during the Status ICO?

Blocks such as this one and this one appear to show preferential treatment being given to f2pool transactions in blocks mined by f2pool during the beginning of the Status ICO (at block height 3903900)....