53 Commits (1114a90e3477cbb6ee3fc4d2dc4125190ae8a4ce)

Author SHA1 Message Date
Daniel Karzel 0e4037eb5d
Use Olivia's hardcoded pubkey 3 years ago
Philipp Hoenisch b012aa7a37
Rollover order boilerplate 3 years ago
Thomas Eizinger 04906a938b
Allow application to run on mainnet or testnet 3 years ago
Mariusz Klochowicz 36c04140f6
Optimise data structure used for settlement proposals 3 years ago
Mariusz Klochowicz 30a549c8bb
Allow accepting/rejecting settlement proposals in the maker daemon 3 years ago
Thomas Eizinger 1560d86698
Move re-broadcasting functionality from actor ctor to housekeeping 3 years ago
Thomas Eizinger a49e1d342f
Rename `cleanup` module to `housekeeping` 3 years ago
Thomas Eizinger eee0fdac25
Rework monitoring actor to use local state instead of tasks 3 years ago
Daniel Karzel 550bdcdd22
Integrate settlement endpoint into actions 3 years ago
Daniel Karzel 42b4701bc7
Non-collaborative close by publishing commit tx 3 years ago
Thomas Eizinger 43b1d08898
Add API for calculating payout curve 3 years ago
Thomas Eizinger ee785354f3
Directly initialize feed with list of current CFDs 3 years ago
Thomas Eizinger fa2ca990a1
Use the same database connection throughout the actor setup 3 years ago
Mariusz cf08326c64
Add a taker endpoint for initiating collaborative settlement (#175) 3 years ago
Lucas Soriano del Pino 23d7c6110f
Watch relevant olivia announcements and attestations 3 years ago
Thomas Eizinger fa87ad90c6
Use sqlite for BDK's database 3 years ago
Mariusz Klochowicz 3badba7067
Revert "Use current price in profit margin calculations" 3 years ago
Daniel Karzel c3f8b4b35b
Handle existing Cfds upon daemon startup 3 years ago
Mariusz Klochowicz 4b8237c9d6
Use current price in profit margin calculations 3 years ago
Mariusz Klochowicz 641905e6be
Display price feed in the UI 3 years ago
Thomas Eizinger 904d81d51f
Refactor setup_contract to be just an async function 3 years ago
Thomas Eizinger e677ba7a74
Replace `taker_inc_message_actor` with `Address::attach_stream` 3 years ago
Daniel Karzel 608a962b8e
Taker monitors 3 years ago
Daniel Karzel 4fb84cc58f
Bundle monitoring events that change cfd state 3 years ago
Thomas Eizinger b6d0fc6c2f
Convert `send_wire_message_actor` to xtra::Actor 3 years ago
Mariusz Klochowicz 4dd27fbd25
Don't repeat names in module and types 3 years ago
Thomas Eizinger 81259e1b61
Decouple wallet sync from cfd actors 3 years ago
Mariusz Klochowicz 15ecdf01b0
Roll-out xtra framework into the taker actor 3 years ago
Philipp Hoenisch 2a6fe6b664
Rename TakeRequest to Order 3 years ago
Thomas Eizinger 25d54078e7
Add BitMex price feed 3 years ago
Daniel Karzel de66e85d73
Successful publication of lock tx 3 years ago
Philipp Hoenisch 1fd4745319
Use logger instead of println 3 years ago
Philipp Hoenisch 382e7095e8
Add logging library and initialize by default 3 years ago
Philipp Hoenisch 28cc157cee
Add ext trait to convert EmbeddedFile to Response 3 years ago
Philipp Hoenisch 6ec95eef7a
Embed maker/taker frontend into binary 3 years ago
Daniel Karzel d5bbee3edd
Wallet updates in the UI 🎉 3 years ago
Mariusz Klochowicz 6356c783be
Wrap bdk::wallet inside a struct 3 years ago
Thomas Eizinger aa2b4fb0ce
Remove hardcoded absolute URLs from the frontend source code 3 years ago
Mariusz Klochowicz a3a27021d0
Add contract setup and signature verification on the maker side 3 years ago
Mariusz Klochowicz c2b153ccd2
Wait for the maker if it is not online 3 years ago
Thomas Eizinger 5ba44028fc
Add CLIs to maker and taker daemon and make things configurable 3 years ago
Daniel Karzel a8a8076887
Rename offer to order. Everywhere!!! 3 years ago
Daniel Karzel cfae4e573b
Margin calculation 3 years ago
Thomas Eizinger d459af14d1
Integrate CFD protocol into the maker and taker 3 years ago
Daniel Karzel 88c88123c1
Fixes starting up the taker daemon 3 years ago
Thomas Eizinger 3112f1f7be
Remodel daemons to follow actor model more closely 3 years ago