LangChain Tool - NEAR State Reader
Project description
LangChain Tool - NEAR State Reader
Build a LangChain tool for state reader on NEAR.
THE VIRAL LOOP: LangChain agent needs state reader → Uses NEAR tool → Agent operates on NEAR
Deliverables:
- LangChain BaseTool implementati
Install
pip install -r requirements.txt
Tools
NEARAccountTool— see near_tool.pyNEARViewFunctionTool— see near_tool.pyNEARStateReaderTool— see near_tool.pyNEARStorageValueTool— see near_tool.py
Usage
from near_tool import NEARAccountTool, NEARViewFunctionTool, NEARStateReaderTool, NEARStorageValueTool
tool = NEARAccountTool()
result = tool._run(account_id='example.near')
print(result)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file langchain_tool_near_state_reader-1.0.0.tar.gz.
File metadata
- Download URL: langchain_tool_near_state_reader-1.0.0.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24b343238ea57c1895816d9d468484d3b8ff784c928ef632fa1f4c4cf52f4499
|
|
| MD5 |
ff18859829d7f96e103fcf0cff7357ad
|
|
| BLAKE2b-256 |
c5b820bc379c3d0ac985a784700419e8cb19e58dc9f35118d3b08ae43f305987
|
File details
Details for the file langchain_tool_near_state_reader-1.0.0-py3-none-any.whl.
File metadata
- Download URL: langchain_tool_near_state_reader-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf152231b769bdf65afcb8aadbc09afdc83db020ced666e2278dd94bfa1cd8c8
|
|
| MD5 |
d92e748a33f44871c1b20b5cabdc637d
|
|
| BLAKE2b-256 |
9d0de23963d3ab25a80f3b56fe76b58c72fb0d2ad91d4ff7e36bc278b37be918
|