LangChain Chain - NEAR DeFi arbitrage
Build a LangChain chain for DeFi arbitrage on NEAR.
Deliverables:
- LangChain chain with multiple tools
- Orchestration logic
- Examples
- Published to PyPI
Success Metric: 20+ downloads
Install
pip install -r requirements.txt
Tools
NEARAccountTool— see near_tool.pyNEARViewFunctionTool— see near_tool.pyArbitrageOpportunityTool— see near_tool.pyRefFinanceSwapTxTool— see near_tool.py
Usage
from near_tool import NEARAccountTool, NEARViewFunctionTool, ArbitrageOpportunityTool, RefFinanceSwapTxTool
tool = NEARAccountTool()
result = tool._run(account_id='example.near')
print(result)
Metadata
Release files for langchain-chain-near-defi-arbitrage 1.0.0
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_chain_near_defi_arbitrage-1.0.0.tar.gz | 4.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| langchain_chain_near_defi_arbitrage-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.5 kB
Release files / langchain_chain_near_defi_arbitrage-1.0.0.tar.gz
| Download URL | langchain_chain_near_defi_arbitrage-1.0.0.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3117d1e4cb47e23662b7f2117d4bdc88691c519af6415e25ad25341843f6edb7
|
|
BLAKE2b-256 checksum How to use checksums |
449bddae825ce7173a166b4f202665f2a00c3fc109036f26d3383c45e2cc433a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|
Release files / langchain_chain_near_defi_arbitrage-1.0.0-py3-none-any.whl
| Download URL | langchain_chain_near_defi_arbitrage-1.0.0-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0cb627f01dc3fe0f0f5a27ac5e05a8a0a306b485ff20b9a2e90a9356b57c8e61
|
|
BLAKE2b-256 checksum How to use checksums |
a23fa3df000cc15dac79fec6e167d81d65ea36a832f29e6d2caf449a33ba6e62
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|