# @hotlondon960/sdk

> 🛠 An SDK for building applications on top of Pancakeswap.

Latest version **5.8.2** (published 2024-04-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install @hotlondon960/sdk
pnpm add @hotlondon960/sdk
yarn add @hotlondon960/sdk
bun add @hotlondon960/sdk
```

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 5.8.2 |
| Published | 2024-04-23 |
| First published | 2024-04-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=10 |
| Dependencies | 8 |
| Unpacked size | 161 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | hotlondon960 |
| Keywords | pancakeswap, bsc |

## Links

- npm: https://www.npmjs.com/package/@hotlondon960/sdk
- Repository: https://github.com/hotlondon960/hotlondon960
- Homepage: https://github.com/hotlondon960/hotlondon960#readme
- Issues: https://github.com/hotlondon960/hotlondon960/issues
- npm.io page: https://npm.io/package/@hotlondon960/sdk

## Dependencies (8)

- [viem](https://npm.io/package/viem.md) 2.9.19
- [big.js](https://npm.io/package/big.js.md) ^5.2.2
- [toformat](https://npm.io/package/toformat.md) ^2.0.0
- [tiny-warning](https://npm.io/package/tiny-warning.md) ^1.0.3
- [tiny-invariant](https://npm.io/package/tiny-invariant.md) ^1.3.0
- [decimal.js-light](https://npm.io/package/decimal.js-light.md) ^2.5.0
- [@hotlondon960/chains](https://npm.io/package/@hotlondon960/chains.md) ^0.4.3
- [@hotlondon960/swap-sdk-core](https://npm.io/package/@hotlondon960/swap-sdk-core.md) 1.1.1

## Recent versions

- 5.8.2 (latest) — 2024-04-23
- 5.8.1 — 2024-04-23

## README

# PancakeSwap SDK

Forked from the [Uniswap SDK](https://github.com/Uniswap/uniswap-v2-sdk/commit/a88048e9c4198a5bdaea00883ca00c8c8e582605).

You can refer to the Uniswap SDK documentation [uniswap.org](https://docs.uniswap.org/sdk/2.0.0/).

## Running tests

To run the tests, follow these steps. You must have at least node v10 and [pnpm](https://pnpm.io) installed.

First clone the repository:

```sh
git clone https://github.com/pancakeswap/pancake-swap-sdk.git
```

Move into the pancakeswap-sdk working directory

```sh
cd pancakeswap-sdk/
```

Install dependencies

```sh
pnpm install
```

Run tests

```sh
pnpm test
```

You should see output like the following:

```sh
pnpm run v1.22.4
$ tsdx test
 PASS  test/constants.test.ts
 PASS  test/pair.test.ts
 PASS  test/fraction.test.ts
 PASS  test/miscellaneous.test.ts
 PASS  test/entities.test.ts
 PASS  test/trade.test.ts

Test Suites: 1 skipped, 6 passed, 6 of 7 total
Tests:       3 skipped, 82 passed, 85 total
Snapshots:   0 total
Time:        5.091s
Ran all test suites.
✨  Done in 6.61s.
```

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