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!
Built With
- blockstack
- html5
- javascript
- node.js
- opennode
Log in or sign up for Devpost to join the conversation.