Commit Graph

5 Commits

Author SHA1 Message Date
ekzyis ce0084fc20 Add postgres functions for LMSR 2024-08-26 16:16:19 -05:00
ekzyis 74aa41d5f4 Add orders.created_at column 2024-08-26 16:15:51 -05:00
ekzyis bd7b2715bd Calculate probabilities using LMSR 2024-08-25 00:48:03 -05:00
ekzyis 845157c954 Add market form + page
* market form with question, description and end date
* markets cost 1k sats
* a goroutine polls pending invoices from the db and checks LND for their status
* markets are listed on front page (after paid)
* market page contains buttons to bet yes or no
* users have names now

TODO:
* show correct market percentage
* show how percentage changed over time in chart
* validate end date
* implement betting / order form
2024-08-24 02:35:15 -05:00
ekzyis 2653e816bb Implement LNURL-auth 2024-07-12 15:18:44 +02:00