dependabot[bot]
c07adab5f1
Bump tracing from 0.1.28 to 0.1.29
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.28 to 0.1.29.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.28...tracing-0.1.29 )
---
updated-dependencies:
- dependency-name: tracing
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
dependabot[bot]
c1aa456124
Bump tracing-subscriber from 0.2.24 to 0.2.25
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing ) from 0.2.24 to 0.2.25.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.2.24...tracing-subscriber-0.2.25 )
---
updated-dependencies:
- dependency-name: tracing-subscriber
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
dependabot[bot]
6c1a860d5a
Bump sqlx from 0.5.7 to 0.5.9
Bumps [sqlx](https://github.com/launchbadge/sqlx ) from 0.5.7 to 0.5.9.
- [Release notes](https://github.com/launchbadge/sqlx/releases )
- [Changelog](https://github.com/launchbadge/sqlx/blob/master/CHANGELOG.md )
- [Commits](https://github.com/launchbadge/sqlx/compare/v0.5.7...v0.5.9 )
---
updated-dependencies:
- dependency-name: sqlx
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Thomas Eizinger
4ac13e405e
Make sure we can request HTTPS urls
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
Thomas Eizinger
a219d90dd0
Update to bdk 0.12
3 years ago
Daniel Karzel
a2fbfedc02
UI state mapping & dynamic actions
All display related decisions are taken in the UI, but on top of the UI's model.
For this purpose we introduce classes for `CfdState` and `Position` so we can add the relevant mapping functions to these classes.
To achieve the mapping from daemon sse even to the `Cfd` / `Order` interface (that now contain classes instead of just primitives) we extend the sse hook to accept a mapping function.
We define this mapping function for `Cfd` and `Order`, because those contain classes, for all others we just use the default mapping.
Actions are dynamically rendered based on the state.
The daemon decides on the action name.
A single post endpoint handles all actions.
The UI maps the actions to icons.
Co-authored-by: Thomas Eizinger <thomas@coblox.tech>
3 years ago
dependabot[bot]
f237b0ee0b
Bump bdk from `919522a` to `8c21bcf`
Bumps [bdk](https://github.com/bitcoindevkit/bdk ) from `919522a` to `8c21bcf`.
- [Release notes](https://github.com/bitcoindevkit/bdk/releases )
- [Commits](919522a456
...8c21bcf40a1fe76637b65c3e483b6c46351f28fa)
---
updated-dependencies:
- dependency-name: bdk
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Mariusz Klochowicz
699ddcf95a
Use latest github snapshot of xtra
Master branch includes some desired fixes, such as clippy warnings when a future
has not been awaited.
3 years ago
Thomas Eizinger
eda1b88b0a
Introduce a dedicated codec
3 years ago
Mariusz Klochowicz
3e439e6b3e
Recreate Cargo.lock files to overcome linking errors on macos
After recent rebase on master, I was not able to build the project anymore.
Not sure whether anyone else has experienced it.
3 years ago
Lucas Soriano del Pino
366c415314
Introduce monitor actor
3 years ago
dependabot[bot]
a7a3713569
Bump tokio from 1.11.0 to 1.12.0
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.11.0 to 1.12.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.11.0...tokio-1.12.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Thomas Eizinger
25d54078e7
Add BitMex price feed
Fixes #96 .
3 years ago
Mariusz Klochowicz
46e9b96fbf
Roll-out xtra framework usage in maker
3 years ago
dependabot[bot]
ba22554a1c
Bump tracing from 0.1.26 to 0.1.28
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.26 to 0.1.28.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.26...tracing-0.1.28 )
---
updated-dependencies:
- dependency-name: tracing
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
dependabot[bot]
14d1ac53ca
Bump bitcoin from 0.27.0 to 0.27.1
Bumps [bitcoin](https://github.com/rust-bitcoin/rust-bitcoin ) from 0.27.0 to 0.27.1.
- [Release notes](https://github.com/rust-bitcoin/rust-bitcoin/releases )
- [Changelog](https://github.com/rust-bitcoin/rust-bitcoin/blob/0.27.1/CHANGELOG.md )
- [Commits](https://github.com/rust-bitcoin/rust-bitcoin/compare/0.27.0...0.27.1 )
---
updated-dependencies:
- dependency-name: bitcoin
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
dependabot[bot]
d6865981e6
Bump rust_decimal_macros from 1.15.0 to 1.16.0
Bumps [rust_decimal_macros](https://github.com/paupino/rust-decimal ) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/paupino/rust-decimal/releases )
- [Commits](https://github.com/paupino/rust-decimal/commits )
---
updated-dependencies:
- dependency-name: rust_decimal_macros
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
dependabot[bot]
2638f573b6
Bump tracing-subscriber from 0.2.20 to 0.2.24
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing ) from 0.2.20 to 0.2.24.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.2.20...tracing-subscriber-0.2.24 )
---
updated-dependencies:
- dependency-name: tracing-subscriber
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
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
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
0939aba57e
Remove rand_chacha
We don't need to use seedable RNG in our tests.
3 years ago
Lucas Soriano del Pino
0b6336c13d
Add interval module
3 years ago
Philipp Hoenisch
6ec95eef7a
Embed maker/taker frontend into binary
Note: we need to check-in `frontend/dist` directories as otherwise the build will fail.
If you want to embed the files into the binaries you will need to build them first (`yarn run build`).
3 years ago
Daniel Karzel
17471c9196
Remove `AdaptorSignature` wrapper in favor of latest `rust-secp256k1-zkp`
`EcdsaAdaptorSignature` implements `Serialize` and `Deserialize` on latest master of `rust-secp256k1-zkp` so we can remove the wrapper.
3 years ago
Daniel Karzel
d5bbee3edd
Wallet updates in the UI 🎉
- wallet feed that sends balance + current address
- display in UI (balance + address) in separate wallet component (shared for taker and maker for now)
Includes two seed files that are already funded with some testnet coins. We can share those for testing for now. If more funds are needed I'm happy to top them up.
3 years ago
dependabot[bot]
7bd2800f1a
Bump rust_decimal from 1.15.0 to 1.16.0
Bumps [rust_decimal](https://github.com/paupino/rust-decimal ) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/paupino/rust-decimal/releases )
- [Commits](https://github.com/paupino/rust-decimal/commits )
---
updated-dependencies:
- dependency-name: rust_decimal
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
dependabot[bot]
b0b677181b
Bump serde_json from 1.0.67 to 1.0.68
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.67 to 1.0.68.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.67...v1.0.68 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
dependabot[bot]
eb13eab04e
Bump anyhow from 1.0.43 to 1.0.44
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.43 to 1.0.44.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.43...1.0.44 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Thomas Eizinger
5ba44028fc
Add CLIs to maker and taker daemon and make things configurable
3 years ago
Thomas Eizinger
d459af14d1
Integrate CFD protocol into the maker and taker
- Add wallet to maker and taker.
For now we have different, static descriptors with a hardcoded DB
path. We also only operate on testnet and use sled as a database.
- Associate each CET with a unique nonce_pk
Eventually a set of `(message, nonce_pk)`.
- Share transactions with maker
- Add serialisation support to adaptor signature
Co-authored-by: Mariusz Klochowicz <mariusz@klochowicz.com>
Co-authored-by: Lucas Soriano del Pino <l.soriano.del.pino@gmail.com>
3 years ago
Thomas Eizinger
ea07efcae8
Remove proptest while we are not using it
3 years ago
Thomas Eizinger
8993492543
Track bdk's rev in lockfile
3 years ago
Thomas Eizinger
2234e15ce9
Remove unused dependency
3 years ago
Thomas Eizinger
dd17d7da1a
Align bdk versions
3 years ago
Daniel Karzel
be7fa3e612
Initial daemon and frontend for taker and maker
Co-authored-by: Mariusz Klochowicz <mariusz@klochowicz.com>
3 years ago
Philipp Hoenisch
245aaaf7ae
Use itertools exactly_one
3 years ago
Lucas Soriano del Pino
8a8e896cc5
Commit Cargo.lock
3 years ago