A simple EVM bytecode analysis tool that provides various capabilities through a RESTful API. This is the backend of Paprika.
-
Bytecode Analysis
- Disassemble EVM bytecode
- Generate Control Flow Graphs (CFG)
- Compare contract similarities
- Guess function signatures
-
Smart Contract Interaction
- ABI generation from bytecode
- Function signature lookup
- Call data generation
- Transaction simulation
-
EVM Multi-Chain Support
- In-memory LRU cache with size limit of 100 items
- SQLite persistence for runtime code and signatures
- Auto cleanup of expired data every 30 minutes (configurable)
See more details in paper/*
-
Make sure we have installed Foundry
-
Copy
.env.example
to.env
and fill out all values -
Run
make start
-
You can make calls through the examples in
example/api.md
.