LangChain Tool - Tonic Integration
Build LangChain tools for interacting with Tonic.
THE VIRAL LOOP: Agent needs Tonic functionality → Uses LangChain tool → Agent uses NEAR DeFi
Deliverables:
- LangChain tools for Tonic's ma
Install
pip install -r requirements.txt
Tools
NEARAccountTool— see near_tool.pyNEARViewFunctionTool— see near_tool.pyTonicMarketInfoTool— see near_tool.pyTonicUserOrdersTool— see near_tool.py
Usage
from near_tool import NEARAccountTool, NEARViewFunctionTool, TonicMarketInfoTool, TonicUserOrdersTool
tool = NEARAccountTool()
result = tool._run(account_id='example.near')
print(result)
Metadata
Release files for langchain-marketplace-earner-suite 1.0.74298
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| langchain_marketplace_earner_suite-1.0.74298.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| langchain_marketplace_earner_suite-1.0.74298-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.2 kB
Release files / langchain_marketplace_earner_suite-1.0.74298.tar.gz
| Download URL | langchain_marketplace_earner_suite-1.0.74298.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
07f26d37a27066cd521180fc6026643a874d969c1617ab57e03101e37921e313
|
|
BLAKE2b-256 checksum How to use checksums |
68f67fdf1676fbe4f82c8b7538b0159970e33ffba6b107a077bf6a3c0e8fe859
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / langchain_marketplace_earner_suite-1.0.74298-py3-none-any.whl
| Download URL | langchain_marketplace_earner_suite-1.0.74298-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c9f8a756c9ba0c44e5ba31aaae6a7df3b0cd042768803dcf9bf5600e0fc707d7
|
|
BLAKE2b-256 checksum How to use checksums |
63c814fa51ea9df68749141c61a864289a156f99a2ccf5c7822b66704cc9897a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|