Bitcoin Lightning Prediction Market
Go to file
ekzyis 278fd98db4 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

TODO:
* show correct market percentage
* show how percentage changed over time in chart
* validate end date
* implement betting / order form
2024-08-24 01:00:28 -05:00
db Add market form + page 2024-08-24 01:00:28 -05:00
env refactor: fix init and use DI 2023-11-03 20:34:21 +01:00
fonts Randomize figlet font 2024-07-10 07:25:03 +02:00
lib Add QR component 2024-07-15 12:55:48 +02:00
lnd Add market form + page 2024-08-24 01:00:28 -05:00
public Add market form + page 2024-08-24 01:00:28 -05:00
server Add market form + page 2024-08-24 01:00:28 -05:00
test Index page with templ 2024-07-10 04:47:25 +02:00
types Add market form + page 2024-08-24 01:00:28 -05:00
.gitignore Setup tailwindcss 2024-07-10 06:12:43 +02:00
LICENSE Add MIT license 2023-12-04 05:03:24 +01:00
MATCHMAKING.md Fix table in MATCHMAKING.md 2023-09-09 22:52:51 +02:00
Makefile Remove old code 2024-07-12 11:00:51 +02:00
README.md Create README + Makefile 2023-09-09 22:52:50 +02:00
docker-compose.yml Implement LNURL-auth 2024-07-12 15:18:44 +02:00
go.mod Add market form + page 2024-08-24 01:00:28 -05:00
go.sum Add market form + page 2024-08-24 01:00:28 -05:00
hotreload.sh Fix duplicate build steps 2024-08-08 01:39:32 -05:00
main.go Add market form + page 2024-08-24 01:00:28 -05:00
nginx.conf Update prod nginx config 2023-11-20 00:38:52 +01:00
nginx.dev.conf Add dev nginx config 2023-11-07 09:08:56 +01:00
postgresql.conf Mount postgresql.conf 2023-09-09 22:52:50 +02:00
shell.nix Add postgresql to shell.nix 2024-08-08 03:08:24 -05:00
tailwind.config.js Add market form + page 2024-08-24 01:00:28 -05:00

README.md

delphi.market

A prediction market using the lightning network: https://delphi.market

Development

See Makefile