Skip to content

Question: Support for bulk / batch transfers without using DAR files (Using Loop SDK)? #52

@Lakszy

Description

@Lakszy

Loop SDK – Bulk / Batch Transfers

Docs:
https://docs.fivenorth.io/loop-sdk/overview/

I’m trying to bulk / batch transfers are possible using Loop SDK

My Setup

  • I am NOT using any custom or third party DAR files

  • I am interacting only through the Loop SDK APIs

  • I have a DSO

  • I understand that:

    • loop.wallet.transfer() supports only single transfers

My Question
Is it possible (or planned) to execute multiple transfers in one single transaction by submitting multiple commands in one DAML transaction?

Example (Concept)

provider.submitTransaction({
  commands: [
    { ExerciseCommand: { /* transfer 1 */ } },
    { ExerciseCommand: { /* transfer 2 */ } },
    { ExerciseCommand: { /* transfer 3 */ } },
  ]
});

Note: Using above approach, multiple transactions are sometimes supported in pop-ups, but sometimes they are not.

  1. Multiple Commands

    • Is submitting multiple ExerciseCommands in one submitTransaction call supported by the Loop wallet flow?
  2. Wallet Signing

    • Will the wallet prompt and sign only once for the full transaction?
  3. SDK-Only Usage

    • Are there any limitations when doing this without using any DAR files directly?

Thanks in advance! 🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions