Commit Graph

5 Commits

Author SHA1 Message Date
ekzyis 00ee710246 Show line chart with sample data 2024-09-09 00:47:42 +02:00
ekzyis 2e3e4f02b4 Use htmx.on 2024-09-05 23:33:23 +02:00
ekzyis 76bc50355a Define jQuery helper in head 2024-09-05 23:20:07 +02: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 9b8734f5a9 Add QR component 2024-07-15 12:55:48 +02:00