S

Sulphur

A High Frequency Prediction Market

S

Sulphur

A High Frequency Prediction Market

The problem Sulphur solves

#Scaling Prediction Markets with High-Performance Blockchain Architecture

Current State of Prediction Markets

Prediction markets on chains like Polygon (~7k TPS) and Solana (~65k TPS) fall short compared to HFT systems processing millions of orders per second. Scalability issues in transaction throughput and order matching hinder growth.

##Vision for Scalable Prediction Markets
Inspired by Vitalik Buterin’s insights on information finance, we recognize that existing prediction markets lack the infrastructure to support a vast number of simultaneous markets and order books. Our vision is to enable platforms like X to allow hundreds of thousands of users to create new prediction markets effortlessly.Potential use cases include:

  • Mass Market Creation: Enabling platforms like XPredict to support 100k users generating new prediction markets daily.
  • Academic Integration: Facilitating hundreds to thousands of scientific reviews by academics each day.
  • Social Media Synergy: Utilizing prediction markets as dynamic social media tools and information aggregators.

##Our Solution: Custom Layer 1 and Optimized VM
To achieve scalable prediction markets, we propose a dual-layer approach:

  1. Custom Layer 1 (App Chain): Developing a dedicated blockchain optimized for prediction market operations, ensuring high throughput and low latency.
  2. Custom-Tuned Virtual Machine (VM): Utilizing HyperSDK, we have developed a specialized VM with embedded order book logic

Our platform ensures flexibility and scalability through:

  • Multi-Chain Deployment: Deployed on Polygon and Base testnets, with the Okto Abstraction layer enabling seamless migration to chains like Avalanche L1.
  • Performance Optimization: VM-embedded order matching reduces overhead and boosts TPS. Performance testing will refine this as HyperSDK matures.

Challenges we ran into

Okto

The Avalanche and Base testnets are not supported on Okto.
We ran into a lot of issues integrating it. But it works now. Yay.

HyperSDK

Very limited documentation. We had to go deep through the code implementations and design an OrderBook and matching algorithms inside a VM.

#Etna TestNets
Recent updates to etna testnets dont have support to deploy my custom vm using HyperSDK.
So a major part of product could not be delpoyed

#Network Issues
working on blockchian requires me to be onchain

Tracks Applied (8)

Consumer Track

We deployed our contracts on Base, capitalizing on its low gas fees and high TPS to support a robust and scalable predic...Read More

Base

HyperSDK Track

#Approach We used HyperSDK to fine tune our vm into the context of Central Limit order books. This lead us to write the ...Read More

Avalanche

Rabble Ideathon

https://docs.google.com/document/d/1UZNBQb1XfZqgP6MW8RJQCUrcEzQZXAQkBb6fOKoeJtQ/edit?usp=sharing

Rabble.

Etna Testnet Ideas

Through the implementation of Avalanche Subnets, we developed a custom Layer 1 blockchain specifically tailored for our ...Read More

Avalanche

Build on Okto

We use Okto to onboard users very seamlessly into our platform using Google Login. We create a wallet for them as an emb...Read More

okto

Improve Okto documentation or any Okto SDK

https://github.com/Jovian-Dsouza/okto-sdk-react-example/pull/2

okto

Quill AI Credits

We scan our contract for vulnerabilities.

Quill AI

SolidityScan Credits

We scan our contract for vulnerabilities.

SolidityScan

Discussion