open-index/open-npm huggingface dataset:
npm package: @qpools/sdk
Description: You can find the latest, uploaded Package Repositry on NPM: https://www.npmjs.com/package/@qpools/sdk. The currently most updated version is defined in `package.json`.
Latest version: 1.2.10

# @qpools/sdk

You can find the latest, uploaded Package Repositry on NPM: https://www.npmjs.com/package/@qpools/sdk. The currently most updated version is defined in `package.json`. 

## Quick Start:

To use the SDK, you can simply run 

```
yarn dev
```

in a terminal. If you are editing this SDK, please leave this window open. This code compiles the typescript to javascript. 

To be more specific, this will install all packages if they're not installed yet. It will then link the package repository to your global, locally editable repository (using `yarn link`), and then it will run `tsc --watch` to account for any items that you edit. If you pull a new version, please make sure to run this command again. You can also run `yarn dev-clean` to delete any previous packages and reinstall everything from scratch. This deletes `node_modules/` and `package-lock.json` before you apply anything. 

You can find the exact line of commands executed in `qpools-sdk/package.json` in the `script` attribute.

## Serpius Endpoint 

The Serpius Endpoint currently is on version v4.0.0. The file-structure it should delpoy looks like the following. 

```
{
  "network": mainnet | devnet,
  "allocations": [
    {
      "inputToken": {
        "address": PublicKey,  // this is the token mint
        "decimals": number,
        "logoURI": string,
        "name": string,
        "symbol": string
      }, 
      "assets": [
        {
          id: string,
          weight: number,
          protocol: marinade | solend | saber,
          apy_24h: number
        }, 
        ...
      ]
    },
    ...
  ]  
}
```

One specific example of what the API could return looks as follows:

```
{
  "network": "mainnet",
  "allocations": [
    {
      "inputToken": {
        "address": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
        "decimals": 6,
        "logoURI": "https://spl-token-icons.static-assets.ship.capital/icons/101/EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v.png",
        "name": "USD Coin",
        "symbol": "USDC"
      }, 
      "assets": [
        {
          "lp": "USDC",
          "weight": 1000,
          "protocol": "solend",
          "apy_24h": 5.65
        },
        {
          "lp": "USDCpo-USDC",
          "weight": 0,
          "protocol": "saber",
          "apy_24h": 5.59
        },
        ...
      ]
    },
    ...
  ]  
}
```
npm package: @qppq54s/qp-component
Description: This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
Latest version: 1.0.3

# Vue 3 + Vite

This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.

## Recommended IDE Setup

- [VS Code](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).