Deployed at https://liquidstaking.zone/
Edit .env and yarn start
Edit .env and then
npx prisma migrate dev
pm2 start ecosystem.config.js
Project directories:
- prisma - everything that deploys db and views
- externalServices - integrations with other services
- jobs - entry points to program, that composed by pm2
- backend.ts - backend for ui. Runs on .env.PORT || 8081 Port
- fetchBlocksJob - fetches blocks and handles txs and messages
- priceUpdateJob - updates prices for STassets and base assets
- externalAccountsCheckerJob - looks for Stride external account balances
- statusWatcherJob - watches for latest sync status and sends notifications in case of failure. Runs on :3000
- messagaes - handlers for each message type. look at messages/readme.md