The repository contains services to support FTSO Scaling protocol which include:
The services are Nest.js applications which use logic that is implemented in FTSO core library
Reward calculation results are available here. See the documentation about Reward calculator for details.
- Install Node.js (ideally 20.11.0 LTS).
- Install, configure and run the Flare System C-chain Indexer.
- Install Nest.js CLI
- Clone the repo.
- Build the project
yarn build
- Configure relevant environment variables.
- Run the code:
node dist/apps/ftso-data-provider/apps/ftso-data-provider/src/main.js
Reward calculator is a command line script that calculates rewards for FTSOv2 protocols. It uses the Flare system C-chain indexer database.
A few scripts that enable insight into reward calculation data.