Search projects, hackathons, sponsors and tech

    ← All projects

    TradeOpenTTD

    A mod for the game OpenTTD that lets spectators trade the stock of the players companies

    About

    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.

    How it's made

    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.