This is the Stoolap Chain blockchain SQL database project, organized using the CipherOcto Blueprint for protocol governance.
New to the project? Start here:
- Read this file → Understand the project
- Read
BLUEPRINT.md→ Understand how we work - Read
ROLES.md→ Understand how you can contribute - Read
ROADMAP.md→ Understand where we're going
Stoolap Chain is a blockchain SQL database that combines:
- Traditional SQL database capabilities
- Merkle-patricia trie state verification
- Gas-metered transaction execution
- Deterministic consensus for state transitions
stoolap_chain/
├── BLUEPRINT.md ← How we govern work
├── START_HERE.md ← This file
├── ROLES.md ← How to contribute
├── ROADMAP.md ← Where we're going
├── docs/use-cases/ ← WHY we build things
├── rfcs/ ← WHAT we're building
├── missions/ ← HOW we build it
├── src/ ← Implementation
│ ├── consensus/ ← Blockchain consensus (blocks, operations)
│ ├── determ/ ← Deterministic types for blockchain
│ ├── trie/ ← Merkle tries (RowTrie, SchemaTrie, proofs)
│ ├── execution/ ← Transaction execution context
│ └── storage/ ← Traditional SQL storage engine
└── tests/ ← Integration tests
| Component | Description |
|---|---|
| DetermValue | Deterministic value types (no Arc, inline text optimization) |
| RowTrie | Hexary Merkle trie for row storage with proof generation |
| HexaryProof | Compact bitmap-based Merkle proofs for 16-way tries |
| ExecutionContext | Gas-metered execution with state snapshots |
| Block | Consensus block with operations and state commitments |
- Browse
docs/use-cases/for what we're solving - Check
rfcs/for active designs - Claim a mission from
missions/open/ - Implement according to RFC spec
- Submit PR for review
- Read
missions/open/for available work - Claim a mission
- Implement per RFC spec
- Write tests
- Submit PR
See ROADMAP.md for current status. Recent accomplishments include:
- ✅ RFC-0101: Hexary Merkle Proofs - Complete (SHA-256, bitmap encoding, batch verification)
- ✅ RFC-0102: Deterministic Value Types - Complete (DetermValue with inline/heap text)
- ✅ RFC-0103: Blockchain Consensus - Complete (blocks, operations, state roots)
Build the project:
cargo buildRun tests:
cargo testRun integration tests:
cargo test --test blockchain_integration_testThis project follows the CipherOcto Blueprint:
- Use Cases define WHY we build something
- RFCs define WHAT we're building
- Missions define HOW we build it
Never skip a layer. No RFC = No Mission.
BLUEPRINT.md- Deep dive on governanceROLES.md- How to contributeROADMAP.md- Current status and directiondocs/use-cases/- Project motivationrfcs/- Technical specifications