• ProgrammingVR Profile Picture

    Programming Beats 💻 @ProgrammingVR

    a week ago

    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 👉 chromia.com Check out Oddly 👉 oddlypredict.com Want to build on Chromia? 🎯docs.chromia.com 🎯learn.chromia.com

    2 11 21 1K 2
    Download Gif
  • zahumennov Profile Picture

    Dmytro Zahumennov @zahumennov

    a week ago

    @ProgrammingVR 🫶🔥

    0 0 2 108 0
  • ShopZazaTHCa Profile Picture

    Shop Zaza @ShopZazaTHCa

    10 months ago

    30% Off Use Code “X” ShopZazaDelivery.com

    2K 3K 33K 80.7M 10K
  • Download Image
    • Privacy
    • Term and Conditions
    • About
    • Contact Us
    • TwStalker is not affiliated with X™. All Rights Reserved. 2024 www.instalker.org

    twitter web viewer x profile viewer bayigram.com instagram takipçi satın al instagram takipçi hilesi twitter takipçi satın al tiktok takipçi satın al tiktok beğeni satın al tiktok izlenme satın al beğeni satın al instagram beğeni satın al youtube abone satın al youtube izlenme satın al sosyalgram takipçi satın al instagram ücretsiz takipçi twitter takipçi satın al tiktok takipçi satın al tiktok beğeni satın al tiktok izlenme satın al beğeni satın al instagram beğeni satın al youtube abone satın al youtube izlenme satın al metin2 metin2 wiki metin2 ep metin2 dragon coins metin2 forum metin2 board popigram instagram takipçi satın al takipçi hilesi twitter takipçi satın al tiktok takipçi satın al tiktok beğeni satın al tiktok izlenme satın al beğeni satın al instagram beğeni satın al youtube abone satın al youtube izlenme satın al buyfans buy instagram followers buy instagram likes buy instagram views buy tiktok followers buy tiktok likes buy tiktok views buy twitter followers buy telegram members Buy Youtube Subscribers Buy Youtube Views Buy Youtube Likes forstalk postegro web postegro