Skip to main content

LangChain Tool - Aurora Integration

Build LangChain tools for interacting with Aurora.

THE VIRAL LOOP: Agent needs Aurora functionality → Uses LangChain tool → Agent uses NEAR DeFi

Deliverables:

  1. LangChain tools for Aurora's

Install

pip install -r requirements.txt

Tools

  • NEARAccountTool — see near_tool.py
  • NEARViewFunctionTool — see near_tool.py
  • AuroraTokenBalanceTool — see near_tool.py
  • AuroraBridgeStatusTool — see near_tool.py

Usage

from near_tool import NEARAccountTool, NEARViewFunctionTool, AuroraTokenBalanceTool, AuroraBridgeStatusTool

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

Download files

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

Source Distribution

langchain_aurora_integration-1.0.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

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

langchain_aurora_integration-1.0.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file langchain_aurora_integration-1.0.0.tar.gz.

File metadata

File hashes

Hashes for langchain_aurora_integration-1.0.0.tar.gz
Algorithm Hash digest
SHA256 c568a7057b627776846b27e3fbb4058085b5b05554e984993dd309a1701209e1
MD5 1968281607278b0b6d204ded1ee32af4
BLAKE2b-256 4bb919ebaf67e6ed1ba03ee23c40956c526f5504c0225f1f9b031a04a5f0e237

See more details on using hashes here.

File details

Details for the file langchain_aurora_integration-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for langchain_aurora_integration-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2667ef2861e8cf32340ea8cba0005d6b9cd578f9a72f50ced2833b92fd3f21f0
MD5 1f6e71977a73205366eee3ac56f3990c
BLAKE2b-256 e9c5919c0a13fc1a5dd3906a4dc2591c5197e6da2f4e54ed260c03154ac2eada

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 files

Supported by

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