Skip to content

allo-protocol/gs-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SQFSuperfluidStrategy Scripts

Strategy can be found here.

Installation

  1. Install dependencies:
yarn install
  1. Create a .env file at the root of the repository and add the following variables:
  • RPC_URL - Your Infura RPC URL
  • SIGNER_PRIVATE_KEY - The private key of the pool manager/address that will call contracts
  • ALLO_REGISTRY_ADDRESS - The address of the Allo Protocol registry
  • ALLO_MAIN_ADDRESS - The address of the Allo Protocol main contract

Scripts

  1. 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
  1. Create a pool
  • Open src/create-pool.ts
  • Fill out the initData and poolData config params
  • save and run:
yarn run create-pool

About

Scripts for Donation Voting Merkle Strategies

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published