Skip to main content
Batch creation deploys multiple covenant UTXOs in a coordinated sequence from a single vault. This is useful for:
  • Onboarding multiple team members with individual vesting schedules
  • Setting up DAO contributor payments in bulk
  • Distributing a grant to multiple recipients simultaneously

How to Batch Create

1

Navigate to Batch Create

Go to Vault → Batch Create Streams, or navigate to Streams → Batch Create.
2

Build recipient list

Add each row to the recipient table:
FieldDescription
Recipient AddressBCH P2PKH address
AmountTotal tokens for this recipient
Start DateVesting or payment start
End DateVesting end (ignored for recurring payments)
Cliff DateOptional, vesting only
Schedule TypeLinear, Step, or Recurring
3

Review summary

The batch summary shows total funds required from the vault. Confirm the vault has sufficient balance.
4

Deploy

Each recipient’s covenant is deployed as a separate on-chain transaction. Transactions are batched and submitted sequentially. The dashboard displays progress as each confirms.
The vault balance must cover the total of all streams in the batch. Ensure the vault is funded before initiating a batch deployment.

Current Limitations

Pre-Loops CHIP, each covenant UTXO is a separate transaction. A batch of 10 streams requires 10 transactions. The FlowGuard app sequences these automatically, but confirmation time scales linearly with batch size. Post-Loops CHIP, a single transaction will be able to deploy multiple covenant UTXOs simultaneously.

API

POST /api/streams/batch
Content-Type: application/json

{
  "vaultId": "hex_32_bytes",
  "streams": [
    {
      "recipientAddress": "bchtest:q...",
      "scheduleType": 1,
      "totalAmount": 500000000,
      "startTimestamp": 1700000000,
      "endTimestamp": 1731536000,
      "cliffTimestamp": 1706745600,
      "cancelable": true
    },
    { ... }
  ]
}