BIP Proposal: Stateless PSBT Coordination (Blind Relay)

Archived from the original topic ↗

Hi everyone,

I’m seeking conceptual and technical feedback on a draft BIP for Stateless PSBT Coordination, designed to solve the communication gap in multisig setups without relying on trusted, stateful servers.

Currently, coordinating a multisig transaction across hardware and software wallets requires either manual file passing (USB/SD) or relying on a centralized coordinator server that logs IP addresses, xpubs, and transaction metadata.

The Proposed Standard: I’ve drafted a BIP (bip-stateless-psbt-coordination) that proposes a “Blind Relay” model. It leverages an ephemeral, end-to-end encrypted WebSocket architecture.

Zero-Knowledge: The relay server never sees the PSBT, the xpubs, or the signatures.

Stateless: The room and all associated data cease to exist the moment the room is closed or after 24hours.

Split-Key OpSec: The room URL and decryption key (#key fragment) are transported out-of-band by the users.

Implementation (Signing Room): To prove the viability of this BIP, I’ve built an open-source reference implementation called Signing Room. I just released v1.8.0, which enforces human-layer OpSec by actively separating the transport of the room link and the decryption key in the UI.

Feedback Request: I would love the community’s eyes on:

The BIP draft itself: GitHub - scarlin90/bip-stateless-psbt-coordination: Draft Bitcoin Improvement Proposal (BIP) for a stateless, end-to-end encrypted WebSocket relay. Designed for secure N-of-M PSBT coordination, it eliminates the need for privacy-leaking, stateful servers by passing payloads entirely in RAM. · GitHub

Thoughts on the UX/OpSec tradeoff of the Split-Key UI approach in v1.8.0.

Looking forward to your thoughts and any features you think might be useful in this reference implementation.

All the best,

Sean Carlin

3 Aprcreated
1dlast reply
4replies
1users

I have just realised v2.0.0 of signing room which has alot of great improvements and also has a drop in web component so anyone can integrate with one Html Tag.

Full release notes here:

Let me know what you think.

All the best,

Sean Carlin

Hi,

I just released @signing-room/sdk v1.0.0 alongside a developer walkthrough demonstrating the implementation.

Repository: signingroom/libs/sdk at main · scarlin90/signingroom · GitHub

NPM: https://www.npmjs.com/package/@signing-room/sdk?activeTab=readme

Video Walkthrough: https://youtu.be/yzcFlK6c6t0

This release decouples the core cryptographic and coordination logic from our main Angular client. It is a framework-agnostic TypeScript SDK designed to programmatically orchestrate ephemeral, end-to-end encrypted PSBT coordination ceremonies.

Because the SDK is unified with our standard web UI, all programmatic room creations, joins, and signature uploads sync dynamically in real-time. This opens up the possibility for headless multisig automation, such as AI agent signing ceremonies combined with a human-in-the-loop coordinator who retains finalization privileges.

Key areas covered in the walkthrough:

  • The architectural components and how the fit together for signing room

  • Initializing rooms, programmatically simulated participant joins, locking rooms, and merging PSBTs on-the-fly.

  • Generating a client-side SHA-256 cryptographic integrity seal anchoring the room’s event-log to the finalized transaction hex.

I am interested in any feedback on the API ergonomics, the event-driven coordination design, or useful features.

All the best,

Sean Carlin

↳ in reply to #3

Hi All,

A quick progress update on Signing Room and the stateless PSBT coordination BIP draft.

Last week I tagged v3.4.0 of the coordinator and v1.2.0 of the SDK. The primary focus of this release is introducing Role-Based Access Control (RBAC) without introducing accounts, database state, or leaking participant identities to the relay.

Previously, the protocol operated on a binary access model (Coordinator vs. Guest), where any connected peer could download, sign, and broadcast updates to the PSBT. In institutional, legal, or high-security multisig workflows, separation of duties is critical. Transactions often require off-chain witnesses, compliance officers, or observers who need real-time verification of outputs and signatures without having the capability to submit signatures or manipulate the state machine.

To maintain zero-knowledge relay architecture:

  • The room initiator generates role-scoped capability tokens derived from the root session entropy inside the browser. Key material resides strictly in the URL fragment (#) and is never transmitted over HTTP.

  • Capability tokens encapsulate signed policy scopes (e.g., can_propose, can_sign, witness_only). The relay enforces these permissions ephemerally in RAM: if an unauthenticated socket or an observer without signing privileges attempts to dispatch a signature payload, the relay rejects the frame.

  • Joining clients decode their role privileges locally from their fragment token, enabling the interface to adapt deterministically (restricting signing prompts for auditors while providing verification tooling).

Updates & BIP Specification

I am currently working on Tapscript / BIP 371 support to expand beyond native SegWit multisig and accommodate Miniscript spending trees.

Feedback and critiques on the token derivation and message format are welcome.

Best regards,

Sean Carlin

↳ in reply to #4

Hi All,

A quick progress update on Signing Room and the stateless PSBT coordination BIP draft.

Yesterday we released v4.2.0 of the coordinator (alongside v2.2.0 of signing-room/sdk), introducing end-to-end support for 2-round MuSig2 Taproot keypath ceremonies (BIP-327 / BIP-373) over the ephemeral, operator-blind relay.

Key protocol & specification updates:

Updated the BIP draft to specify the 2-part ceremony state machine, separating Round 1 setup and public nonce collection from Round 2 partial signature aggregation while preserving complete relay blindness.

Optimized the audit log wire protocol, instead of repeatedly broadcasting full log arrays, the relay now dispatches incremental updates alongside a running SHA-256 hash chain (`chainHash`), substantially reducing network overhead while providing client-verifiable tamper evidence.

You can inspect the updated BIP draft here:

Full release notes and implementation details:

Feedback and critiques are always welcome.

Best regards,

Sean Carlin