open-index/open-npm huggingface dataset:
npm package: @hfrada/fui
Description: Those templates dependencies are maintained via [pnpm](https://pnpm.io) via `pnpm up -Lri`.
Latest version: 1.0.4

## Usage

Those templates dependencies are maintained via [pnpm](https://pnpm.io) via `pnpm up -Lri`.

This is the reason you see a `pnpm-lock.yaml`. That being said, any package manager will work. This file can be safely be removed once you clone a template.

```bash
$ npm install # or pnpm install or yarn install
```

### Learn more on the [Solid Website](https://solidjs.com) and come chat with us on our [Discord](https://discord.com/invite/solidjs)

## Available Scripts

In the project directory, you can run:

### `npm run dev` or `npm start`

Runs the app in the development mode.<br>
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

The page will reload if you make edits.<br>

### `npm run build`

Builds the app for production to the `dist` folder.<br>
It correctly bundles Solid in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.<br>
Your app is ready to be deployed!

## Deployment

You can deploy the `dist` folder to any static host provider (netlify, surge, now, etc.)
npm package: @hft-labs/mcp
Description: MCP server for managing Uniswap V3 concentrated liquidity positions
Latest version: 0.1.0

# @hft-labs/mcp

MCP server for managing Uniswap V3 concentrated liquidity positions with Claude.

## Quick Start

### For Claude Desktop

1. Open your Claude Desktop config:
   ```
   ~/Library/Application Support/Claude/claude_desktop_config.json
   ```

2. Add the server:
   ```json
   {
     "mcpServers": {
       "hft-liquidity": {
         "command": "npx",
         "args": ["-y", "@hft-labs/mcp"],
         "env": {
           "HFT_API_URL": "https://api.hftlabs.xyz"
         }
       }
     }
   }
   ```

3. Restart Claude Desktop

### For Claude Code

Add to `.mcp.json` in your project root:

```json
{
  "mcpServers": {
    "hft-liquidity": {
      "command": "npx",
      "args": ["-y", "@hft-labs/mcp"],
      "env": {
        "HFT_API_URL": "https://api.hftlabs.xyz"
      }
    }
  }
}
```

## Configuration

| Variable | Required | Description |
|----------|----------|-------------|
| `HFT_API_URL` | Yes | Base URL of the HFT API |
| `HFT_SESSION_KEY` | No | Session key for write operations |
| `HFT_CHAIN` | No | Default chain: `polygon` or `base` |

## What You Can Say

Once configured, talk to Claude naturally:

**Monitoring:**
- "Show my positions on Polygon for 0x1234..."
- "What's the health of position #456?"
- "Which of my positions need rebalancing?"

**Analysis:**
- "Get info on the USDC/WETH pool"
- "Show me historical volatility for pool 0xabc..."
- "Calculate an optimal balanced range for this pool"

**Execution (requires session key):**
- "Collect fees from position #789"
- "Add 1000 USDC to my WETH position"
- "Close position #123"

## Available Tools

### Read-Only
| Tool | Description |
|------|-------------|
| `get_positions` | List all positions for an owner |
| `get_position` | Get details of a specific position |
| `analyze_position_health` | Health metrics + rebalancing recommendations |
| `get_pool` | Pool info including suggested ranges |
| `get_pool_history` | Historical price, volume, TVL |
| `calculate_optimal_range` | Calculate range based on volatility |

### Write Operations
| Tool | Description |
|------|-------------|
| `mint_position` | Create new liquidity position |
| `increase_liquidity` | Add liquidity to existing position |
| `decrease_liquidity` | Remove liquidity from position |
| `collect_fees` | Collect accumulated fees |
| `close_position` | Full close: remove, collect, burn NFT |

## Local Development

If running from source:

```json
{
  "mcpServers": {
    "hft-liquidity": {
      "command": "node",
      "args": ["./packages/hft-mcp/dist/bin.js"],
      "env": {
        "HFT_API_URL": "https://api.hftlabs.xyz"
      }
    }
  }
}
```

Build:
```bash
pnpm --filter @hft-labs/mcp build
```

## Security

- The MCP server runs locally on your machine
- Session keys are stored in your local environment only
- Write operations require explicit session key configuration
- All transactions require your approval in the conversation

## License

MIT
npm package: @hft-labs/react
Description: React hooks for HFT Turbo - manage Uniswap V3 concentrated liquidity positions
Latest version: 0.1.0

# @hft-labs/react

React hooks for Uniswap V3 liquidity management via HFT-Turbo API.

## Installation

```bash
npm install @hft-labs/react @tanstack/react-query
# or
pnpm add @hft-labs/react @tanstack/react-query
```

## Quick Start

### 1. Set up providers

```tsx
import { QueryClient, QueryClientProvider } from '@tanstack/react-query'
import { HftProvider } from '@hft-labs/react'

const queryClient = new QueryClient()

function App() {
  return (
    <QueryClientProvider client={queryClient}>
      <HftProvider baseUrl="https://api.your-hft-instance.com">
        <YourApp />
      </HftProvider>
    </QueryClientProvider>
  )
}
```

### 2. Fetch pool data

```tsx
import { usePool } from '@hft-labs/react'

function PoolInfo() {
  const { data: pool, isLoading } = usePool({
    chainId: 'polygon',
    tokenA: '0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619', // WETH
    tokenB: '0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359', // USDC
    fee: 3000,
  })

  if (isLoading) return <div>Loading...</div>

  return (
    <div>
      <p>Price: {pool?.token0Price}</p>
      <p>Tick: {pool?.currentTick}</p>
    </div>
  )
}
```

## Hooks Reference

### Query Hooks (read-only, no auth required)

| Hook | Description |
|------|-------------|
| `usePool(params)` | Pool info, price, tick, suggestions |
| `usePoolHistory(params)` | Historical price data |
| `usePositions(params)` | All positions for an owner |
| `usePosition(params)` | Single position details |

### Mutation Hooks (require session key + signer)

| Hook | Description |
|------|-------------|
| `useMint()` | Create new position |
| `useIncreaseLiquidity()` | Add to existing position |
| `useDecreaseLiquidity()` | Remove from position |
| `useCollectFees()` | Collect earned fees |
| `useBurn()` | Burn empty position NFT |

### Utility Hooks

| Hook | Description |
|------|-------------|
| `useHftClient()` | Access underlying HftClient |
| `useHftConfig()` | Access/update configuration |

## Cache Invalidation

Query keys are exported for manual cache control:

```tsx
import { queryKeys } from '@hft-labs/react'
import { useQueryClient } from '@tanstack/react-query'

function RefreshButton() {
  const queryClient = useQueryClient()

  return (
    <button onClick={() => {
      queryClient.invalidateQueries({ queryKey: queryKeys.pools.all })
    }}>
      Refresh Pools
    </button>
  )
}
```

## TypeScript

All types are re-exported from `@hft-labs/client`:

```tsx
import type { PoolInfo, MintParams, ChainId } from '@hft-labs/react'
```

## Requirements

- React 18 or 19
- @tanstack/react-query v5

## License

MIT
npm package: @hftbr/hefesto
Description: Hefesto core components
Author: José Carlos Nascimento
Latest version: 0.4.10

# Getting Started with Create React App

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

## Available Scripts

In the project directory, you can run:

### `yarn start`

Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

The page will reload if you make edits.\
You will also see any lint errors in the console.

### `yarn test`

Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.

### `yarn build`

Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!

See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.

### `yarn eject`

**Note: this is a one-way operation. Once you `eject`, you can’t go back!**

If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

## Learn More

You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).

To learn React, check out the [React documentation](https://reactjs.org/).
# template-components
npm package: @hftbr/hefesto-assets
Description: Hefesto Assets Library
Author: José Carlos Nascimento
Latest version: 0.1.1

# Hefesto Assets

This package was created to store files that will be used as a complement to the Design System components.

To insert new icons, copy the files in SVG format to the folder "src/assets/icon" and run the command below:

```sh
˜# yarn build
```

Then update the version in package.json, update CHANGELOG.md and run the command below to publish the NPM dependency package:

```sh
˜# npm publish
```
npm package: @hftbr/hefesto-design-tokens
Description: Hefesto Design Tokens Library
Author: José Carlos Nascimento
Latest version: 0.2.5

# Hefesto Design Tokens

This package was created to control the Design System Tokens.

Edit or add new tokens and run the command below:

```sh
˜# yarn build
```

Then update the version in package.json, update CHANGELOG.md and run the command below to publish the NPM dependency package:

```sh
˜# npm publish
```