Skip to content

Commit

Permalink
Remove scope-sdk (#488)
Browse files Browse the repository at this point in the history
* Remove scope-sdk

* Update package-lock.json in hubble-sdk
  • Loading branch information
peroxy authored Sep 12, 2024
1 parent a655356 commit 4529da6
Show file tree
Hide file tree
Showing 165 changed files with 16 additions and 34,873 deletions.
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -194,10 +194,6 @@ yarn.lock
.idea

test-ledger
packages/kamino-sdk/deps/kamino.so
packages/kamino-sdk/deps/metaplex.so
packages/kamino-sdk/deps/scope.so
packages/kamino-sdk/deps/whirlpool.so
.DS_Store

keypair.json
6 changes: 0 additions & 6 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,3 @@ dist
kamino-client
whirpools-client
meteora_client
packages/scope-sdk/src/@codegen
packages/scope-sdk/src/accounts
packages/scope-sdk/src/instructions
packages/scope-sdk/src/errors
packages/scope-sdk/src/types
packages/scope-sdk/src/programId.ts
13 changes: 4 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,14 @@ Hubble common NPM packages.
| Package | Description | Docs | Version |
|---------------------------------|------------------------------------|----------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------|
| `@hubbleprotocol/hubble-config` | Hubble Solana config (public keys) | [README](./packages/hubble-config/README.md) | [![npm](https://img.shields.io/npm/v/@hubbleprotocol/hubble-config)](https://www.npmjs.com/package/@hubbleprotocol/hubble-config) |
| `@hubbleprotocol/hubble-idl` | Hubble IDL for Anchor | [README](./packages/hubble-idl/README.md) | [![npm](https://img.shields.io/npm/v/@hubbleprotocol/hubble-idl)](https://www.npmjs.com/package/@hubbleprotocol/hubble-idl) |
| `@hubbleprotocol/hubble-sdk` | Hubble Protocol client SDK | [README](./packages/hubble-sdk/README.md) | [![npm](https://img.shields.io/npm/v/@hubbleprotocol/hubble-sdk)](https://www.npmjs.com/package/@hubbleprotocol/hubble-sdk) |
| `@hubbleprotocol/hubble-db` | Hubble Protocol database schema | [README](./packages/hubble-db/README.md) | [![npm](https://img.shields.io/npm/v/@hubbleprotocol/hubble-db)](https://www.npmjs.com/package/@hubbleprotocol/hubble-db) |
| `@hubbleprotocol/scope-sdk` | Scope Oracle SDK | [README](./packages/scope-sdk/README.md) | [![npm](https://img.shields.io/npm/v/@hubbleprotocol/scope-sdk)](https://www.npmjs.com/package/@hubbleprotocol/scope-sdk) |

### Deprecated Packages
| Package | Description | Comments | Version |
|---------------------------------|------------------------------------|---------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------|
| `@hubbleprotocol/kamino-sdk` | Kamino SDK | Moved to: `@kamino-finance/kliquidity-sdk` https://github.com/Kamino-Finance/kliquidity-sdk | [![npm](https://img.shields.io/npm/v/@hubbleprotocol/kamino-sdk)](https://www.npmjs.com/package/@hubbleprotocol/kamino-sdk) |
| Package | Description | Comments | Version |
|------------------------------|-------------|---------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------|
| `@hubbleprotocol/kamino-sdk` | Kamino SDK | Moved to: `@kamino-finance/kliquidity-sdk` https://github.com/Kamino-Finance/kliquidity-sdk | [![npm](https://img.shields.io/npm/v/@hubbleprotocol/kamino-sdk)](https://www.npmjs.com/package/@hubbleprotocol/kamino-sdk) |
| `@hubbleprotocol/scope-sdk` | Scope SDK | Moved to: `@kamino-finance/scope-sdk` https://github.com/Kamino-Finance/scope-sdk | [![npm](https://img.shields.io/npm/v/@kamino-finance/scope-sdk)](https://www.npmjs.com/package/@kamino=finance/scope-sdk) |


## Deployment
Expand All @@ -35,10 +34,6 @@ Pull requests are welcome. For major changes, please open an issue first to disc
- `git clone git@github.com:hubbleprotocol/hubble-common.git`
- `cd hubble-common/`
- `npm install`
- `cd packages/scope-sdk/`
- `npm install`
- `cd ../../`
- `npx ts-mocha packages/scope-sdk/tests/sdk.test.ts`
- Put in your RPC (see below)

## Create a free mainnet RPC:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"clean": "npx lerna clean -y && rm -rf node_modules",
"publish": "npx lerna publish",
"test": "npx ts-mocha 'packages/hubble-sdk/tests/sdk.test.ts'",
"integration-test": "npm run airdrop-test-admin && npx ts-mocha packages/scope-sdk/tests/sdk.test.ts",
"integration-test": "npm run airdrop-test-admin",
"format": "prettier --write '{**/*,*}.{js,ts,jsx,tsx}'",
"format:check": "prettier --check '{**/*,*}.{js,ts,jsx,tsx}'",
"start-with-test-validator": "npm run dump-kamino-programs && start-server-and-test 'npm run start-validator' http://localhost:8899/health 'npm run integration-test'",
Expand Down
21 changes: 11 additions & 10 deletions packages/hubble-sdk/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 0 additions & 24 deletions packages/scope-sdk/README.md

This file was deleted.

Loading

0 comments on commit 4529da6

Please sign in to comment.