open-index/open-npm huggingface dataset:
npm package: @solidity-paul/sdk
Description: 🛠 An SDK for building applications on top of XTT.
Latest version: 1.0.0

# Uniswap SDK

[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
[![Actions Status](https://github.com/Uniswap/uniswap-sdk/workflows/CI/badge.svg)](https://github.com/Uniswap/uniswap-sdk)
[![npm version](https://img.shields.io/npm/v/@uniswap/sdk/latest.svg)](https://www.npmjs.com/package/@uniswap/sdk/v/latest)
[![npm bundle size (scoped version)](https://img.shields.io/bundlephobia/minzip/@uniswap/sdk/latest.svg)](https://bundlephobia.com/result?p=@uniswap/sdk@latest)

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

## 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/Uniswap/uniswap-sdk.git
```

Move into the uniswap-sdk working directory

```sh
cd uniswap-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: @soliditylabs/erc20-permit
Description: Package for implementing the ERC20 permit (EIP-2612)
Author: Markus Waas
Latest version: 1.0.0

# ERC20-permit

Package for implementing the ERC20 permit (EIP-2612). Unaudited, use at own risk.

## Installation

1. Install the package via NPM:

```bash
$ npm install @soliditylabs/erc20-permit --save-dev
```

Or Yarn:

```bash
$ yarn add @soliditylabs/erc20-permit --dev
```

2. Import it into your ERC-20 contract:

```solidity
// SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;

import {ERC20, ERC20Permit} from "@soliditylabs/erc20-permit/contracts/ERC20Permit.sol";

contract ERC20PermitToken is ERC20Permit {
    constructor (uint256 initialSupply) ERC20("ERC20Permit-Token", "EPT") {
        _mint(msg.sender, initialSupply);
    }

    function mint(address to, uint256 amount) public {
        _mint(to, amount);
    }

    function burn(address from, uint256 amount) public {
        _burn(from, amount);
    }
}
```

## Running tests

1. Clone the repository

```bash
$ git clone https://github.com/soliditylabs/ERC20-Permit
```

2. Install the dependencies

```bash
$ cd ERC20-Permit
$ npm install
```

3. Run Buidler Node

```bash
$ npx buidler node
```

4. Run tests

```bash
$ npm test
```
npm package: @soliditylabs/erc721-permit
Description: Repository for implementing the ERC721 permit (EIP-4494).
Author: Markus Waas
Latest version: 1.0.0

# ERC721-permit

Package for implementing the ERC721 permit (EIP-4494). Unaudited, use at own risk.

## Installation

1. Install the package via NPM:

```bash
$ npm install @soliditylabs/erc721-permit --save-dev
```

Or Yarn:

```bash
$ yarn add @soliditylabs/erc721-permit --dev
```

2. Import it into your ERC-721 contract:

```solidity
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import { ERC721, ERC721Permit } from "@soliditylabs/erc20-permit/contracts/ERC20Permit.sol";

contract NFTMock is ERC721Permit("Mock721", "MOCK") {
  uint256 private _lastTokenId;

  function mint() public {
    _mint(msg.sender, ++_lastTokenId);
  }

  function safeTransferFromWithPermit(
    address from,
    address to,
    uint256 tokenId,
    bytes memory _data,
    uint256 deadline,
    bytes memory signature
  ) external {
    _permit(msg.sender, tokenId, deadline, signature);
    safeTransferFrom(from, to, tokenId, _data);
  }
}

```

## Running tests

1. Clone the repository

```bash
$ git clone https://github.com/soliditylabs/ERC721-Permit
```

2. Install the dependencies

```bash
$ cd ERC721-Permit
$ npm install
```

3. Run Hardhat Node

```bash
$ npx hardhat node
```

4. Run tests

```bash
$ npm test
```
npm package: @solidjs-component/image
Description: 🖼 Solid Image Viewer Component
Author: xbmlz
Latest version: 0.0.0

<p>
  <img width="100%" src="https://assets.solidjs.com/banner?type=@solidjs-component/image&background=tiles&project=%20" alt="@solidjs-component/image">
</p>

# @solidjs-component/image

[![pnpm](https://img.shields.io/badge/maintained%20with-pnpm-cc00ff.svg?style=for-the-badge&logo=pnpm)](https://pnpm.io/)

🖼 Solid Image Component

## Quick start

Install it:

```bash
npm i @solidjs-component/image
# or
yarn add @solidjs-component/image
# or
pnpm add @solidjs-component/image
```

Use it:

```tsx
import Viewer from '@solidjs-component/image'

export default () => (
  <Image
    width={200}
    src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
  />
);
```