Visualize any Solidity project.
This project was created to help Solidity developers explore and understand Blockchain projects faster and better, personally I have been in the position where I need to understand a new project but quickly realized the codebase is too massive for me to dig through manually, not to mention that Solidity smart contracts are not always the easiest to understand.
Please follow the instructions to run this locally, this is a demo app and it is not deployed anyhwere yet.
You can simply click on "Private Repos" in the header and follow the instructions by providing a GitHub personal access token with the repo scope.
You can also self-host this app locally (backend separated as well!) with the steps below.
git clone https://github.com/VGabriel45/solidityVisualizer.git
cd solidityVisualizer
pnpm i
cp .env.example .env
Then edit the .env file with your Anthropic API key and optional GitHub personal access token.
docker compose up --build -d
Logs available at docker-compose logs -f
The FastAPI server will be available at localhost:8000
chmod +x start-database.sh
./start-database.sh
When prompted to generate a random password, input yes.
The Postgres database will start in a container at localhost:5432
pnpm db:push
You can view and interact with the database using pnpm db:studio
pnpm dev
You can now access the website at localhost:3000 and edit the rate limits defined in backend/app/routers/generate.py in the generate function decorator.
Contributions are welcome! Please feel free to submit a Pull Request.
Shoutout to Romain Courtois's Gitingest for inspiration and styling
Solidity Visualizer is an open-source tool. If you find it useful for your work, consider supporting the ongoing development.
Your support helps make Solidity Visualizer better for everyone in the blockchain community! Thank you!
$ claude mcp add SolidityVisualizer \
-- python -m otcore.mcp_server <graph>