Inspiration

We wanted to have a way to predict outcome on any arbitrary event. This is our attempt to do that.

What it does

It lets you create, buy, sell options on any event one wants. The only requirement is that the event result should be decided by an oracle compatible with Solana. We currently support Pyth and will extend it to other oracles as they are built on Solana (like Chainlink)

How we built it

We use Rust to write the on chain option program and Typrescript to flesh out the UI to interact with the option program

Challenges we ran into

Both of us (Matt and Harmeet) are new to blockchain programming, Solana and Rust. So it was a challenge to learn all of this new technology in time for the hackathon.

Accomplishments that we're proud of

Learning DeFi, Dapp, Solana chain, Rust and paradigm for decentralized program

What we learned

Rust, Solana, Oracle paradigm, DeFi

What's next for Simple Options on Complex Events

1) Consuming oracles from other blockchains (ETH, BTC) so we can add all types of non-financial events (weather, sports, elections) 2) Adding exotic options (clique, asian, barrier)

Built With

Share this project:

Updates