Commit Graph

5 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 e6c20935bc Add users table 2023-09-09 22:52:50 +02:00
ekzyis 68ae16173f Fix missing NOT NULL 2023-09-09 22:52:50 +02:00
ekzyis 9440f58efe Add sessions using LNURL-auth 2023-09-09 22:52:50 +02:00