Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Staking TON & Real-Time Pool Data Retrieval #3031

Open
alefmanvladimir opened this issue Jan 30, 2025 · 3 comments
Open

Staking TON & Real-Time Pool Data Retrieval #3031

alefmanvladimir opened this issue Jan 30, 2025 · 3 comments
Labels
enhancement New feature or request ton-plugin-bounty

Comments

@alefmanvladimir
Copy link

Description
Extend the TON Plugin within the elizaOS framework to enable AI agents (and other modules) to stake TON in existing pools and fetch detailed, up-to-date information about those pools. This feature aims to streamline staking operations—such as depositing TON and monitoring rewards—and make key metrics accessible for data-driven decision-making.

Key Requirements

  1. Fetch Real-Time Staking Pool Data

    • Provide an action to retrieve essential metrics from existing staking pools (e.g., total staked amount, reward rates, lock-up periods, minimum deposit).
    • Ensure compatibility with multiple staking platforms, allowing AI agents to query whichever pools are configured.
  2. Staking Operations

    • Implement actions to stake TON in a specified pool, including deposit and withdrawal (unstaking) operations.
    • Manage reward accumulation and distribution, allowing users to claim or re-stake rewards as needed.
  3. Security & Access Control

    • Follow best practices from TON documentation and staking protocol guidelines.

Resources

Definition of Done

  • Functional actions to fetch real-time pool data (reward rates, total staked, etc.) and stake/unstake TON.
  • Comprehensive test coverage verifying normal usage, error conditions, and edge cases.
  • Clear documentation detailing how to configure and invoke these actions within elizaOS.

Bounty

  • Estimated Reward: $2000 in TON

For any questions or further discussion, please join the bounty program working group: Telegram: @ton_ai_bounty.

@alefmanvladimir alefmanvladimir added the enhancement New feature or request label Jan 30, 2025
@Petrivah
Copy link

Petrivah commented Feb 1, 2025

Hi, I would like to implement this task. I just have started working on it.

@mikirov
Copy link

mikirov commented Feb 2, 2025

Hi, i am working on this

@mikirov
Copy link

mikirov commented Feb 2, 2025

Initial PR opened here: #3177
If someone wants to collaborate further, feel free to DM me @mihail_kirov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ton-plugin-bounty
Projects
None yet
Development

No branches or pull requests

4 participants