open-index/open-npm huggingface dataset:
npm package: @1coinswap/sushi1coin-sdk
Description: 🛠 An SDK for building applications on top of Sushiswap.
Latest version: 5.1.1

# ~Sushiswap~ Sushi1COIN Swap SDK

In-depth documentation on this SDK is available at [uniswap.org](https://uniswap.org/docs/v2/SDK/getting-started/).

# Purpose of this SDK / repository

Wanting to keep as much the same as SushiSwap/Uniswap as possible, we found there was no way to do this and allow potential future upgrades, without implementing our own package. This way we can just expand on all that already exists, and make modifications as we see fit.

If all goes well, we will be able to continue to use new revisions of the SushiSwap SDK without having to modify this package. Provided the original SDK does not change drastically (Non backwards compatible application breaking code).

This can be very useful for anyone looking to launch a SushiSwap clone.

## Running tests

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

First clone the repository:

```sh
git clone https://github.com/sushiswap/sushiswap-sdk.git
```

Move into the sushiswap-sdk working directory

```sh
cd sushiswap-sdk/
```

Install dependencies

```sh
yarn install
```

Run tests

```sh
yarn test
```

You should see output like the following:

```sh
yarn 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.
```
npm package: @1d/analytics
Description: 1D プロダクトの Analytics を行うラッパーです。
Author: Naturalclar
Latest version: 3.0.4

# 1D-Analytics

1D プロダクトの Analytics を行うラッパーです。

## Install

```
yarn add @1d/analytics
```

## Usage

```js
import { Analytics } from "@1d/analytics";
import { amplitudeApiKey } from "../config/consts";

const analytics = new Analytics(amplitudeApiKey);

export const { identify, track, trackScreenView } = analytics;

identify("dummyUserHash", {
  // Any properties you want
  occupation: dummyOccupation,
  email: dummyEmail,
  os: Platform.OS,
})

track("yourEvent", {
  // Any properties you want
  isLikeTea: true,
  isLikeCoffee: true
})

trackScreenView("prevScreen", "currentScreen", {
  // Any properties you want
  postHash: "dummyPostHash"
})
```

## How to release

This package is automatically released via GitHub Actions after PR is merged into master.

All you need is just to modify the version property in `package.json` when you submit PR.
npm package: @1delta/abis
Description: ABI definitions for DeFi lending protocols used across 1delta packages.
Latest version: 0.0.10

# @1delta/abis

ABI definitions for DeFi lending protocols used across 1delta packages.

## Included Protocols

- Aave V2/V3
- Compound V2 (Venus)
- Compound V3 (Comet)
- Morpho Blue + Bundler3
- Silo V2
- Init Capital
- ERC20 / EIP-2612 / Permit2

## ESM Import Rule

This package uses `"type": "module"`. All relative imports **must** include explicit file extensions:

```ts
// correct
export { Foo } from './bar/index.js'
export { Baz } from './qux.js'

// wrong - will fail at runtime with ERR_UNSUPPORTED_DIR_IMPORT
export { Foo } from './bar'
export { Baz } from './qux'
```

Node.js ESM does not resolve directory imports or extensionless imports automatically. Always use `.js` extensions in import specifiers (even for `.ts` source files — TypeScript emits them as-is).
npm package: @1delta/aptos-swap-sdk
Description: 🛠 An SDK for building applications on top of Pancakeswap Aptos.
Latest version: 0.0.2

# PancakeSwap Aptos Swap SDK

You can refer to the Uniswap SDK documentation [uniswap.org](https://docs.uniswap.org/sdk/2.0.0/).
npm package: @1delta/calldatalib
Description: Generated CalldataLib TypeScript functions for 1delta smart contracts
Latest version: 0.0.53

# @1delta/calldatalib

Generated TypeScript functions for 1delta smart contracts calldata encoding.

## Installation

```bash
npm install @1delta/calldatalib
# or
yarn add @1delta/calldatalib
# or
pnpm add @1delta/calldatalib
```

This package requires `viem` as a peer dependency, so make sure to install it as well:

```bash
npm install viem
# or
yarn add viem
# or
pnpm add viem
```

## Usage

```typescript
import { encodeExternalCall } from "@1delta/calldatalib";
import { parseEther } from "viem";

// Example usage
const calldata = encodeExternalCall(
  "0x1234567890123456789012345678901234567890",
  parseEther("0.1"),
  "0x1234"
);
```
npm package: @1delta/sdk
Description: 🛠 An SDK for building applications on top of DEXs.
Latest version: 0.0.2

# 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.
```