Set Chain (SSC) is an OP Stack L2 focused on commerce workloads. The standard OP Stack components provide execution, derivation, batch submission, and state root publication. On top of that, Set Chain adds on-chain commitment storage (SetRegistry), gas sponsorship (SetPaymaster), and a Rust anchor service that bridges an off-chain sequencer API to on-chain commitments.
- OP Stack: op-geth, op-node, op-batcher, op-proposer, op-challenger
- SetRegistry (Solidity): commitment storage and verification
- SetPaymaster (Solidity): gas sponsorship for user/merchant flows
- Anchor service (Rust): polls sequencer API and submits commitments
- stateset-sequencer (off-chain): builds commitment batches for anchoring
- stateset-sequencer batches off-chain commerce events into commitments.
- Anchor service polls
/v1/commitments/pendingand submitscommitBatchto SetRegistry using the authorized sequencer key. - SetRegistry stores roots and sequence metadata for inclusion proofs.
- OP Stack batches L2 transactions to L1 and posts L2 outputs to L1 contracts.
- Sequencer key: hot key used for
commitBatchtransactions. - Admin/upgrade keys: should be multisig for production.
- L1 settlement: relies on Ethereum L1 finality and OP Stack correctness.
config/chain-config.toml: chain parametersop-stack/: OP Stack intent and rollup configurationscripts/: deployment and devnet helperscontracts/src/: SetRegistry and SetPaymaster contractsanchor/src/: anchor service
Off-chain sequencer
|
| pending commitments (HTTP API)
v
Anchor service ---> SetRegistry (L2) ---> OP Stack L2 blocks
| |
| v
+-----------------------------> L1 settlement contracts