radiant_open_channel
Create the initial state for a micropayment channel by locking photons, setting a timeout, and enabling trustless off-chain payments between two parties.
Instructions
Create initial state for a micropayment channel between two agents (MicropaymentChannel contract pattern).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_a | Yes | Payer's public key hex (compressed, 66 chars) | |
| agent_b | Yes | Payee's public key hex (compressed, 66 chars) | |
| capacity | Yes | Total locked amount in photons | |
| channel_id | Yes | Channel ID (typically the funding txid) | |
| timeout_blocks | No | Timeout in blocks before payer can reclaim (default: 1008 ≈ 3.5 days) |