Simulator of Balancer's Pool Maths. Currently, it supports the simulation of "Stable Surge" pools and "ReClamm" pools.
Use node 22 to run client
and functions
.
In the client folder:
- run
npm install
- run
npm start
- done! No other config is required
In the functions folder:
- create a .env file
- inside the .env file, create the variable
ALCHEMY_API_KEY
- go to alchemy.com, create an account and create an API KEY
- copy the API key and paste in the variable
- run
npm install
- run
npm run serve
The functions project is only required if you want to fetch data from ReClamm pools.
First, build the client: access the client folder and type npm run build
Then, in the root folder of the project, run firebase deploy
. If you have the permission to deploy to the project, this will deploy both site and functions to firebase.