Strategy can be found here.
- Install dependencies:
yarn install
- Create a .env file at the root of the repository and add the following variables:
RPC_URL
- Your Infura RPC URLSIGNER_PRIVATE_KEY
- The private key of the pool manager/address that will call contractsALLO_REGISTRY_ADDRESS
- The address of the Allo Protocol registryALLO_MAIN_ADDRESS
- The address of the Allo Protocol main contract
- Create Profile To create a pool on Allo you need a Registry profile. If you don't have one yet, you can create one using this script.
- Open
src/create-profile.ts
- Fill out the
profile
config params (lines 8-15) - save and run:
yarn run create-profile
- Create a pool
- Open
src/create-pool.ts
- Fill out the
initData
andpoolData
config params - save and run:
yarn run create-pool