Metadata-Version: 2.4
Name: langchain-chain-near-defi-arbitrage
Version: 1.0.0
Summary: LangChain Chain - NEAR DeFi arbitrage
License: MIT
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: langchain>=0.2
Requires-Dist: langchain-openai>=0.1
Requires-Dist: requests>=2.31
Requires-Dist: pydantic>=2.0

# LangChain Chain - NEAR DeFi arbitrage

Build a LangChain chain for DeFi arbitrage on NEAR.

**Deliverables:**
1. LangChain chain with multiple tools
2. Orchestration logic
3. Examples
4. Published to PyPI

**Success Metric:** 20+ downloads

## Install

```bash
pip install -r requirements.txt
```

## Tools

- `NEARAccountTool` — see near_tool.py
- `NEARViewFunctionTool` — see near_tool.py
- `ArbitrageOpportunityTool` — see near_tool.py
- `RefFinanceSwapTxTool` — see near_tool.py

## Usage

```python
from near_tool import NEARAccountTool, NEARViewFunctionTool, ArbitrageOpportunityTool, RefFinanceSwapTxTool

tool = NEARAccountTool()
result = tool._run(account_id='example.near')
print(result)
```
