open-index/open-npm huggingface dataset:
npm package: @lydiaswap/eslint-config-lydia
Description: Eslint config for LydiaSwap
Author: RabbitDoge
Latest version: 1.0.3

# eslint-config-lydia

Lydia Eslint config with:

- Airbnb config
- Typescript
- Prettier

## Usage

```
npx install-peerdeps --dev @lydiaswap-libs/eslint-config-lydia
```

Add `"extends": "@lydiaswap-libs/eslint-config-lydia"` to your eslint config file.
npm package: @lydiaswap/exchange-contracts
Description: Contracts for the Lydia Swap
Author: Lydia Swap
Latest version: 1.0.2

# Lydia Smart Contracts
This repo contains all of the smart contracts used to run [Lydia](lydia.finance).

## Deployed Contracts
Factory address: `0xe......`

Router address: `0xE.......`

## Running
These contracts are compiled and deployed using [Hardhat](https://hardhat.org/). They can also be run using the Remix IDE. A tutorial for using Remix is located [here](https://docs.avax.network/build/tutorials/platform/deploy-a-smart-contract-on-avalanche-using-remix-and-metamask).

To prepare the dev environment, run `yarn install`. To compile the contracts, run `yarn compile`. Yarn is available to install [here](https://classic.yarnpkg.com/en/docs/install/#debian-stable) if you need it.

## Accessing the ABI
If you need to use any of the contract ABIs, you can install this repo as an npm package with `npm install --dev @lydiaswap/exchange-contracts`. Then import the ABI like so: `import { abi as ILydiaPairABI } from '@lydiaswap/exchange-contracts/artifacts/contracts/lydia-core/interfaces/ILydiaPair.sol/ILydiaPair.json'`.

## Attribution
These contracts were adapted from these Uniswap repos: [uniswap-v2-core](https://github.com/Uniswap/uniswap-v2-core), [uniswap-v2-periphery](https://github.com/Uniswap/uniswap-v2-core), and [uniswap-lib](https://github.com/Uniswap/uniswap-lib).
npm package: @lydiaswap/uikit
Description: Set of UI components for lydia projects
Author: lydiaswap
Latest version: 0.7.8

# 🦁 Lydia UIkit

[![Version](https://img.shields.io/npm/v/@lydiaswap-libs/uikit)](https://www.npmjs.com/package/@lydiaswap-libs/uikit) [![Size](https://img.shields.io/bundlephobia/min/@lydiaswap-libs/uikit)](https://www.npmjs.com/package/@lydiaswap-libs/uikit)

Lydia UIkit is a set of React components and hooks used to build pages on Lydia's apps. It also contains a theme file for dark and light mode.

## Install

`yarn add @lydiaswap-libs/uikit`

## Setup

### Theme

Before using Lydia UIkit, you need to provide the theme file to styled-component.

```
import { ThemeProvider } from 'styled-components'
import { light, dark } from '@lydiaswap-libs/uikit'
...
<ThemeProvider theme={isDark}>...</ThemeProvider>
```

### Reset

A reset CSS is available as a global styled component.

```
import { ResetCSS } from '@lydiaswap-libs/uikit'
...
<ResetCSS />
```

### Types

This project is built with Typescript and export all the relevant types.

## How to use the UIkit

If you want to use components from the UIkit, check the [Storybook documentation](https://lydiaswap.github.io/lydia-uikit/)