# honey-sdk

> # Project File Structure 1. actions Commands to feed the wrappers to 2. contexts Contexts to get the data into the app 3. helpers Various legacy utils from jet 4. hooks Couple of helper hooks for fetching the data in the UI 5. wrappers

Latest version **1.0.4** (published 2022-03-20) · ISC license · 0 weekly downloads

## Install

```sh
npm install honey-sdk
pnpm add honey-sdk
yarn add honey-sdk
bun add honey-sdk
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2022-03-20 |
| First published | 2022-02-06 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 10 |
| Unpacked size | 968.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | bbroeking |

## Links

- npm: https://www.npmjs.com/package/honey-sdk
- npm.io page: https://npm.io/package/honey-sdk

## Dependencies (10)

- [react](https://npm.io/package/react.md) ^17.0.2
- [react-dom](https://npm.io/package/react-dom.md) ^17.0.2
- [typescript](https://npm.io/package/typescript.md) ^4.5.5
- [@solana/web3.js](https://npm.io/package/@solana/web3.js.md) ^1.32.1
- [react-router-dom](https://npm.io/package/react-router-dom.md) ^6.2.1
- [@solana/spl-token](https://npm.io/package/@solana/spl-token.md) ^0.1.8
- [@pythnetwork/client](https://npm.io/package/@pythnetwork/client.md) ^2.5.3
- [@project-serum/serum](https://npm.io/package/@project-serum/serum.md) ^0.13.61
- [@project-serum/anchor](https://npm.io/package/@project-serum/anchor.md) ^0.20.1
- [@metaplex-foundation/mpl-token-metadata](https://npm.io/package/@metaplex-foundation/mpl-token-metadata.md) ^1.2.0

## Recent versions

- 1.0.4 (latest) — 2022-03-20
- 1.0.3 — 2022-03-20
- 1.0.2 — 2022-02-12
- 1.0.1 — 2022-02-12
- 1.0.0 — 2022-02-06

## README

## Honey SDK
# Borrow & Lending Functions for NFTs

# Project File Structure
1. actions
    Commands to feed the wrappers to
2. contexts
    Contexts to get the data into the app
3. helpers
    Various legacy utils from jet
4. hooks
    Couple of helper hooks for fetching the data in the UI
5. wrappers
    There are four major wrapper objects that represent impornat info about the on chain program
    * client (HoneyClient)
        ** Can be used to interact with the top level of the on-chain protocol.
        ** createMarket is the most interesting function here, this can be used once you've initalized the HoneyClient object to create new 
        lending and borrowing markets
    * market (HoneyMarket)
        ** Once the market is initalized this wrapper can be used to create and read reserves
    * user (HoneyUser)
        ** most important object. initalized when a user clicks on a nft market such that we derive the obligations and 
        can make on chain transactions
    * reserve (HoneyReserve)
        ** specifies the specific asset pool such as SOL, USDC, etc

# Running Tests

---
_Source: https://npm.io/package/honey-sdk · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
