Skip to main content

LangChain Chain - NEAR Staking optimization

Build a LangChain chain for Staking optimization on NEAR.

Deliverables:

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

Success Metric: 20+ dow

Install

pip install -r requirements.txt

Tools

  • NEARAccountTool — see near_tool.py
  • NEARViewFunctionTool — see near_tool.py
  • StakingPoolInfoTool — see near_tool.py
  • BestStakingPoolTool — see near_tool.py

Usage

from near_tool import NEARAccountTool, NEARViewFunctionTool, StakingPoolInfoTool, BestStakingPoolTool

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

Metadata

Release files for langchain-chain-near-staking-optimizatio 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for langchain-chain-near-staking-optimizatio 1.0.0
File Size Uploaded
langchain_chain_near_staking_optimizatio-1.0.0.tar.gz 3.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for langchain-chain-near-staking-optimizatio 1.0.0
File Interpreter ABI Platform
langchain_chain_near_staking_optimizatio-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.9 kB

Release files / langchain_chain_near_staking_optimizatio-1.0.0.tar.gz

Download URL langchain_chain_near_staking_optimizatio-1.0.0.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6efc20d257d5b8933d75700856a4eb359272b0d97f96d5e8323650efd156e8e6
BLAKE2b-256 checksum
How to use checksums
2e6ed9eefc951d1fdbdbebf2f25f239baed964e758a1f30e0abce81a3c0571fe
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_staking_optimizatio-1.0.0-py3-none-any.whl

Download URL langchain_chain_near_staking_optimizatio-1.0.0-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
57c7d6c314b8f5cdd0e819999ecae5095d9fb061320a6d90ee1a587b2dab036f
BLAKE2b-256 checksum
How to use checksums
03c9ae93f98b8e28839fd3b9c57fb7cc4381e737d4a35a8becdb0fd642599517
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page