A 'Hello World' starter kit implementation of Balancer v2 Core; compile solidity from scratch and use typechain for testing; useful for core devs who wish to streamline their project to work directly with raw solidity and not rely on pre-compiled balancer v2 npm libraries
Basic usage include:
- deploy vault
- deploy test tokens
- protocol fee provider
- weighted & stable composable pool factory
- initial token join
- swapgivenin / swapgivenout
$ yarn # install dev dependencies
$ yarn build # compile solidity
Sample Weighted Pool with immutable weights
$ yarn test test/WeightedPoolTest.ts # run basic weighted pool test template
Sample Composable Stable Pool with preminted BPT
$ yarn test test/StablePoolTest.ts # run basic stable pool test template
- I.Moore, How to Create a Weighted Pool using Balancer v2 Lite, Coinmonks, Jan 2024.
- I.Moore, How to Create a Composable Stable Pool using Balancer v2 Lite, Coinmonks, Feb 2024.