Skip to content

saber-hq/pool-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Saber Pools Program

Allows the DAO to manage Saber pools and for anyone to create new pools without permission.

Setup Instructions

Running tests

  1. Install deps via yarn (yarn version should be >= 3.2.0)
  2. brew install gnu-sed
  3. Run some scripts, ./scripts/idl.sh, ./scripts/generate-idl-types.sh, and ./scripts/pull-saber.sh
  4. anchor build
  5. Now yarn test should work

VS Code setup

  1. When you open the project in VS Code, it will ask if you want to use the workspace TypeScript version. Click "Allow." Or, just follow these steps to use the workspace version.
  2. Install the ZipFS extension, so go-to-definition works for TypeScript.

License

The Saber Pools program is licensed under the Affero General Public License, version 3.