Inspiration
We both love data and visualization, we wanted to find a way to make data fun, so we explored this route.
What it does
Turns real Allium on-chain data into playable pixel-art games. Gorillas march when Bitcoin leaves exchanges. Animals race based on 24h price. Chains battle with real bridge volume as HP. Flip a switch the same data, clean chart. Play in Sandbox mode, corrupt the data, share the result.
How we built it
React + Vite frontend. Allium Developer API + Explorer SQL for live data. Express backend proxies the API key. Solana wallet auth or 100 sat Lightning payment via OpenNode. "is broken" we recommend you login with PHANTOM wallet. PostgreSQL cache. Deployed on Railway.
Challenges we ran into
Allium Explorer SQL is async, create query, poll run, fetch results. Making that feel instant in a game context was hard. We would have loved to just make one super game, but we wanted to use the data flow. Also tried to implement make your own data stream which failed. The tooling was finicky at first. Sandbox state isolation (fun mode changes → serious chart) took several rewrites to get clean. Also getting the data to query different time brackets was the biggest shortfall.
Accomplishments that we're proud of
The sandbox loop actually works. Play the game, change the data, see it in the chart. That's real. You can shoot the Gorillas or short tokens in a race. Then view that. I also like the KING of THE HILL personally because its a very easy to read snap shot.
What we learned On-chain data is storytelling material. The most dramatic demo moment is watching the game simulations play out. How easy it is to make them way better and how easy it is to fry them and make them worthless.
What's next for 2mato Farms Were going to make something else really cool in the same arena of visualizing market races. Multiplayer sandbox. Defi mechanic would easily allow people to balance their portfolios together for copy trades. We would like to work on someones internal data to bring a super serious dashboard..
Built With
- allium
- express.js
- javascript
- l402
- postgresql
- railway
- react
- solana-wallet
Log in or sign up for Devpost to join the conversation.