# @folks-finance/algorand-sdk

[![License: MIT][license-image]][license-url]
[![CI][ci-image]][ci-url]
[![NPM version][npm-image]][npm-url]
[![Downloads][downloads-image]][npm-url]

![Algorand Header](https://github.com/Folks-Finance/algorand-js-sdk/raw/main/media/repo-header.jpg)

The official JavaScript SDK for the Algorand Folks Finance protocol

## Installation

### Package manager

Using npm:

```bash
npm install @folks-finance/algorand-sdk
```

Using yarn:

```bash
yarn add @folks-finance/algorand-sdk
```

Using pnpm:

```bash
pnpm add @folks-finance/algorand-sdk
```

Using bun:

```bash
bun add @folks-finance/algorand-sdk
```

No extra setup is required if you're just using the sdk as a dependency in your project.

## Documentation

Documentation is generated with TypeDoc and available at <https://folks-finance.github.io/algorand-js-sdk/>.

## Running Examples (For Contributors)

If you've forked or cloned this repository, you can run the included examples:

1. Update `examples/config.ts` with your configuration.
2. Run an example, for example:

```bash
pnpm example examples/v2/liquidate.ts
```

[license-image]: https://img.shields.io/badge/License-MIT-brightgreen.svg?style=flat-square
[license-url]: https://opensource.org/licenses/MIT
[ci-image]: https://img.shields.io/github/actions/workflow/status/Folks-Finance/algorand-js-sdk/lint-and-typecheck.yml?branch=main&logo=github&style=flat-square
[ci-url]: https://github.com/Folks-Finance/algorand-js-sdk/actions/workflows/lint-and-typecheck.yml
[npm-image]: https://img.shields.io/npm/v/@folks-finance/algorand-sdk.svg?style=flat-square
[npm-url]: https://www.npmjs.com/package/@folks-finance/algorand-sdk
[downloads-image]: https://img.shields.io/npm/dm/@folks-finance/algorand-sdk.svg?style=flat-square
