← Back to All Work

Sawtak

OPEN SOURCE · 2024
Independent AppChain & Research · Distributed Systems & Blockchain

Decentralized complaints and transparent governance AppChain built on Cosmos SDK with Tendermint BFT.

Executive Summary

ROLE & OWNERSHIP

Core Blockchain & Systems Engineer — implemented custom Go state modules, proto definitions, CLI transaction bindings, and validation rules for decentralized complaint records.

CORE STACK

Go, Cosmos SDK, Tendermint BFT, Ignite CLI, gRPC, Protocol Buffers, Docker

PRIMARY OUTCOME

Benchmarked sub-second block finality under simulated 500 TPS load in local multi-validator testnets.

1. The Problem Space & Hard Constraints

Centralized grievance and civic feedback systems suffer from single points of failure, administrative tampering risks, lack of auditability, and zero tamper-evident proof of resolution for citizens.

OPERATIONAL CONSTRAINTS

Deterministic execution across all validator nodes, gas calculation to prevent spam DoS, and maintaining clear isolation between state mutation logic and read-only query paths.

2. Engineered Architecture & Data Pipeline

Engineered a sovereign Application-Specific Blockchain (AppChain) utilizing the Cosmos SDK framework. Implements deterministic state machine transitions, custom governance modules, cryptographic role-based access, and transparent complaint lifecycle verification.

End-to-End System Pipeline
Citizen Client
CLI & Web Frontend with Keplr Wallet Signing
gRPC / REST Gateway
Transaction Ingestion & Proto Payload Validation
Tendermint BFT
Deterministic Consensus & Peer-to-Peer Gossiping
Cosmos SDK State
Custom Complaint & Governance State Modules in Go
State Storage
IAVL Merkle Tree Key-Value Ledger

3. Key Decisions & Hard Bottlenecks Overcome

Architectural Decision

Built as a dedicated sovereign AppChain rather than deploying smart contracts on Ethereum or EVM chains. This eliminated volatile transaction fee spikes for public citizens and allowed fine-tuned state machine governance.

Bottleneck Solved

Resolved non-deterministic state machine issue during parallel transaction execution by enforcing strict key-prefix partitioning in the IAVL storage layer.

4. Verified Measurable Outcomes

  • Benchmarked sub-second block finality under simulated 500 TPS load in local multi-validator testnets.
  • Engineered tamper-proof cryptographic resolution proofs verified against Tendermint consensus state.
  • Architected modular Go cosmos-sdk handlers with clean gRPC and REST gateway abstractions.
NEXT CASE STUDY

Nashaat

Read Next Case Study →