Architecture
Quorum has three layers: the on-chain program, the signing SDK/keyring, and the wallet interface.
Program layer
The program stores multisig membership, thresholds, proposal counters, and vote state. Authorization is verified from signed canonical preimages.
Root account for thresholds, members, stale proposal index, and transaction counter.
Records vault actions or settings actions and tracks approval state.
SDK layer
The SDK derives PDAs, builds instructions, and prepares signing payloads for the wallet.
import { deriveVaultPda } from '@pq-msig/sdk'
const [vault] = deriveVaultPda(multisig, 0)Wallet layer
The wallet coordinates fee payer transactions, member signatures, identity registration, and signing prompts. It should be replaceable without changing the program or SDK contract.