project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4
project screenshot 5
project screenshot 6

Raize Club

Raize Club is building an on-chain prediction market on Starknet. Raize allows users to earn from their opinions on politics, sports, pop culture, crypto, and more.

Raize Club

Created At

StarkHack

Winner of

Starkware - Best use of Starknet 2nd place

Argent - The future of web3 is mobile

Project Description

Raize Club is an innovative on-chain prediction market built on Starknet that allows users to convert their insights into income by predicting real-world events. Our platform allows users to earn by making predictions on a wide range of topics, including politics, sports, crypto market prices, and more. By leveraging Starknet's techstack, Raize Club offers a seamless, transparent, and efficient experience that sets it apart from traditional and web3 alternatives.

What sets us apart from other web2 alternatives?

  1. Global Accessibility and Liquidity: Raize Club democratizes opinion trading by making it accessible to a global audience. Unlike web2 platforms that are often restricted by geographic limitations, our on-chain approach enables anyone with internet access to participate. This global reach allows Raize Club to defragment liquidity, providing a more robust and dynamic market.

  2. Instant Settlement: One of the significant advantages of our on-chain platform is the instant settlement of predictions. Traditional web2 prediction markets can take anywhere from 3 to 30 days to settle outcomes.

  3. Transparency and Trustlessness: By utilizing Starknet's blockchain infra, Raize Club offers a transparent and provable system. All transactions and outcomes are recorded on the blockchain, eliminating the need for trust in a central authority and ensuring the integrity of the market.

What will set us apart from other web3 players?

  1. Enhanced User Experience through Account Abstraction: Features like multicall, paymaster, session keys, and social login, and a mobile-first user experience Raize plans to bridge the gap between web2 and web3, making it easier for the next billion users to onboard into the web3 ecosystem.

  2. Trustless Verification with Oracles: With Starknet's super low gas fees, Raize Club can utilize oracles (being built by Pragma) to verify real-world events in a trustless manner. This ensures that all event outcomes are accurate and reliable, further enhancing the platform's credibility.

  3. Raize Club envisions the creation of a unified liquidity and settlement layer (L3 on Starknet) for all prediction markets. This will enable anyone to access real-time dynamic sports odds, liquidity, and market creation capabilities. Users will be able to make predictions from any chain, any token, and any currency.

Additionally, this L3 layer will serve as infra for the development of hyperlocal prediction markets. For example, Indian markets could focus on Cricket, Brazilian markets on Football, and American markets on Baseball. Developers will be able to create these localized markets with just a few lines of code, tapping directly into the unified settlement and liquidity layer along with dynamic odds updated real-time.

Our core focus is on a transparent on-chain prediction market with an amazing user experience to onboard the masses to Starknet ecosystem.

How it's Made

We have developed Raize Club as a web app, Here's a detailed breakdown of how we brought Raize Club to life:

Frontend Development: The app is built on Next.js, utilizing both client-side and server-side components.

  • Client-Side: Manages state for smooth and responsive performance.
  • Server-Side: Handles data and variables to optimize performance and SEO.
  • Interaction with contracts: We used Starknet.js and Starknet-react libraries to connect our contracts with the frontend, dynamically serving data from the contracts. The Starknet Kit made it easy to integrate the ArgentX wallet into our dApp.

Smart Contract Development:

On the contract end of things, we were utilised Cairo's ability to write provable code which is so necessary in the case of a prediction market, as it would make sure of the result's validity at all times.

  • We developed one MarketFactory, which is responsible for creating and keeping markets updated at all times by updating probabilities and potential winnings in realtime. This contract also allows users to take positions in a particular market.

Hacky stuff:

We used a test-driven approach to writing the contract, and we had to do a hacky thing in this process that we think is worth mentioning. Like every other Cairo developer, we were importing the ERC20s from the OZ library to test our contracts, but after a day of dealing with privacy levels on the library, we implemented the ERC20Mock in our contract and used it to test the actual factory contract.

Although, this might not seem like an achievement to experienced Cairo devs, it felt quite hacky to pull that off, given the time crunch.

background image mobile

Join the mailing list

Get the latest news and updates