TradeOpenTTD
A mod for the game OpenTTD that lets spectators trade the stock of the players companies
Problem Statement
This project integrates blockchain token prices into OpenTTD (Open Transport Tycoon Deluxe), creating a bridge between on-chain token performance and in-game company economics. Each company in the game can have an associated token on the Base network, with token prices fetched weekly from the Nodit API. The token's real-world USD value directly impacts the company's in-game valuation.
Solution
The project is written in c++. I used Metal for minting tokens and liquidity automatically and Nodit for checking the prices of the uniswap pairs to update the state of the game. I added a simple frontend for users to buy up to 5% of the supply before the game and trading starts.
Hackathon
ETHGlobal Taipei
2025
Contributors
- rubidium42
6626 contributions
- PeterN
3284 contributions
- frosch123
2352 contributions
- TrueBrain
1707 contributions
- glx22
1148 contributions
- Alberth289346
1031 contributions
- Yexo
828 contributions
- michicc
727 contributions
- JGRennison
252 contributions
- 2TallTyler
226 contributions
- planetmaker
224 contributions
- LordAro
195 contributions
- nielsmh
172 contributions
- ulfhermann
165 contributions
- SamuXarick
160 contributions
- matthijskooijman
128 contributions
- orudge
82 contributions
- ldpl
74 contributions
- J0anJosep
64 contributions
- Kuhnovic
39 contributions
- stormcone
35 contributions
- andythenorth
34 contributions
- merni-ns
32 contributions
- Eddi-z
32 contributions
- M3Henry
29 contributions
- nikolas
23 contributions
- Milek7
19 contributions
- nchappe
18 contributions
- egladil
17 contributions
- zephyris
14 contributions