258 Commits (d416c6962abcc2279f349dee58ded3c25933b177)

Author SHA1 Message Date
Thomas Eizinger a879b25a91
Replace unwraps with `?` 3 years ago
Thomas Eizinger 4eb44fd0d8
Move boilerplate to bottom of file 3 years ago
Thomas Eizinger db29126c87
Have all handlers return `()` 3 years ago
Daniel Karzel 72ffe1b325
Replace all the remaining println with tracing logs 3 years ago
Mariusz Klochowicz d407b7f654
Send the protocol messages to the actor asynchronously 3 years ago
Thomas Eizinger 25d54078e7
Add BitMex price feed 3 years ago
Mariusz Klochowicz 1ab92469a1
Add missing await for the message announcing NewTakerOnline 3 years ago
Mariusz Klochowicz 46e9b96fbf
Roll-out xtra framework usage in maker 3 years ago
Mariusz Klochowicz c43d913d3d
Use a dedicated test route for testing maker's authentication 3 years ago
Philipp Hoenisch 88554de160
Log username and password 3 years ago
dependabot[bot] d6865981e6
Bump rust_decimal_macros from 1.15.0 to 1.16.0 3 years ago
Daniel Karzel de66e85d73
Successful publication of lock tx 3 years ago
Thomas Eizinger dda021b37c
Password protect the maker's routes 3 years ago
Philipp Hoenisch 90ae8ef154
Enable rocket logs by default 3 years ago
Daniel Karzel d647a69795
Successful `ContractSetup` phase 3 years ago
Thomas Eizinger 3cd28e92e0
Remove dead code 3 years ago
Thomas Eizinger f2445ee8e5
Reformat impl of `derive_extended_priv_key` 3 years ago
Daniel Karzel b6bb36266d
Remove snapshot tests 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
Lucas Soriano del Pino 4fdbe89898
Refactor cfd_protocol crate 3 years ago
Lucas Soriano del Pino b49dc137fe
Construct payouts from intervals 3 years ago
Lucas Soriano del Pino aedce9b4b6
Handle multiple (message, nonce) pairs 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 17471c9196
Remove `AdaptorSignature` wrapper in favor of latest `rust-secp256k1-zkp` 3 years ago
Daniel Karzel 6626a76d0d
Remove duplicated refund timelock block calculation 3 years ago
Daniel Karzel d5bbee3edd
Wallet updates in the UI 🎉 3 years ago
Daniel Karzel 7630b301c7
Work in PR comments 3 years ago
Daniel Karzel 3dbd60a17e
Remove unnecessary duplicated comments 3 years ago
Daniel Karzel fceb18d98b
Use actual margin value for contract setup 3 years ago
dependabot[bot] 7bd2800f1a
Bump rust_decimal from 1.15.0 to 1.16.0 3 years ago
Mariusz Klochowicz 6356c783be
Wrap bdk::wallet inside a struct 3 years ago
Daniel Karzel b60c55d031
Refactor Cfd to be based on Order 3 years ago
Thomas Eizinger 7ab1ee31ec
Rename the maker's feed endpoint to just /feed 3 years ago
Thomas Eizinger aa2b4fb0ce
Remove hardcoded absolute URLs from the frontend source code 3 years ago
Daniel Karzel 1b792751cb
Add script for preparing the DB for convenience 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 76f49bce22
`Origin` renames 3 years ago
Daniel Karzel a0447d60c3
Fix typos 3 years ago
Philipp Hoenisch 445208b475
Calculate refund timelock based on CFD term. 3 years ago
Philipp Hoenisch 468a979d93
Taker verifies all transactions 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 2bf258b1c3
Initialize cfd feed with existing CFDs from db 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