Now tracking @udonfi_chromia on @Chromia
UdonFi is a lending and borrowing protocol on Chromia that lets users supply and borrow assets within an isolated appchain environment
Public testing of Oddly is LIVE on @Chromia Testnet ��🐞🔍
You can now try out the core features with test $CHR, hunt for bugs, and share your feedback and thoughts with us:
🌐 Testnet app: https://t.co/K96KgUhnHn
📖 Guide (how to get tCHR, top-up balance etc.): https://t.co/uHljVjXo07
📝 Share feedback, ideas & bugs: https://t.co/mDkYoXgvkm
👉 Join the testing, break things, and help us make Oddly better before Mainnet!
Hey Chromians!
Back in April, @zahumennov started a tutorial series on how to build a simple prediction market on #Chromia. Fast forward to today, and that idea has come alive on the Chromia Testnet, and is now gearing up for the mainnet launch soon! So let's quickly dive into what Oddly is and how it is actually integrated into Chromia to understand the key storage distinction of Traditional Blockchains Vs Chromia...
This is gonna be a little technical one as I want to effectively compare with database schema as dev-oriented post but you can follow this to understand the key architectural difference better or Ask Grok 4 to expand this...
What is Oddly?
Oddly is a simple prediction market on @Chromia where you can bet tokens on fun, weird, or serious questions with a Yes/No choice. If your prediction is correct, you win a share of total prize pool 🎉
Why Chromia is Different:
Unlike traditional blockchains that rely on simple key-value storage, Chromia uses a relational blockchain architecture.
This means data is stored in tables with schemas and their relationships are handled natively just like Web2 databases but with the security and transparency of a Web3 blockchain.
That makes it far easier to handle complex queries, relationships, and logic natively on-chain, without depending on Web2 infrastructure.
Oddly’s Structure (Database Schema)
To better explain this, this time I've prepared an actual database schema based on live code from Testnet for Core Entities showing the relational structure of the Oddly prediction market platform...
Here’s how Oddly is organized under the hood:
Core Tables
Events:
event: Core table with questions, timestamps, bet amounts, and results
bet: Links users to events with their predictions and stakes
FT4 (Flexible Token 4 - Chromia's Token Standard):
ft4_account / ft4_balance: Manages user accounts and balances
ft4_asset: Handles asset definitions and its properties
Payout System:
event_payout: Calculates total stakes, fees, and winnings
payout_claim: Tracks reward claims
Why this matters:
By seeing the underlying schema, you can clearly understand (if you are a Web2/Database Engineer) how everything in Oddly is modeled as relational tables just like Web2 but guess what? Oddly didn't use Web2 stack to model this... Instead they used the Rell Chromia's Relational Programming Language to model this fully on-chain..
👉 This is what sets Chromia apart from other blockchains. It uses Postchain Framework which actually integrates with PostgreSQL DB behind the scenes not just merkle trees so it can efficiently handle complex data sets while supporting native queries efficiently fully on-chain...
👉 So every state update you make on the blockchain with transaction is a Database Operations after validation/consensus... guess what? even your transactions and blocks are actually Database tables...
This is why Chromia isn’t limited to just DeFi or meme Dapps like your traditional blockchains - it can power almost any kind of Web2 application, natively in Web3...
Useful Links:
Learn more about Chromia 👉 https://t.co/8oGQygFBCH
Check out Oddly 👉 https://t.co/4zVEDvHX6U
Want to build on Chromia?
🎯https://t.co/xoJFrW9Csz
🎯https://t.co/Ls9t65aUBH
We’ve added support for multiple events at once, and removed the fixed bet size, so now you choose how much you want to stake 💸 Public testing on @Chromia Testnet is coming very soon!
We’re already on the @Chromia testnet 👨🔧🛠️ Just a bit more time to wrap up the frontend integration, and we’ll be ready for final testing.
https://t.co/BC0pPcPQXZ