open-index/open-npm huggingface dataset:
npm package: @mantixd/easyvalidator
Description: Easy JQuery validator
Author: Ricardo Perez
Latest version: 2.0.3

# easyValidator
Easy JQuery validator

## Getting Started
This is a way to validate your form, from an easy way.

### Online Demo

We can test the easyValidator library with this demo:

[easyValidator Demo](https://ricardoperez.org/wiki/easyvalidator/demo/)

### Installing

Please visit the wiki to know how to use it.

[easyValidator Wiki](https://ricardoperez.org/wiki/easyvalidator/)

## Built With

* [JQuery](https://jquery.com/) - The web framework used
* [Bootstrap](https://getbootstrap.com/docs/4.3/components/navbar/) - The Bootstrap Tooltip
* [Bootstrap Popover](https://getbootstrap.com/docs/4.0/components/popovers/) The Bootstrap Popover

## Contributing

If you detect any problem, please let me know, any comments will be welcome.

## Versioning

See the [tags on this repository](https://github.com/Mantixd/easyValidator/tags). 

## Authors

* **Ricardo Pérez** - *Initial work* - [Mantixd](https://github.com/Mantixd)

## License

This project is licensed under the MIT License - see the [LICENSE.md](LICENSE) file for details

## Donation

If my work likes you or helps you a little, i will apreciate it your help with this project and others coming:

<a href="https://www.buymeacoffee.com/ricardoperez" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/black_img.png" alt="Buy Me A Coffee" style="height: auto !important;width: auto !important;" ></a>

<a href="https://paypal.me/MantixSystems" target="_blank"><img width="150" height="150" src="http://chittagongit.com/images/paypal-donate-icon/paypal-donate-icon-15.jpg"></a>
npm package: @mantle-swap/redux-multicall
Description: A React + Redux lib for fetching and caching chain state via the MultiCall contract
Latest version: 1.0.0

# MultiCall

A React + Redux library for fetching, batching, and caching chain state via the MultiCall contract.

## Setup

`yarn add @uniswap/redux-multicall` or `npm install @uniswap/redux-multicall`

## Usage

The usage of this library is similar to [RTK Query](https://redux-toolkit.js.org/rtk-query/overview#create-an-api-slice).

```js
// Somewhere in your app
export const multicall = createMulticall({ reducerPath: 'multicall' })

// In your store's root reducer
export const rootReducer = combineReducers({
  // Other reducers
  [multicall.reducerPath]: multicall.reducer
})
```

To use the updater, you'll need an instance of the Uniswap Multicall2 contract:

```js
import { abi as MulticallABI } from '@uniswap/v3-periphery/artifacts/contracts/lens/UniswapInterfaceMulticall.sol/UniswapInterfaceMulticall.json'
import { Contract } from '@ethersproject/contracts'
import { UniswapInterfaceMulticall } from './abi/types'

const multicall2Contract = new Contract(address, MulticallABI, provider) as UniswapInterfaceMulticall
```

For a more detailed example, see basic example app in `./integration-tests`

## Alpha software

The latest version of the SDK is used in production in the Uniswap Interface,
but it is considered Alpha software and may contain bugs or change significantly between patch versions.
If you have questions about how to use the SDK, please reach out in the `#dev-chat` channel of the Discord.
Pull requests welcome!
npm package: @mantle-swap/router-sdk
Description: An sdk for routing swaps using MantleSwap v2 and MantleSwap v3.
Latest version: 1.0.3

# Alpha software

The latest version of the SDK is used in production in the Uniswap Interface,
but it is considered Alpha software and may contain bugs or change significantly between patch versions.
If you have questions about how to use the SDK, please reach out in the `#dev-chat` channel of the Discord.
Pull requests welcome!

# Uniswap Swap Router SDK

This SDK is meant to facilitate interactions with the contracts in [swap-router-contracts](https://github.com/Uniswap/swap-router-contracts).
npm package: @mantle-swap/sdk-core
Description: ⚒️ An SDK for building applications on top of MantleSwap V3
Latest version: 1.0.1

# Uniswap SDK Core

[![Unit Tests](https://github.com/Uniswap/uniswap-sdk-core/workflows/Unit%20Tests/badge.svg)](https://github.com/Uniswap/uniswap-sdk-core/actions?query=workflow%3A%22Unit+Tests%22)
[![Lint](https://github.com/Uniswap/uniswap-sdk-core/workflows/Lint/badge.svg)](https://github.com/Uniswap/uniswap-sdk-core/actions?query=workflow%3ALint)
[![npm version](https://img.shields.io/npm/v/@uniswap/sdk-core/latest.svg)](https://www.npmjs.com/package/@uniswap/sdk-core/v/latest)
[![npm bundle size (scoped version)](https://img.shields.io/bundlephobia/minzip/@uniswap/sdk-core/latest.svg)](https://bundlephobia.com/result?p=@uniswap/sdk-core@latest)

This code is shared across Uniswap TypeScript SDKs.
npm package: @mantle-swap/v2-sdk
Description: 🛠 An SDK for building applications on top of MantleSwap V2
Latest version: 1.0.0

# Uniswap V2 SDK

[![Unit Tests](https://github.com/Uniswap/uniswap-v2-sdk/workflows/Unit%20Tests/badge.svg)](https://github.com/Uniswap/uniswap-v2-sdk/actions?query=workflow%3A%22Unit+Tests%22)
[![Lint](https://github.com/Uniswap/uniswap-v2-sdk/workflows/Lint/badge.svg)](https://github.com/Uniswap/uniswap-v2-sdk/actions?query=workflow%3ALint)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
[![npm version](https://img.shields.io/npm/v/@uniswap/v2-sdk/latest.svg)](https://www.npmjs.com/package/@uniswap/v2-sdk/v/latest)
[![npm bundle size (scoped version)](https://img.shields.io/bundlephobia/minzip/@uniswap/v2-sdk/latest.svg)](https://bundlephobia.com/result?p=@uniswap/v2-sdk@latest)

In-depth documentation on this SDK is available at [uniswap.org](https://uniswap.org/docs/v2/SDK/getting-started/).
npm package: @mantle-swap/v3-sdk
Description: ⚒️ An SDK for building applications on top of Mantle Swap V3
Latest version: 1.0.2

# Alpha software

The latest version of the SDK is used in production in the Uniswap Interface,
but it is considered Alpha software and may contain bugs or change significantly between patch versions.
If you have questions about how to use the SDK, please reach out in the `#dev-chat` channel of the Discord.
Pull requests welcome!

# Uniswap V3 SDK

[![Unit Tests](https://github.com/Uniswap/uniswap-v3-sdk/workflows/Unit%20Tests/badge.svg)](https://github.com/Uniswap/uniswap-v3-sdk/actions?query=workflow%3A%22Unit+Tests%22)
[![Lint](https://github.com/Uniswap/uniswap-v3-sdk/workflows/Lint/badge.svg)](https://github.com/Uniswap/uniswap-v3-sdk/actions?query=workflow%3ALint)
[![npm version](https://img.shields.io/npm/v/@uniswap/v3-sdk/latest.svg)](https://www.npmjs.com/package/@uniswap/v3-sdk/v/latest)
[![npm bundle size (scoped version)](https://img.shields.io/bundlephobia/minzip/@uniswap/v3-sdk/latest.svg)](https://bundlephobia.com/result?p=@uniswap/v3-sdk@latest)

In-depth documentation on this SDK is available at [uniswap.org](https://docs.uniswap.org/).
npm package: @mantlebee/ts-core
Description: Common types, patterns and utilities for TypeScript projects.
Author: MantleBee
Latest version: 0.27.1

`ts-core`

# TypeScript Core

> Documentation is under constructions. Because this project has multiple purposes, meanwhile, you can take a look at [the reference documentation](https://mantlebee.github.io/ts-core/).

Common types, patterns and utilities for TypeScript projects.

This package aims to provide common logic and patterns, as well as a uniform approach to developing projects written in TypeScript.

The documentation follows the same concepts separation of the code.

- [**builders**](#builders)
  - [builder](#builder)
  - factory

## Builders

Some builder/factory patterns.

### Builder
npm package: @mantleio/balance-monitor
Description: [Mantle] Forta Agent that reports whether certain accounts have fallen below some balance
Author: Mantle PBC
Latest version: 0.1.0

# Minimum Balance Agent

## Description

A forta agent which detects when a specified account balance is below the
specified threshold.

## Installing and building

`yarn && yarn build`

## Running

1. Copy `.env.example` into `.env` and set the appropriate values.
2. Copy `forta.config.example.json` into `forta.config.json`, and set the RPC endpoint (yes, this is
   duplicated in the .env file).
2. `yarn run start:prod`

## Alerts

- `MANTLE-BALANCE-DANGER-[ACCOUNT_NAME]`
  - Fired when the specified account balance is below the configured DANGER threshold
  - Severity is always set to "high"
  - Type is always set to "info"
  - Metadata "balance" field contains amount of wei in account
npm package: @mantleio/common-ts
Description: [Mantle] Advanced typescript tooling used by various services
Author: Mantle PBC
Latest version: 0.2.1

# @mantleio/common-ts

[![codecov](https://codecov.io/gh/ethereum-optimism/optimism/branch/develop/graph/badge.svg?token=0VTG7PG7YR&flag=common-ts-tests)](https://codecov.io/gh/ethereum-optimism/optimism)

## What is this?

`@mantleio/common-ts` contains useful tools for logging, metrics, and other Node stuff.
npm package: @mantleio/contracts-periphery
Description: [Mantle] External (out-of-protocol) L1 and L2 smart contracts for Mantle
Author: Mantle PBC
Latest version: 0.1.0

# Optimism Peripheral Smart Contracts

[![codecov](https://codecov.io/gh/ethereum-optimism/optimism/branch/develop/graph/badge.svg?token=0VTG7PG7YR&flag=contracts-periphery-tests)](https://codecov.io/gh/ethereum-optimism/optimism)
npm package: @mantleio/core-utils
Description: [Mantle] Core typescript utilities
Author: Mantle PBC
Latest version: 0.2.0

# @eth-optimism/core-utils

[![codecov](https://codecov.io/gh/ethereum-optimism/optimism/branch/develop/graph/badge.svg?token=0VTG7PG7YR&flag=core-utils-tests)](https://codecov.io/gh/ethereum-optimism/optimism)

## What is this?

`@eth-optimism/core-utils` contains the Optimistic Virtual Machine core utilities.

## Getting started

### Building and usage

After cloning and switching to the repository, install dependencies:

```bash
$ yarn
```

Use the following commands to build, use, test, and lint:

```bash
$ yarn build
$ yarn start
$ yarn test
$ yarn lint
```

### L2 Fees

`TxGasLimit` can be used to `encode` and `decode` the L2 Gas Limit
locally.

```typescript
import { TxGasLimit } from '@mantleio/core-utils'
import { JsonRpcProvider } from 'ethers'

const L2Provider = new JsonRpcProvider('https://mainnet.optimism.io')
const L1Provider = new JsonRpcProvider('http://127.0.0.1:8545')

const l2GasLimit = await L2Provider.send('eth_estimateExecutionGas', [tx])
const l1GasPrice = await L1Provider.getGasPrice()

const encoded = TxGasLimit.encode({
  data: '0x',
  l1GasPrice,
  l2GasLimit,
  l2GasPrice: 10000000,
})

const decoded = TxGasLimit.decode(encoded)
assert(decoded.eq(gasLimit))

const estimate = await L2Provider.estimateGas()
assert(estimate.eq(encoded))
```
npm package: @mantleio/hardhat-deploy-config
Description: [Mantle] Hardhat deploy configuration plugin
Author: Mantle PBC
Latest version: 0.2.0

# @eth-optimism/hardhat-deploy-config

`hardhat-deploy-config` is a simple plugin that adds support for global deploy configuration values.

## Installation

```
yarn add @eth-optimism/hardhat-deploy-config
```
npm package: @mantleio/sdk
Description: [Mantle] Tools for working with Mantle
Author: Mantle PBC
Latest version: 1.0.5


# @mantleio/sdk

[![codecov](https://codecov.io/gh/ethereum-optimism/optimism/branch/master/graph/badge.svg?token=0VTG7PG7YR&flag=sdk-tests)](https://codecov.io/gh/ethereum-optimism/optimism)

The `@mantleio/sdk` package provides a set of tools for interacting with Optimism.

## Installation

```
npm install @mantleio/sdk
```

## Docs

You can find auto-generated API documentation over at [sdk.mantle.xyz](https://sdk.mantle.xyz).

## Using the SDK

### CrossChainMessenger

The [`CrossChainMessenger`](https://github.com/ethereum-optimism/optimism/blob/develop/packages/sdk/src/cross-chain-messenger.ts) class simplifies the process of moving assets and data between Ethereum and Optimism.
You can use this class to, for example, initiate a withdrawal of ERC20 tokens from Optimism back to Ethereum, accurately track when the withdrawal is ready to be finalized on Ethereum, and execute the finalization transaction after the challenge period has elapsed.
The `CrossChainMessenger` can handle deposits and withdrawals of ETH and any ERC20-compatible token.
Detailed API descriptions can be found at [sdk.mantle.xyz](https://sdk.mantle.xyz/classes/crosschainmessenger).
The `CrossChainMessenger` automatically connects to all relevant contracts so complex configuration is not necessary.

### L2Provider and related utilities

The Optimism SDK includes [various utilities](https://github.com/ethereum-optimism/optimism/blob/develop/packages/sdk/src/l2-provider.ts) for handling Optimism's [transaction fee model](https://community.optimism.io/docs/developers/build/transaction-fees/).
For instance, [`estimateTotalGasCost`](https://sdk.mantle.xyz/modules.html#estimateTotalGasCost) will estimate the total cost (in wei) to send at transaction on Optimism including both the L2 execution cost and the L1 data cost.
You can also use the [`asL2Provider`](https://sdk.mantle.xyz/modules.html#asL2Provider) function to wrap an ethers Provider object into an `L2Provider` which will have all of these helper functions attached.

### Other utilities

The SDK contains other useful helper functions and constants.
For a complete list, refer to the auto-generated [SDK documentation](https://sdk.mantle.xyz/)
npm package: @mantleio/viem
Description: <br/>
Latest version: 0.0.1-alpha.1

<br/>

<p align="center">
  <a href="https://viem.mantle.xyz/">
  <h1>Mantle Viem</h1>
  </a>
</p>

<p align="center">
  Viem Extension for Mantle Chain
<p>

<br>

## Features

- Simplifies cross L1 & L2 interactions
- Seamless extension to [Viem](https://github.com/wagmi-dev/viem)
- TypeScript ready
- Test suite running against [forked](https://ethereum.org/en/glossary/#fork) Ethereum network

## Overview

```ts
// import modules
import { walletActionsL1 } from '@mantleio/viem'
import { mantle } from '@mantleio/viem/chains'
import { createWalletClient, custom } from 'viem'
import { privateKeyToAccount } from 'viem/accounts'
import { mainnet } from 'viem/chains'

// create wallet clients
export const walletClientL1 = createWalletClient({
  chain: mainnet,
  transport: custom(window.ethereum),
}).extend(walletActionsL1())

// perform an action
const hash = await walletClientL1.depositMNT({
  account,
  request: {
    amount: parseEther('1'),
  },
  targetChain: mantle,
})
```

## Contributing

If you're interested in contributing, please read the [contributing docs](CONTRIBUTING.md) **before submitting a pull request**.

## License

[MIT](LICENSE.md) License
npm package: @mantlejs/mantlejs
Description: ## NOTICE: Moved to @mantlejs/mantle  ## Warning!! Currently under development
Author: mdaehn
Latest version: 0.0.3

# @mantlejs/mantlejs

## NOTICE: Moved to @mantlejs/mantle 
## Warning!! Currently under development 

A flexible service-oriented framework for building applications using REST, RPC, or real-time microservice APIs

# Install
> yarn add @mantlejs/mantlejs
npm package: @mantlenetworkio/core-utils
Description: [Mantle] Core typescript utilities
Author: Mantle
Latest version: 0.0.1
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# @mantle/core-utils

## What is this?

`@mantle/core-utils` contains the Bit Virtual Machine core utilities.

## Getting started

### Building and usage

After cloning and switching to the repository, install dependencies:

```bash
$ yarn
```

Use the following commands to build, use, test, and lint:

```bash
$ yarn build
$ yarn start
$ yarn test
$ yarn lint
```

### L2 Fees

`TxGasLimit` can be used to `encode` and `decode` the L2 Gas Limit
locally.

```typescript
import { TxGasLimit } from '@mantle/core-utils'
import { JsonRpcProvider } from 'ethers'

const L2Provider = new JsonRpcProvider('https://mainnet.mantle.io')
const L1Provider = new JsonRpcProvider('http://127.0.0.1:8545')

const l2GasLimit = await L2Provider.send('eth_estimateExecutionGas', [tx])
const l1GasPrice = await L1Provider.getGasPrice()

const encoded = TxGasLimit.encode({
  data: '0x',
  l1GasPrice,
  l2GasLimit,
  l2GasPrice: 10000000,
})

const decoded = TxGasLimit.decode(encoded)
assert(decoded.eq(gasLimit))

const estimate = await L2Provider.estimateGas()
assert(estimate.eq(encoded))
```
npm package: @mantlenetworkio/sdk
Description: [Mantle] Tools for working with Mantle
Author: Mantle PBC
Latest version: 2.1.1

[![codecov](https://codecov.io/gh/mantlenetworkio/mantle/branch/main/graph/badge.svg?token=0VTG7PG7YR&flag=sdk)](https://codecov.io/gh/mantlenetworkio/mantle)

# @mantlenetworkio/sdk

The `@mantlenetworkio/sdk` package provides a set of tools for interacting with Mantle.

## Installation

```
npm install @mantlenetworkio/sdk
```

## Docs

You can find auto-generated API documentation over at [sdk.mantle.io](https://sdk.mantle.io).

## Using the SDK

### CrossChainMessenger

The [`CrossChainMessenger`](https://github.com/mantlenetworkio/mantle/blob/develop/packages/sdk/src/cross-chain-messenger.ts) class simplifies the process of moving assets and data between Ethereum and Mantle.
You can use this class to, for example, initiate a withdrawal of ERC20 tokens from Mantle back to Ethereum, accurately track when the withdrawal is ready to be finalized on Ethereum, and execute the finalization transaction after the challenge period has elapsed.
The `CrossChainMessenger` can handle deposits and withdrawals of ETH and any ERC20-compatible token.
Detailed API descriptions can be found at [sdk.mantle.io](https://sdk.mantle.io/classes/crosschainmessenger).
The `CrossChainMessenger` automatically connects to all relevant contracts so complex configuration is not necessary.

### L2Provider and related utilities

The Mantle SDK includes [various utilities](https://github.com/mantlenetworkio/mantle/blob/develop/packages/sdk/src/l2-provider.ts) for handling Mantle's [transaction fee model](https://community.mantle.io/docs/developers/build/transaction-fees/).
For instance, [`estimateTotalGasCost`](https://sdk.mantle.io/modules.html#estimateTotalGasCost) will estimate the total cost (in wei) to send at transaction on mantle including both the L2 execution cost and the L1 data cost.
You can also use the [`asL2Provider`](https://sdk.mantle.io/modules.html#asL2Provider) function to wrap an ethers Provider object into an `L2Provider` which will have all of these helper functions attached.

### Other utilities

The SDK contains other useful helper functions and constants.
For a complete list, refer to the auto-generated [SDK documentation](https://sdk.mantle.io/)
npm package: @mantleswap/default-token-list
Description: ◦ The MantleSwap default token list
Latest version: 1.0.5

# @mantleswap/default-token-list

This NPM module and GitHub repo contains the default token list used in the MantleSwap interface.

## Adding a token

To request that we add a token to the list:
  + [file an issue](https://github.com/mantleswap/default-token-list/issues/new?assignees=&labels=token+request&template=token-request.md&title=Add+%7BTOKEN_SYMBOL%7D%3A+%7BTOKEN_NAME%7D)

## HOW TO WHITELIST YOUR TOKEN
- Tokens are added to tokenlists by MantleSwap team based on market demand and other metrics. 
- Tokenlist is rebalanced every 2 weeks, roughly speaking we add tokens that are top 30 in daily volume, and remove tokens that are below top 40. 

### Disclaimer

Note filing an issue does not guarantee addition to this default token list.
We do not review token addition requests in any particular order, and we do not
guarantee that we will review your request to add the token to the default list.