open-index/open-npm huggingface dataset:
npm package: @lifi-fork/data-types
Description: Data types for the LI.FI stack
Latest version: 5.27.4

# LI.FI - Data Types

[![license](https://img.shields.io/badge/license-Apache%202-blue)](/LICENSE.md)
[![npm latest package](https://img.shields.io/npm/v/@lifi-fork/data-types/latest.svg)](https://www.npmjs.com/package/@lifi-fork/data-types)
[![npm downloads](https://img.shields.io/npm/dm/@lifi-fork/data-types.svg)](https://www.npmjs.com/package/@lifi-fork/data-types)
[![Follow on Twitter](https://img.shields.io/twitter/follow/lifiprotocol.svg?label=follow+LI.FI)](https://twitter.com/lifiprotocol)

## Summary

This repository contains data that enriches the types defined in LI.FI's [types package](https://github.com/lifinance/types) with actual information.
[Learn more about LI.FI](https://li.fi).

Check out the [Changelog](./CHANGELOG.md) to see what changed in the last releases.

## Installation

```bash
pnpm add @lifi-fork/data-types
```

or

```bash
npm install --save @lifi-fork/data-types
```
npm package: @lifi-fork/types
Description: Types for the LI.FI stack
Latest version: 16.11.0

<div align="center">

[![license](https://img.shields.io/badge/license-Apache%202-blue)](/LICENSE.md)
[![npm latest package](https://img.shields.io/npm/v/@lifi-fork/types/latest.svg)](https://www.npmjs.com/package/@lifi-fork/types)
[![npm downloads](https://img.shields.io/npm/dm/@lifi-fork/types.svg)](https://www.npmjs.com/package/@lifi-fork/types)
[![Follow on Twitter](https://img.shields.io/twitter/follow/lifiprotocol.svg?label=follow+LI.FI)](https://twitter.com/lifiprotocol)

</div>

# LI.FI - Types

Types for the LI.FI stack.

## Summary

This package contains all common types for the [LI.FI SDK](https://github.com/lifinance/sdk).
Learn more about LI.FI on (https://li.fi).

Check out the [Changelog](./CHANGELOG.md) to see what changed in the last releases.

## Installation

```bash
pnpm add @lifi-fork/types
```

or

```bash
npm install --save @lifi-fork/types
```

## Release

The package uses `standard-version` to generate a changelog based on semantic commit history. The `standard-version` package also handles version numbering.

Once main is up to date with the changes to be released execute the following command on the main branch to invoke `standard-version`:

```bash
pnpm release
```

Then to release:

```bash
git push --follow-tags origin main
```

This will push a newly created git tag to the remote repository, which will trigger a github action which will publish the new version to npm
npm package: @lifi/data-types
Description: Data types for the LI.FI stack
Latest version: 6.77.3

<div align="center">

[![license](https://img.shields.io/badge/license-Apache%202-blue)](/LICENSE.md)
[![npm latest package](https://img.shields.io/npm/v/@lifi/data-types/latest.svg)](https://www.npmjs.com/package/@lifi/data-types)
[![npm downloads](https://img.shields.io/npm/dm/@lifi/data-types.svg)](https://www.npmjs.com/package/@lifi/data-types)
[![Follow on Twitter](https://img.shields.io/twitter/follow/lifiprotocol.svg?label=follow+LI.FI)](https://twitter.com/lifiprotocol)

</div>

# LI.FI - Data Types

## Summary

This repository contains data that enriches the types defined in LI.FI's [types package](https://github.com/lifinance/types) with actual information.
Learn more about LI.FI on (https://li.fi).

Check out the [Changelog](./CHANGELOG.md) to see what changed in the last releases.

## Installation

```bash
pnpm add @lifi/data-types
```

or

```bash
npm install --save @lifi/data-types
```
npm package: @lifi/explorer
Description: Explorer to inspect LI.FI any to any cross-chain transfers
Author: Adrian Weniger
Latest version: 0.6.3

<div align="center">

[![license](https://img.shields.io/badge/license-Apache%202-blue)](/LICENSE.md)
[![Follow on Twitter](https://img.shields.io/twitter/follow/lifiprotocol.svg?label=follow+LI.FI)](https://twitter.com/lifiprotocol)

<!-- [![npm latest package](https://img.shields.io/npm/v/@lifi/widget/latest.svg)](https://www.npmjs.com/package/@lifi/widget)
[![npm downloads](https://img.shields.io/npm/dm/@lifi/widget.svg)](https://www.npmjs.com/package/@lifi/widget) -->

</div>

<h1 align="center">LI.FI Explorer</h1>

This repository contains the LI.FI Explorer React Component and the LI.FI Explorer Website.

<!-- - [_LI.FI Explorer_](TODO: npm link here) Provide your users with insights done via your LI.FI integration -->

<!-- - [_LI.FI Explorer Website_ ](TODO: explorer.li.fi) LI.FI Explorer. Inspect any transaction done via any LI.FI product  -->

## LI.FI Explorer

LI.FI Explorer is available as an

<!-- [npm package](TODO: npm link here). -->

**npm:**

```sh
npm install @lifi/explorer
```

**yarn:**

```sh
yarn add @lifi/explorer
```

**pnpm:**

```sh
pnpm add @lifi/explorer
```

### Getting started with LI.FI Explorer

Here is an example of a basic app using the LI.FI Explorer:

```tsx
import { LiFiExplorer, LiFiExplorerConfig } from '@lifi/explorer';

const explorerConfig: LiFiExplorerConfig = {
  appearance: theme.palette.mode,
  integrator: 'my_project',
  theme: {
    palette: {
      background: {
        default: 'rgba(0,0,0, 0.04)',
        paper: '#fff',
      },
    },
  },
};

export const ExplorerPage = () => {
  return <LiFiExplorer config={explorerConfig} />;
};
```

<!-- ## Examples

Visit our [playground](https://playground.li.fi) to see how you can customize your [LI.FI Widget](https://www.npmjs.com/package/@lifi/widget) experience. -->

<!-- ## Documentation

[LI.FI Widget Documentation](https://docs.li.fi/integrate-li.fi-widget/li.fi-widget-overview) -->

<!-- ## Changelog

The [changelog](/CHANGELOG.md) is regularly updated to reflect what's changed in each new release. -->

## Running this repository locally

The easiest way to start local development is to run the following two commands in the root folder of this repository:
When using yarn, simply type
`yarn watch` and `yarn dev` in two terminal windows to start the typescript compilation and the LI.FI Explorer app in development mode. The output of `yarn dev` will give you the URL to access the page.

## Building the projects

Please refer to the individual readme files in the separate packages.

## License

This project is licensed under the terms of the
[Apache-2.0](/LICENSE.md).
npm package: @lifi/rpc-wrapper
Description: LI.FI rpc-wrapper
Latest version: 0.0.28

<div>
<h1 align="center"> RPC wrapper </h1>
<p align="center">
<strong>A wrapper around your rpc</strong>
</p>
<div align="center">

[![license](https://img.shields.io/badge/license-Apache%202-blue)](/LICENSE.md)
[![npm latest package](https://img.shields.io/npm/v/@lifi/rpc-wrapper/latest.svg)](https://www.npmjs.com/package/@lifi/rpc-wrapper)
[![npm downloads](https://img.shields.io/npm/dm/@lifi/rpc-wrapper.svg)](https://www.npmjs.com/package/@lifi/rpc-wrapper)
[![Average time to resolve an issue](https://isitmaintained.com/badge/resolution/lifinance/rpc-wrapper.svg)](https://isitmaintained.com/project/lifinance/rpc-wrapper)
[![Follow on Twitter](https://img.shields.io/twitter/follow/lifiprotocol.svg?label=follow+LI.FI)](https://twitter.com/lifiprotocol)

</div>
</div>

The rpc wrapper is a wrapper around evm based rpc. It allows you as an developer not to handle retrying, logging and performance monitoring of your rpcs.

# Getting started

The package is available as an [NPM package]()

You can install the package by running

```bash
> yarn add @lifi/rpc-wrapper
```

or if you use npm

```bash
> npm install @lifi/rpc-wrapper
```

Since the RPCProvider extends the ethersproject Fallbackprovider you can easily swap out your rpc handling with the RPCProvider.

```ts
// specify your rpc providers for your specific chain
const myRpcProviders = ['https://rpc1.com', 'https://rpc2.com']
// initialize the rpc provider
const provider = new RPCProvider(myRpcProviders)

const blockNumber = provider.getBlockNumber()
console.log('This is a block number ', blockNumber)
```

## Contributing

Awesome! Please read more about contributing to the repo [here](/CONTRIBUTING.md)

## Development

### Running tests

Test your code with Jest framework:

```bash
yarn test
```

### Build

Build production (distribution) files in your **dist** folder:

```bash
yarn build
```

If you want to test how your changes affect please use

```bash
> yarn link
```

Then in your project, do

```
> yarn link @lifi/rpc-wrapper
```