Hubble common NPM packages.
| Package | Description | Docs | Version |
|---|---|---|---|
@hubbleprotocol/hubble-config |
Hubble Solana config (public keys) | README | |
@hubbleprotocol/hubble-sdk |
Hubble Protocol client SDK | README | |
@hubbleprotocol/hubble-db |
Hubble Protocol database schema | README |
| Package | Description | Comments | Version |
|---|---|---|---|
@hubbleprotocol/kamino-sdk |
Kamino SDK | Moved to: @kamino-finance/kliquidity-sdk https://github.com/Kamino-Finance/kliquidity-sdk |
|
@hubbleprotocol/scope-sdk |
Scope SDK | Moved to: @kamino-finance/scope-sdk https://github.com/Kamino-Finance/scope-sdk |
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.
git clone [email protected]:hubbleprotocol/hubble-common.gitcd hubble-common/npm install- Put in your RPC (see below)
- go to
https://www.hellomoon.io/dashboard - get a mainnet rpc
- paste it where it says
const clusterUrl: string = 'https://api.mainnet-beta.solana.com';
npm install
npm run bootstrapnpm run test