A real-time visualization of Wormhole blockchain transactions using 3D Force Graph.
wormhole-tracker/
├── backend/ # C++ WebSocket server
│ ├── CMakeLists.txt
│ ├── main.cpp
│ └── Dockerfile
├── frontend/ # Web frontend
│ ├── index.html
│ ├── script.js
│ ├── styles.css
│ ├── package.json
│ └── package-lock.json
└── render.yaml # Render deployment configuration
-
Install dependencies:
cd backend mkdir build && cd build cmake .. make
-
Run the server:
./wormhole_tracker
-
Install dependencies:
cd frontend npm install -
Serve the frontend:
# Using Python's built-in server python3 -m http.server 8000
This project is configured for deployment on Render. The render.yaml file defines two services:
wormhole-tracker-backend: A Docker-based WebSocket serverwormhole-tracker-frontend: A static site serving the visualization
To deploy:
- Push your code to a Git repository
- Connect the repository to Render
- Render will automatically deploy both services using the configuration in
render.yaml
-
Backend:
- C++
- uWebSockets
- CPR (C++ Requests)
- nlohmann/json
-
Frontend:
- 3D Force Graph
- WebSocket
- Three.js
