@readyio/aggregator
v1.1.0
Published
This is a library used for Ready application, for aggregating the swap rates of different (supported) DEX aggregators and providing the best rate to user
Downloads
2
Readme
READY AGGREGATOR
This is a library used for Ready application, for aggregating the swap rates of different (supported) DEX aggregators and providing the best rate to user
Installation
Project structure
src
|_ common: public constants or utils to be used globally by the project
|_ entity: definitions of entities to be used by services and repositories
|_ repository: adaptors to connect to databases
|_ service:
|__ aggregator: contains list of different callers to DEXes to get swap rates
|__ contract-connector: contains lists of different caller to DEX to perform swap
|__ fee-calculator: calculates the fee for performing the swap
|__ fee-taker: performs taking the fee for performing the swap