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

Batch Transfer Processing #3043

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

Batch Transfer Processing #3043

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

Comments

@alefmanvladimir
Copy link

Description
Enhance the TON Plugin to support batch transfer operations, allowing AI agents (and other elizaOS modules) to simultaneously send TON coins, tokens, and NFTs to multiple recipients in a single request. This feature should streamline large-scale distribution scenarios and reduce the overhead of handling multiple discrete transactions.

Key Requirements

  1. Unified Batch Interface

    • Provide a single action/method for creating a batch transfer that includes TON coins, fungible tokens, and NFTs.
    • Allow flexible input parameters, such as recipient addresses, amounts, token identifiers, and optional metadata.
  2. Multi-Asset Support

    • Ensure the plugin can handle TON coin transfers, token transfers (e.g., Jettons), and NFT transfers (TEP-62 or similar).
    • Validate each transfer type internally, preventing invalid or partially successful operations.
  3. Performance Optimization

    • Handle large recipient lists efficiently, minimizing blockchain fees and resource consumption.
    • Provide an option for batching signatures or confirmations to streamline transaction processing.
  4. Error Handling & Logging

    • Return detailed error codes and messages for any failed transfers within the batch.
    • Maintain a transaction log or report summarizing outcomes for each recipient.
  5. Security & Best Practices

    • Enforce robust checks for each transfer (e.g., sufficient balances, valid NFT ownership) to avoid accidental or malicious misuse.
    • Follow recommended TON documentation guidelines for multi-asset transfers.
  6. AI Agent Integration

    • Expose all batch transfer functionalities through well-documented actions or APIs.
    • Return structured responses suitable for automated verification by AI agents.

Resources

Definition of Done

  • A fully implemented batch transfer feature supporting TON coins, tokens, and NFTs.
  • Comprehensive test coverage demonstrating both successful multi-asset transfers and robust error handling.
  • Clear documentation on configuring and invoking batch transfers, including partial or atomic execution modes.

Bounty

  • Estimated Reward: $1000 in TON

For any questions or further discussion, please join the bounty program working group: [Telegram: @ton_ai_bounty](https://t.me/ton_ai_bounty).

@alefmanvladimir alefmanvladimir added the enhancement New feature or request label Jan 30, 2025
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

2 participants