Metadata-Version: 2.4
Name: langchain-orderly-integration
Version: 1.0.0
Summary: LangChain Tool - Orderly Integration
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
Requires-Dist: cryptography>=41.0

# LangChain Tool - Orderly Integration

Build LangChain tools for interacting with Orderly.

**THE VIRAL LOOP:**
Agent needs Orderly functionality → Uses LangChain tool → Agent uses NEAR DeFi

**Deliverables:**
1. LangChain tools for Orderl

## Install

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

## Tools

- `NEARAccountTool` — see near_tool.py
- `NEARViewFunctionTool` — see near_tool.py
- `OrderlyAuthTool` — see near_tool.py
- `OrderlyTradingTool` — see near_tool.py

## Usage

```python
from near_tool import NEARAccountTool, NEARViewFunctionTool, OrderlyAuthTool, OrderlyTradingTool

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