GTA 5 ON CHAIN

Syncing GTA V mods with blockchain to power missions, items, and events through on-chain txs.

GTA 5 ON CHAIN

Created At

ETHGlobal Buenos Aires

Project Description

Our project brings GTA V fully on-chain by linking in-game actions to blockchain transactions. Using Pythโ€™s on-chain entropy, we generate provably random outcomes that shape missions, events, and interactions triggered directly from the in-game phone. Every player is identified by their ENS name, which we also use for seamless transfers and in-game operations. Wallet management and peer-to-peer payments are powered by CDP, giving players smooth on-chain control without leaving the game. For commerce inside the world, x402 powers our in-game stores, letting players buy, sell, and interact with on-chain assets natively within the GTA experience.

Our in game currency was minted on a Base launch pad. https://flaunch.gg/base/coin/0xa901a7b9897c8d49847834514969a8bcbc1f9b92

How it's Made

๐Ÿ’ฅ How Itโ€™s Made โ€” GTA On-Chain Edition 1๏ธโƒฃ GTA V Mod (ScriptHookV / FiveM) ๐ŸŽฎ๐Ÿ“ฑ

We build a custom GTA V mod that hooks directly into the gameโ€™s scripting layer.

It listens for in-game events โ€” especially anything triggered from the in-game phone โ€” and forwards them to our backend bridge.

Hooked events include:

๐Ÿ“ฑ Phone menu selections

๐Ÿ‘ค Player interactions

๐ŸŽฏ Mission triggers

๐Ÿ›’ Store purchases

๐Ÿ–ฅ๏ธ Custom UI actions

The mod communicates with a local bridge server (Node.js) over HTTP or WebSockets.

2๏ธโƒฃ Local Bridge Server โ†’ On-Chain ๐Ÿ”—๐Ÿ’ป

This local Node.js bridge translates GTA events into blockchain transactions.

The bridge handles:

๐Ÿ“ฅ Receiving events from the GTA mod

โœ๏ธ Signing + sending smart contract transactions

๐Ÿ“– Reading contract state and returning results

๐Ÿ”‘ Managing wallet sessions via CDP

This allows players to perform on-chain actions using only the in-game phone.

3๏ธโƒฃ CDP (Wallet Management + P2P Transfers) ๐Ÿ”๐Ÿ’ธ

We use Coinbase Developer Platform (CDP) as the wallet layer.

CDP powers:

๐Ÿ—๏ธ Non-custodial wallets for each player

๐Ÿ”‘ Session keys (no seed phrase popups)

๐Ÿค Instant P2P transfers

๐ŸŽฎ Fully in-game UX (no browser needed)

CDP makes blockchain interaction feel like a native GTA mechanic.

4๏ธโƒฃ ENS Integration ๐ŸŒ๐Ÿ†”

Players log in with their ENS names.

ENS is used for:

๐Ÿชช Player identity

๐Ÿ”ค Display names

๐Ÿ’ธ In-game payments (send to felipe.eth instead of 0x...)

๐Ÿงพ Store receipts

๐ŸŽ Mission rewards

The bridge resolves ENS โ†’ address before sending any transaction.

5๏ธโƒฃ Pyth Entropy for Randomness ๐ŸŽฒโšก

We use Pyth on-chain entropy to generate provably random events.

This randomness powers:

๐ŸŽฏ Mission outcomes

๐Ÿ’ฐ Loot drops

๐Ÿงจ Risk-based decisions

๐Ÿ‰ Spawns, dice, random events

Because itโ€™s on-chain, itโ€™s:

๐Ÿ” Verifiable

๐ŸŽญ Unpredictable

๐Ÿ›ก๏ธ Tamper-resistant

It makes missions feel truly blockchain-native.

6๏ธโƒฃ Smart Contracts (Core Logic) ๐Ÿงฉ๐Ÿ“œ

Smart contracts handle gameplay logic that needs:

๐ŸŽฒ Randomness

๐Ÿ“Š State tracking

๐Ÿ’ธ Payments

๐ŸŽ’ Item ownership

๐Ÿ—บ๏ธ Mission progress

๐Ÿ›’ Store purchases

Deployed on a chain with:

โšก Fast confirmations

๐Ÿช™ Cheap gas

๐ŸŽฐ Reliable entropy

All triggered directly from the GTA phone UI.

7๏ธโƒฃ x402 for In-Game Stores ๐Ÿ›๏ธ๐Ÿ”—

x402 powers the marketplace/store layer:

๐Ÿ›’ Buy/sell digital goods

๐Ÿช™ On-chain item minting

๐Ÿ’ต Pricing + inventory

๐Ÿ“ฆ Auto-delivery to GTA inventory

We map x402 items โ†’ GTA items inside the mod.

8๏ธโƒฃ Game โ†’ Blockchain โ†’ Game Loop ๐Ÿ”๐Ÿš€

Hereโ€™s a typical flow:

๐Ÿ“ฑ Player opens in-game phone

โžก๏ธ Selects action (store, mission, transfer)

๐ŸŽฎ Mod sends event โ†’ Bridge

๐Ÿ”— Bridge signs & sends TX

๐Ÿ“œ Contract executes (randomness, payments, state updates)

๐Ÿง  Bridge reads results

๐ŸŒ Mod updates GTA world (loot, mission outcome, purchases)

Everything feels instant, even though itโ€™s fully on-chain.

background image mobile

Join the mailing list

Get the latest news and updates