Skip to content

Feature: Implement batch stream creation #339

Description

@Jaydbrown

Overview

Payroll use cases require creating hundreds of streams at once. Doing this sequentially prompts the user for hundreds of signatures.

Implementation Details

  • Add a createBatchStreams(configs: StreamConfig[]) method.
  • Build a single transaction containing multiple invokeHostFunction operations.
  • Note: The transaction size limit in Soroban might restrict this to ~10-15 streams per tx. The method should chunk the array and return an array of prepared transactions if it exceeds the limit.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions