synor/docker/zk-rollup/config.toml
Gulshan Yadav d73909d72c feat(phase13): complete Docker deployment and Phase 14 planning
Phase 13 Completion:
- Add ZK-Rollup Docker infrastructure (sequencer, provers, gateway)
- Create zk-sequencer binary with health checks and metrics
- Add docker-compose.zk.yml for full ZK stack deployment
- Include nginx gateway and Prometheus monitoring configs

Integration Tests:
- Add comprehensive Phase 13 integration test suite
- Cover DAGKnight, quantum crypto, ZK-rollup, gateway tests
- All 149 tests passing (39 DAG + 45 crypto + 25 ZK + 40 storage)

Phase 14 Planning:
- Document 4-milestone roadmap (20 weeks)
- M1: Cross-chain IBC interoperability
- M2: Privacy layer (RingCT, stealth addresses)
- M3: Sharding protocol (100K TPS target)
- M4: Developer tooling (formal verification, Hardhat)

Docker Services:
- synor-zk-sequencer: API port 3001, prover RPC 3002, metrics 9001
- synor-zk-prover-1/2: Dedicated proof generation workers
- synor-zk-gateway: nginx API gateway port 3080
- synor-zk-prometheus: Metrics collection port 9090
2026-01-19 16:09:44 +05:30

65 lines
1.4 KiB
TOML

# Synor ZK-Rollup Sequencer Configuration
[sequencer]
# Sequencer node ID
node_id = "zk-sequencer-1"
# API listen address
api_addr = "0.0.0.0:3001"
# Prover RPC address
prover_addr = "0.0.0.0:3002"
# Metrics address
metrics_addr = "0.0.0.0:9001"
[batch]
# Maximum transactions per batch
max_size = 1000
# Minimum transactions before proof generation
min_size = 10
# Batch timeout in seconds
timeout_secs = 60
# Enable parallel batch processing
parallel_processing = true
[proof]
# Proof backend: groth16, plonk, stark
backend = "groth16"
# Number of prover threads
prover_threads = 4
# Proof generation timeout in seconds
proof_timeout_secs = 300
# Directory for proof artifacts
proof_dir = "/proofs"
[state]
# State tree depth (32 = ~4 billion accounts)
tree_depth = 32
# State snapshot interval (blocks)
snapshot_interval = 1000
# State database path
db_path = "/data/zk/state"
[l1]
# L1 RPC endpoint
rpc_url = "http://synor-node-1:8545"
# Bridge contract address
bridge_address = ""
# Confirmation blocks before processing
confirmation_blocks = 12
# L1 transaction timeout in seconds
tx_timeout_secs = 120
[network]
# Maximum pending transactions
max_pending_txs = 10000
# Transaction queue timeout in seconds
tx_queue_timeout = 600
# Enable transaction deduplication
dedup_enabled = true
[logging]
# Log level: trace, debug, info, warn, error
level = "info"
# Log format: json, pretty
format = "pretty"
# Enable metrics export
metrics_enabled = true