asmodehn / xest

Xest: Elixir client for online crypto exchanges
GNU General Public License v3.0
2 stars 9 forks source link

in memory event sourcing to mirror exchange transaction #18

Open asmodehn opened 3 years ago

asmodehn commented 3 years ago

We need to retrieve transactions from the exchanges. But we want it light weight yet a first step towards using event sourcing (hoping to get some benefits out of a minimal implementation of it) Ref: https://github.com/commanded/commanded

asmodehn commented 3 years ago

Note this should be done in the :xest app. The connector apps are already complex enough without this.

asmodehn commented 2 years ago

We might want to store the original data from the exchange however, not the dumb down data (lowest common denominator between all exchanges).

Not sure how this is doable without doing it in the connector... or exposing the complex data to the web app. This needs further reflection... Maybe the xest app should provide some protocol to allow the connectors to "add" event sourcing functionality, when used with xest, but keep xest somehow agnostic to the event datastructure stored.

asmodehn commented 1 year ago