Commit Graph

4 Commits

Author SHA1 Message Date
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 9df7ce8338 Fix missing formatting 2024-09-05 23:11:29 +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