open-index/open-npm huggingface dataset:
npm package: @liquality/ethereum-scraper-swap-find-provider
Description: [![Build Status](https://travis-ci.com/liquality/chainabstractionlayer.svg?branch=master)](https://travis-ci.com/liquality/chainabstractionlayer) [![Coverage Status](https://coveralls.io/repos/github/liquality/chainabstractionlayer/badge.svg?branch=master
Author: Liquality
Latest version: 1.13.12

# `@liquality/ethereum-scraper-swap-find-provider` <img align="right" src="https://raw.githubusercontent.com/liquality/chainabstractionlayer/master/liquality-logo.png" height="80px" />

[![Build Status](https://travis-ci.com/liquality/chainabstractionlayer.svg?branch=master)](https://travis-ci.com/liquality/chainabstractionlayer)
[![Coverage Status](https://coveralls.io/repos/github/liquality/chainabstractionlayer/badge.svg?branch=master)](https://coveralls.io/github/liquality/chainabstractionlayer?branch=master)
[![Standard Code Style](https://img.shields.io/badge/codestyle-standard-brightgreen.svg)](https://github.com/standard/standard)
[![MIT License](https://img.shields.io/badge/license-MIT-brightgreen.svg)](../../LICENSE.md)
[![@liquality/ethereum-scraper-swap-find-provider](https://img.shields.io/npm/dt/@liquality/ethereum-scraper-swap-find-provider.svg)](https://npmjs.com/package/@liquality/ethereum-scraper-swap-find-provider)
[![Gitter](https://img.shields.io/gitter/room/liquality/Lobby.svg)](https://gitter.im/liquality/Lobby?source=orgpage)
[![Telegram](https://img.shields.io/badge/chat-on%20telegram-blue.svg)](https://t.me/Liquality) [![Greenkeeper badge](https://badges.greenkeeper.io/liquality/chainabstractionlayer.svg)](https://greenkeeper.io/)

> :warning: This project is under heavy development. Expect bugs & breaking changes.

> :hammer: This provider uses [github.com/harshjv/ethereum-scraper](https://github.com/harshjv/ethereum-scraper)

### :pencil: [Introductory Blog Post: The Missing Tool to Cross-Chain Development](https://medium.com/liquality/the-missing-tool-to-cross-chain-development-2ebfe898efa1)

Query different blockchains with account management using a single and simple interface.

## Installation

```bash
npm i @liquality/ethereum-scraper-swap-find-provider
```

or

```html
<script src="https://cdn.jsdelivr.net/npm/@liquality/ethereum-scraper-swap-find-provider@0.2.3/dist/ethereum-scraper-swap-find-provider.min.js"></script>
<!-- sourceMap at https://cdn.jsdelivr.net/npm/@liquality/ethereum-scraper-swap-find-provider@0.2.3/dist/ethereum-scraper-swap-find-provider.min.js.map -->
<!-- available as window.EthereumScraperSwapFindProvider -->
```

## License

[MIT](../../LICENSE.md)
npm package: @liquality/ethereum-swap-provider
Description: [![Build Status](https://travis-ci.com/liquality/chainabstractionlayer.svg?branch=master)](https://travis-ci.com/liquality/chainabstractionlayer) [![Coverage Status](https://coveralls.io/repos/github/liquality/chainabstractionlayer/badge.svg?branch=master
Author: Liquality
Latest version: 1.13.12

# `@liquality/ethereum-swap-provider` <img align="right" src="https://raw.githubusercontent.com/liquality/chainabstractionlayer/master/liquality-logo.png" height="80px" />

[![Build Status](https://travis-ci.com/liquality/chainabstractionlayer.svg?branch=master)](https://travis-ci.com/liquality/chainabstractionlayer)
[![Coverage Status](https://coveralls.io/repos/github/liquality/chainabstractionlayer/badge.svg?branch=master)](https://coveralls.io/github/liquality/chainabstractionlayer?branch=master)
[![Standard Code Style](https://img.shields.io/badge/codestyle-standard-brightgreen.svg)](https://github.com/standard/standard)
[![MIT License](https://img.shields.io/badge/license-MIT-brightgreen.svg)](../../LICENSE.md)
[![@liquality/ethereum-swap-provider](https://img.shields.io/npm/dt/@liquality/ethereum-swap-provider.svg)](https://npmjs.com/package/@liquality/ethereum-swap-provider)
[![Gitter](https://img.shields.io/gitter/room/liquality/Lobby.svg)](https://gitter.im/liquality/Lobby?source=orgpage)
[![Telegram](https://img.shields.io/badge/chat-on%20telegram-blue.svg)](https://t.me/Liquality) [![Greenkeeper badge](https://badges.greenkeeper.io/liquality/chainabstractionlayer.svg)](https://greenkeeper.io/)

> :warning: This project is under heavy development. Expect bugs & breaking changes.

### :pencil: [Introductory Blog Post: The Missing Tool to Cross-Chain Development](https://medium.com/liquality/the-missing-tool-to-cross-chain-development-2ebfe898efa1)

Query different blockchains with account management using a single and simple interface.

## Installation

```bash
npm i @liquality/ethereum-swap-provider
```

or

```html
<script src="https://cdn.jsdelivr.net/npm/@liquality/ethereum-swap-provider@0.2.3/dist/ethereum-swap-provider.min.js"></script>
<!-- sourceMap at https://cdn.jsdelivr.net/npm/@liquality/ethereum-swap-provider@0.2.3/dist/ethereum-swap-provider.min.js.map -->
<!-- available as window.EthereumSwapProvider -->
```

## License

[MIT](../../LICENSE.md)
npm package: @liquality/ethereum-utils
Description: [![Build Status](https://travis-ci.com/liquality/chainabstractionlayer.svg?branch=master)](https://travis-ci.com/liquality/chainabstractionlayer) [![Coverage Status](https://coveralls.io/repos/github/liquality/chainabstractionlayer/badge.svg?branch=master
Author: Liquality
Latest version: 1.13.12

# `@liquality/ethereum-utils` <img align="right" src="https://raw.githubusercontent.com/liquality/chainabstractionlayer/master/liquality-logo.png" height="80px" />

[![Build Status](https://travis-ci.com/liquality/chainabstractionlayer.svg?branch=master)](https://travis-ci.com/liquality/chainabstractionlayer)
[![Coverage Status](https://coveralls.io/repos/github/liquality/chainabstractionlayer/badge.svg?branch=master)](https://coveralls.io/github/liquality/chainabstractionlayer?branch=master)
[![Standard Code Style](https://img.shields.io/badge/codestyle-standard-brightgreen.svg)](https://github.com/standard/standard)
[![MIT License](https://img.shields.io/badge/license-MIT-brightgreen.svg)](../../LICENSE.md)
[![@liquality/ethereum-utils](https://img.shields.io/npm/dt/@liquality/ethereum-utils.svg)](https://npmjs.com/package/@liquality/ethereum-utils)
[![Gitter](https://img.shields.io/gitter/room/liquality/Lobby.svg)](https://gitter.im/liquality/Lobby?source=orgpage)
[![Telegram](https://img.shields.io/badge/chat-on%20telegram-blue.svg)](https://t.me/Liquality) [![Greenkeeper badge](https://badges.greenkeeper.io/liquality/chainabstractionlayer.svg)](https://greenkeeper.io/)

> :warning: This project is under heavy development. Expect bugs & breaking changes.

### :pencil: [Introductory Blog Post: The Missing Tool to Cross-Chain Development](https://medium.com/liquality/the-missing-tool-to-cross-chain-development-2ebfe898efa1)

Query different blockchains with account management using a single and simple interface.

## Installation

```bash
npm i @liquality/ethereum-utils
```

or

```html
<script src="https://cdn.jsdelivr.net/npm/@liquality/ethereum-utils@0.2.3/dist/ethereum-utils.min.js"></script>
<!-- sourceMap at https://cdn.jsdelivr.net/npm/@liquality/ethereum-utils@0.2.3/dist/ethereum-utils.min.js.map -->
<!-- available as window.EthereumUtils -->
```

## Usage

```js
import { ensure0x, remove0x, formatEthResponse, normalizeTransactionObject } from '@liquality/ethereum-utils'
```

## License

[MIT](../../LICENSE.md)
npm package: @liquality/ethereum-wallet-api-provider
Description: [![Build Status](https://travis-ci.com/liquality/chainabstractionlayer.svg?branch=master)](https://travis-ci.com/liquality/chainabstractionlayer) [![Coverage Status](https://coveralls.io/repos/github/liquality/chainabstractionlayer/badge.svg?branch=master
Author: Liquality
Latest version: 1.13.12

# `@liquality/ethereum-wallet-api-provider` <img align="right" src="https://raw.githubusercontent.com/liquality/chainabstractionlayer/master/liquality-logo.png" height="80px" />

[![Build Status](https://travis-ci.com/liquality/chainabstractionlayer.svg?branch=master)](https://travis-ci.com/liquality/chainabstractionlayer)
[![Coverage Status](https://coveralls.io/repos/github/liquality/chainabstractionlayer/badge.svg?branch=master)](https://coveralls.io/github/liquality/chainabstractionlayer?branch=master)
[![Standard Code Style](https://img.shields.io/badge/codestyle-standard-brightgreen.svg)](https://github.com/standard/standard)
[![MIT License](https://img.shields.io/badge/license-MIT-brightgreen.svg)](../../LICENSE.md)
[![@liquality/ethereum-wallet-api-provider](https://img.shields.io/npm/dt/@liquality/ethereum-wallet-api-provider.svg)](https://npmjs.com/package/@liquality/ethereum-wallet-api-provider)
[![Gitter](https://img.shields.io/gitter/room/liquality/Lobby.svg)](https://gitter.im/liquality/Lobby?source=orgpage)
[![Telegram](https://img.shields.io/badge/chat-on%20telegram-blue.svg)](https://t.me/Liquality) [![Greenkeeper badge](https://badges.greenkeeper.io/liquality/chainabstractionlayer.svg)](https://greenkeeper.io/)

> :warning: This project is under heavy development. Expect bugs & breaking changes.

### :pencil: [Introductory Blog Post: The Missing Tool to Cross-Chain Development](https://medium.com/liquality/the-missing-tool-to-cross-chain-development-2ebfe898efa1)

Query different blockchains with account management using a single and simple interface.

## Installation

```bash
npm i @liquality/ethereum-wallet-api-provider
```

or

```html
<script src="https://cdn.jsdelivr.net/npm/@liquality/ethereum-wallet-api-provider@0.2.3/dist/ethereum-wallet-api-provider.min.js"></script>
<!-- sourceMap at https://cdn.jsdelivr.net/npm/@liquality/ethereum-wallet-api-provider@0.2.3/dist/ethereum-wallet-api-provider.min.js.map -->
<!-- available as window.EthereumWalletApiProvider -->
```

## License

[MIT](../../LICENSE.md)
npm package: @liquality/fee-suggestions
Description: JavaScript library that suggest fees on Ethereum after EIP-1559 using historical data using ethers.js
Author: Bruno Barbieri
Latest version: 2.0.2

# 🔥 EIP-1559 Fee Suggestions 🔥

The function `suggestFees()` is a utility function written in Javascript and it's intended to use with an [ethers.js](https://docs.ethers.io/v5/) provider.
 
It returns an object containing:
- `maxBaseFee` and `maxPriorityFee` suggestions
- `baseFeeTrend` indicator
- `currentBaseFee` which is the current block base fee
- `confirmationTimeByPriorityFee` an object containing estimated times of confirmation by priority fee chosen
- `blocksToConfirmationByPriorityFee` an object containing estimated blocks of wait for a confirmation by priority fee chosen
- `blocksToConfirmationByBaseFee` an object containing estimated blocks of wait for a confirmation by base fee chosen

### Usage

```
import { JsonRpcProvider } from '@ethersproject/providers';
import { suggestFees } from './src';

const main = async() => {
    const provider = new JsonRpcProvider(`https://ropsten.infura.io/v3/${YOUR_API_KEY}`);
    const ret = await suggestFees(provider);
    console.log('Result: ', ret);
}

main();
```

In addition, you can use specific methods to get `maxBaseFee` and `maxPriorityFee` specific data.

```
import { JsonRpcProvider } from '@ethersproject/providers';
import { suggestFees } from './src';

const main = async() => {
    const provider = new JsonRpcProvider(`https://ropsten.infura.io/v3/${YOUR_API_KEY}`);
    const fromBlock = 'latest' // the block that you want to run the estimations from
    const blockCountHistory = 100 // the quantity of blocks you want to take in account for the estimation
    const ret = await suggestMaxBaseFee(provider, fromBlock, blockCountHistory);
    console.log('Result: ', ret);
}

main();
```

```
import { JsonRpcProvider } from '@ethersproject/providers';
import { suggestFees } from './src';

const main = async() => {
    const provider = new JsonRpcProvider(`https://ropsten.infura.io/v3/${YOUR_API_KEY}`);
    const fromBlock = 'latest' // the block that you want to run the estimations from
    const ret = await suggestMaxPriorityFee(provider, fromBlock, blockCountHistory);
    console.log('Result: ', ret);
}

main();
```

### Credits

The `suggestMaxBaseFee` estimations code is 100% based on the work of [@zsfelfoldi](https://github.com/zsfelfoldi) published at https://github.com/zsfelfoldi/feehistory/