Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/guha-rahul/Proof-of-Sandwiched
https://github.com/guha-rahul/Proof-of-Sandwiched
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/guha-rahul/Proof-of-Sandwiched
- Owner: guha-rahul
- Created: 2024-01-19T15:46:39.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-01-19T15:52:33.000Z (12 months ago)
- Last Synced: 2024-08-02T13:29:32.563Z (5 months ago)
- Language: TypeScript
- Size: 44.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-ora - MEV Detection
README
# MEV Detection Using zkGraphs
A POC on Proving that a user's behavior such as Swap was potentially harmed by an MEV bot
### Analysis Process
1. **Extraction of Reserve Values:**
- extraction of reserve values of specific tokens before and after the suspected transactions from Sync function.
2. **Price Calculation:**
- Prices were computed based on the token reserves.
3. **Comparison and MEV Detection:**
- A significant price difference between pre- and post-transaction states was used as an indicator of MEV.
4. **Threshold Application:**
- We set a threshold to distinguish normal fluctuations from potential MEV activities.## Conclusion
Using zkGraphs, we have demonstrated a robust method to detect and prove MEV in blockchain transactions. This approach enhances transparency and security in blockchain networks by identifying potentially exploitative behaviors.