Inspiration

I see a lot of people betting each other on Bitcoin Twitter and I even saw screenshots of bets over email. A simple bet like "I bet Bitcoin (or X coin) price will be above/below Y $ by this date". I thought this would be incredibly fun and smooth with Lightning. So I built it.

What it does

  • You create a bet with a simple statement like "Bitcoin price will be above $10000" and set a resolution date like 25 August 2019 - 6pm Pacific Time.
  • Share bet link with your close friends. They can choose "Bet For" or "Bet Against".
  • When the resolution date passes everyone is contacted via email and their responses are collected. Whatever the majority decided is accepted as truth and the bet total in satoshis is distributed amongst winners.

How I built it

I have been building Lightning apps for almost 1 year now. So I've gotten pretty fast at it. I keep it to a MVP and try to gauge how it's used before spending a lot of time on design or unnecessary features.

Challenges I ran into

It doesn't have any oracles, data sources or even arbitration as of version 1. It's all very straightforward. Currently quite open to manipulation so I'll keep working on that.

Accomplishments that I'm proud of

It works!

What I learned

Betting, prediction markets, oracles. There are a lot of unsolved topics.

What's next for Betya

Improve security, accept twitter handle for communication and write a simple twitter bot for friendly bets!

Share this project:

Updates

posted an update

Almost finished with the schedule job that will check bets by the resolve date and contact all parties. Currently people will be contacted within 1 hour after bet resolve time and they will have 24 hours to respond. After 24 hours payments will be made, bet will be considered finalized.

Log in or sign up for Devpost to join the conversation.