open-index/open-npm huggingface dataset:
npm package: @huma-shan/sdk
Description: ![Badge functions](coverage/badge-functions.svg) ![Badge lines](coverage/badge-lines.svg)
Latest version: 0.0.36

# Huma SDK

![Badge functions](coverage/badge-functions.svg) ![Badge lines](coverage/badge-lines.svg)

The Huma SDK includes utilities and services for interacting with different layers of our protocol including contracts, our evaluation agent underwriting service, and data storage hosted on ARWeave, Subgraph, on-chain, etc. It's currently offered just as a Javascript NPM package at https://www.npmjs.com/package/@huma-finance/sdk.

## Getting Started

We recommend onboarding onto our SDK using the [Getting Started guide](getting-started.md)

## Documentation

For extensive documentation on the different functions offered please refer to the [API documentation](API.md)

## Features

- Services
  - `ARWeaveService` contains helper methods for storing data on ARWeave conforming to Huma data standards, querying for metadata, and prefunding ARWeave nodes to pay for data uploading.
  - `EAService` contains helper methods to request credit approvals from Huma's Evaluation Agent layer.
  - `ReceivableService` contains helper methods to manage minting and paying Receivable tokens
  - `SubgraphService` contains helper methods for querying Huma's subgraphs
- Hooks
  - React hooks for fetching ethers.js Contract instances of Huma contracts
- Helpers
  - `ERC20TransferableReceivableContractHelper` fetches ERC20TransferableReceivable contract instances, which Huma uses for its Request Network integration
  - `RealWorldReceivableContractHelper` fetches RealWorldReceivable contract instances, which Huma uses to power pool loan tapes
  - `PoolContractHelper` helper function for interacting with Huma's pool contracts, including drawdown and payback

## Examples

To see how the Huma SDK can be used, feel free to use our interactive example in the `huma-widgets` package.

1. Open up the `huma-widgets` package in your terminal
2. Run `yarn cosmos`
3. Open up localhost:8000 in your browser and navigate to the SDKTesting fixture

If you're looking for nodeJS script integrations, go to our `packages/examples` folder and view the examples scripts provided there.
npm package: @huma-shan/shared
Description: The Huma Shared includes utilities/services/hooks for shared logics.
Latest version: 0.0.39

# Getting Started with Huma Dapp

The Huma Shared includes utilities/services/hooks for shared logics.

## Available Scripts

In the project directory, you can run:

### `yarn install`

Install all the dependencies and devDependencies

### `yarn start`

Runs the package in the development mode.\

The page will reload if you make edits.\
You will also see any lint errors in the console.

### `yarn build`

Builds the package for production to the `build` folder.\

### `yarn contracts:compile:abi`

Generate static typings to /abis/types for contracts after updating abi files.

See the section about [TypeChain](https://github.com/dethcrypto/TypeChain) for more information.
npm package: @huma-shan/soroban-sdk
Description: The Huma Soroban SDK includes utilities and services for interacting with our contracts. It's currently offered just as a Javascript NPM package at https://www.npmjs.com/package/@huma-shan/soroban-sdk.
Latest version: 0.0.20

# Huma Soroban SDK

The Huma Soroban SDK includes utilities and services for interacting with our contracts. It's currently offered just as a Javascript NPM package at https://www.npmjs.com/package/@huma-shan/soroban-sdk.

## Getting Started

We recommend onboarding onto our SDK using the [Getting Started guide](getting-started.md)

## Documentation

For extensive documentation on the different functions offered please refer to the [API documentation](API.md)

## Features

- Helpers
  - `CreditContractHelper` helper function for interacting with Huma's pool contracts, including drawdown and payback
  - `Sep41ContractHelper` helper function for interacting with Sep41 token contract (ERC20 equivalent)
npm package: @huma-shan/superfluid-widget
Description: This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app), using the [Redux](https://redux.js.org/) and [Redux Toolkit](https://redux-toolkit.js.org/) TS template.
Latest version: 0.0.1

# Getting Started with Huma Dapp

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app), using the [Redux](https://redux.js.org/) and [Redux Toolkit](https://redux-toolkit.js.org/) TS template.

## Available Scripts

In the project directory, you can run:

### `yarn install`

Install all the dependencies and devDependencies

### `yarn start`

Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

The page will reload if you make edits.\
You will also see any lint errors in the console.

### `yarn test`

Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.

### `yarn build`

Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!

See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.

### `yarn contracts:compile:abi`

Generate static typings to /abis/types for contracts after updating abi files.

See the section about [TypeChain](https://github.com/dethcrypto/TypeChain) for more information.

## Learn More

You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).

To learn React, check out the [React documentation](https://reactjs.org/).