Hubble common NPM packages.
Package | Description | Docs | Version |
---|---|---|---|
@hubbleprotocol/hubble-config |
Hubble Solana config (public keys) | README | |
@hubbleprotocol/hubble-idl |
Hubble IDL for Anchor | README | |
@hubbleprotocol/hubble-sdk |
Hubble Protocol client SDK | README | |
@hubbleprotocol/hubble-db |
Hubble Protocol database schema | README | |
@hubbleprotocol/scope-sdk |
Scope Oracle SDK | README | |
@hubbleprotocol/kamino-sdk |
Kamino SDK | README |
We use lernajs for monorepo package management and publishing. Versioning and publishing is done automatically (detects changes if any) by Lerna.
Currently, deployment is done manually by using a GitHub Action called Release NPM packages. You can only deploy from the master
branch and can either specify a specific new version number or increase it by specifying patch
(default), minor
or major
to the action input. You may run the action from here.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
npm install
npm run bootstrap
npm run test