Skip to main content

LangChain Agent - NEAR Liquidator

Project description

LangChain Agent - NEAR Liquidator

Build a LangChain agent template for liquidator on NEAR.

THE VIRAL LOOP: User wants liquidator agent → Uses template → Agent operates on NEAR

Deliverables:

  1. Complete LangChain agent with t

Install

pip install -r requirements.txt

Tools

  • NEARAccountTool — see near_tool.py
  • NEARViewFunctionTool — see near_tool.py
  • ScanLiquidatablePositionsTool — see near_tool.py
  • EstimateLiquidationProfitTool — see near_tool.py

Usage

from near_tool import NEARAccountTool, NEARViewFunctionTool, ScanLiquidatablePositionsTool, EstimateLiquidationProfitTool

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

langchain_near_liquidator-1.0.98930.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

langchain_near_liquidator-1.0.98930-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file langchain_near_liquidator-1.0.98930.tar.gz.

File metadata

File hashes

Hashes for langchain_near_liquidator-1.0.98930.tar.gz
Algorithm Hash digest
SHA256 40bdb64fc1a8f61e3e7b1e2a1c7b6e6b3b67a918c93fec33c600dd4f1d34e22e
MD5 fefd5f44cd5c6abedbf8236f1a40cb9e
BLAKE2b-256 6589320f2e80d7f66776878901460b19c08fe3a8806d946c6b6fa8afa37a88c7

See more details on using hashes here.

File details

Details for the file langchain_near_liquidator-1.0.98930-py3-none-any.whl.

File metadata

File hashes

Hashes for langchain_near_liquidator-1.0.98930-py3-none-any.whl
Algorithm Hash digest
SHA256 27cdff0113987949c0cf272c31c670cdcb75ecf52b96e8fdcf9f7724490a7336
MD5 2278daca1fa99c799aaa06a5904298fa
BLAKE2b-256 bb865117227da5ab4f4eb2a72288888967c852cc7f9cd4a0e0db706c296b12b9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page