Commit Graph

9 Commits

Author SHA1 Message Date
ekzyis 7094438152 Use cost function
With this cost function, buying and selling is a lot easier since it uses the same function.

Also, shares are now always integers which is also easier to grasp.

Reference: http://blog.oddhead.com/2006/10/30/implementing-hansons-market-maker/
2023-09-09 22:52:50 +02:00
ekzyis 87ce57c862 Add binary market page 2023-09-09 22:52:50 +02:00
ekzyis fbab0b4975 Add PUBLIC_URL env var 2023-09-09 22:52:50 +02:00
ekzyis 09c619ab63 Add lightning scheme to QR code 2023-09-09 22:52:50 +02:00
ekzyis 05e89ccbf2 Fix mobile layout for /login 2023-09-09 22:52:50 +02:00
ekzyis 4fcd9770db Fix navigation on login page 2023-09-09 22:52:50 +02:00
ekzyis 9440f58efe Add sessions using LNURL-auth 2023-09-09 22:52:50 +02:00
ekzyis 54574d2e7e Fix inconsistent layout 2023-09-09 22:52:50 +02:00
ekzyis 06043c791e Use minimalist Go web framework Echo 2023-09-09 22:52:50 +02:00