2025-06-27 15:07:53 +00:00

20 lines
877 B
Markdown

# Documentation
## Client
### Garage
The `Garage` contains user's tokens separated by `Slots` . Every `Slot` stores the core data generated with the token and a set of `Robots`. Each `Robot` fetches the information a `Coordinator` has about that specific token. Tokens should be always sent to all coordinators on creation/recovery to ensure consistency and good UX.
<div align="center">
<img src="/development/assets/garage.png" width="500px">
</div>
### Federation
The `Federation` stores information from all available coordinators. A `Coordinator` contains the main data obtained from its main API endpoints: `/api/book`, `/api/limits` and `/api/info`. This information is aggregated in the `Federation`: `book` for all orders and `exchange` for coordinator's meta data.
<div align="center">
<img src="/development/assets/federation.png" width="500px">
</div>