Reference implementations demonstrating the Glogos protocol across multiple domains.
# From project root
cd examples
pnpm install
# Run all 22 demos
pnpm run all
# Run a specific demo
pnpm run supply-chain
pnpm run art-provenance
pnpm run game| Demo | Canon | Description |
|---|---|---|
| impact-evaluation | opt:coord:rct:1.0 |
Randomized Controlled Trials (Banerjee/Duflo/Kremer) |
| matching-market | opt:coord:matching:1.0 |
Stable allocations (Roth/Shapley) |
| liquidity-pool | opt:coord:liquidity:1.0 |
Proof-of-reserves (Diamond/Dybvig) |
| Demo | Canon | Description |
|---|---|---|
| constitution | opt:biz:governance:1.0 |
Digital governance & voting |
| supply-chain | opt:biz:supply-chain:1.0 |
End-to-end provenance tracking |
| transaction | opt:biz:transaction:1.0 |
B2B with proof-of-delivery |
| Demo | Canon | Description |
|---|---|---|
| data-integrity | opt:science:data:1.0 |
Tamper-proof datasets |
| peer-review | opt:science:reproducible:1.0 |
Decentralized peer review |
| Demo | Canon | Description |
|---|---|---|
| art-provenance | opt:media:art:1.0opt:media:poetry:1.0 |
NFT ownership & literary attribution |
| Demo | Prize | Laureates |
|---|---|---|
| carbon-credit | 2020 | Milgrom & Wilson (Auction Theory) |
| employment | 2010 | Diamond, Mortensen & Pissarides (Search Theory) |
| prediction-market | 2013 | Fama, Hansen & Shiller (Asset Pricing) |
| principal-agent | 2001 | Akerlof, Spence & Stiglitz (Information Asymmetry) |
| mechanism-design | 2007 | Hurwicz, Maskin & Myerson |
| public-goods | 1996 | Mirrlees & Vickrey (Optimal Taxation) |
| commitment-device | 2017 | Thaler (Behavioral Economics) |
| Demo | Feature | Description |
|---|---|---|
| standards-bridge | Interop | Wrapping W3C VCs and DIDs |
| federation | Cross-zone | Multi-zone attestation chains |
| key-rotation | Identity | Cryptographic key rotation |
| gns-resolver | Naming | DNS-like resolution system |
| sybil-resistance | Security | Anti-Sybil mechanisms |
| right-to-be-forgotten | Privacy | GDPR compliance |
| Demo | Concept | Description |
|---|---|---|
| game-theory | Nash Equilibrium | Prisoner's Dilemma resolution |
Run all 22 demos:
pnpm run all
# Runs sequentially with summary at the endRun a specific demo:
pnpm run <demo-name>
# Examples:
pnpm run supply-chain
pnpm run art-provenance
pnpm run game
pnpm run transactionAvailable demos: See package.json scripts or run pnpm run to list all.
Each demo produces:
- ✅ Attestation chains with cryptographic proofs
- 📊 Summary statistics and metrics
- 🔍 Verification results
- 💡 Key protocol benefits demonstrated
| Domain | Coverage | Canons |
|---|---|---|
| Economics | 100% (3/3) | RCT, Matching, Liquidity |
| Business | 100% (3/3) | Governance, Supply Chain, Transaction |
| Science | 100% (2/2) | Data Integrity, Peer Review |
| Media | 100% (2/2) | Art, Poetry |
| Social | 33% (1/3) | Commitment |
| Overall | 77% (10/13) | GENESIS.md domains |
Reported performance from reference Rust implementation.
Test configuration:
| Metric | Single-thread | Parallel (12 threads) |
|---|---|---|
| SHA-256 | 2.2M ops/sec | 14.1M ops/sec |
| Attestation create | 25K ops/sec | 157K ops/sec |
| Attestation verify | 23K ops/sec | 150K+ ops/sec |
Scalability at 1 Billion operations:
- Throughput: 12.4M ops/sec
- Time: 80.6 seconds
- Efficiency: 89.9%
Bottleneck: Ed25519 signing (25K/s) is the primary throughput limit.
Note: These benchmarks are from a reference Rust implementation (not included in this repository). For TypeScript SDK performance, run the use cases with
pnpm run all.
See main README for full specification.