This is a submission for Weekend Challenge: Earth Day Edition
🌊 What I Built
Thương Hồ Protocol (THP) is a post-quantum, stateless blockchain infrastructure designed to eliminate "Digital Pollution"—the massive energy consumption caused by State Bloat.
Inspired by the "Unnumbered Ships" (Tàu Không Số) and the decentralized "Floating Markets" (Thương Hồ) of Vietnam, THP brings a new philosophy to Web 4.0: Trust should be built on contribution, not central authority, and truth should be "purged" to remain light.
The Problem: The Silent Polluter
Traditional blockchains suffer from "State Bloat," requiring nodes to store terabytes of history. This leads to energy-hungry data centers and centralization. For Earth Day, we address this by making the blockchain Stateless, allowing low-power devices (Skiff Nodes) to validate the network with constant-size proofs.
📺 Demo
We have developed a Green Tech Simulation that visualizes the CO2 reduction achieved by switching from Merkle Trees to our $O(1)$ Verkle Tree architecture.
phthuongcc
/
thuong-ho-protocol
A purified, $O(1)$ post-quantum state-purge infrastructure for development finance. Just a hobby, planted in April.
🌊 Thương Hồ Protocol (THP)
A Post-Quantum, Stateless $O(1)$ Infrastructure for Society 5.0 & Web 4.0
Hạ tầng Tín nhiệm Phi trạng thái và Kháng lượng tử phục vụ Tài chính vĩ mô
📌 Tổng quan (Overview)
Thương Hồ Protocol (THP) is a next-generation decentralized ledger architecture designed to solve the "State Bloat" dilemma and mitigate the existential threat of quantum computing. Inspired by the resilient maritime heritage of the Mekong Delta, THP focuses on Financial Inclusion, ODA/ESG Transparency, and Digital Sovereignty.
Thương Hồ Protocol (THP) là kiến trúc sổ cái phi tập trung thế hệ mới, được thiết kế để giải quyết bài toán "Phình to trạng thái" và ngăn chặn nguy cơ từ máy tính lượng tử. Lấy cảm hứng từ di sản đường thủy kiên cường của vùng ĐBSCL, THP tập trung vào Bao trùm tài chính, Minh bạch dòng vốn ODA/ESG và…
Key Result from our Simulation:
- Energy Savings: Over 90% reduction in bandwidth and validation energy at scale.
- Earth Impact: For a network of 1 million nodes, THP saves enough CO2 annually to be equivalent to planting thousands of trees.
"At a global scale of 1 billion transactions, the Thuong Ho Protocol's efficiency is equivalent to the carbon sequestration of millions of trees annually compared to traditional heavy-state architectures."
With the $O(1)$ Verkle Tree structure, we compress billions of transactions into a single 2KB proof. Efficiency is our tide.
💻 Code
Our project repository includes three core technical components developed for this challenge:
Energy Efficiency Simulator (Python): Quantifying the carbon footprint reduction.
Green ODA Schema (JSON): A post-quantum ready data specification for climate-adaptation tracking.
MekongClimateFund (Solidity): A secure, "Green ODA" disbursement contract utilizing ReentrancyGuard and stateless proof constraints.
📂 Explore the Earth Day Demo on GitHub
🛠 How I Built It
The architecture of THP rests on three "Maritime Pillars":
1.Statelessness via $O(1)$ Verkle Trees: We use polynomial vector commitments to compress verification proofs to a constant ~2KB. This ensures that even a decade from now, a smartphone can validate the entire state without downloading terabytes of data.
2.Post-Quantum Resilience: Security is anchored in the Learning With Errors (LWE) problem using NIST FIPS 204 (Dilithium) standards, protecting our digital heritage from future quantum threats.
3.The PPOP Governance Model: A "Hydrological Ecosystem" where the Public (Anchors), Private (Lighthouses), and OpenSource (Distillers) sectors interact like tides to maintain network integrity.
🌍 Earth Day Focus
We integrated specific constraints into our Smart Contract:
// Enforcing the 2KB stateless limit to ensure low-energy validation
require(bytes(_verkleProof).length <= 2048, "Exceeds THP stateless limit (2KB)");
This ensures the protocol remains "Green" by design, preventing the energy-intensive processing of oversized proofs.
🏆 Prize Categories
We are submitting this project for the following category:
Best Use of Google Gemini:
1. Direct API Integration (Core Implementation):
I integrated the Google Gemini API directly into our Python Energy Simulator. After the script calculates the exact CO2 footprint reduction of our $O(1)$ Verkle Tree architecture, it passes the live data to the Gemini API (gemini-1.5-flash). Gemini dynamically generates environmental insights and sustainability reports based on the real-time data, turning raw blockchain metrics into actionable climate context.
2. AI Collaborator & Co-Pilot:
Beyond the API integration, I leveraged Google Gemini as an authentic AI collaborator throughout the rapid development sprint. Gemini assisted in:
- Conceptualization: Refining the cryptographic metaphors and aligning the Vietnamese "Thương Hồ" philosophy with technical pillars.
- Logic Optimization: Structuring the Energy Efficiency Simulation logic to provide accurate, real-world CO2 mapping.
-
Security Auditing: Auditing the
MekongClimateFundSolidity contract for security patterns like CEI (Checks-Effects-Interactions) and Reentrancy protection.
⚓ Join the Flow
The river of truth is moving. We invite you to "merit-merge" with our vision.
Want to see the $O(1)$ stateless magic in action? Clone our repo and fire up the Python Simulator. Play around with the node count and see the exact amount of "Digital Pollution" you can help eliminate.
If you love tinkering with Green Tech, give us a ⭐ Star to support the journey. Let's make blockchain truly sustainable!
"Truth does not need to be protected; it only needs to be purged to shine." — Sakura
Top comments (3)
Really like the framing here, treating state bloat as a climate issue is an angle more infra projects should take.
One thing from experience... I used to run a climate startup in agtech and the CO2 math was always the part that got torn apart. Every buyer, every grant committee, every due diligence call wanted to see the baseline assumptions, the methodology, the sensitivity analysis. A 90% number reads great in a writeup but the moment you're in front of someone serious (MDBs, ODA folks, ESG auditors) they'll ask what you benchmarked against, what energy mix you assumed, whether it's marginal or total, and whether anyone external has validated the model. Worth getting ahead of that now while it's easy to document.
Also glad to hear you're looking at Backboard for the next project... the stateless philosophy you're building on at the ledger layer maps almost one-to-one with what we've built at the application tier.
Starred.
@jon_at_backboardio
Thank you for this grounded and crucial feedback! You are completely right—a hackathon metric is a mathematical baseline, not an ESG-auditable model. Our Python simulation uses a generalized global energy mix to demonstrate the structural advantage of $O(1)$ vs $O(\log N)$ proofs, but we know MDBs require granular, dynamic benchmarking.
Behind the scenes of this 48h demo, we are treating "data bloat" as a literal environmental issue. In our upcoming White Paper, we adapt the corporate ESG "5R Framework" directly to Web3 architecture:
This approach takes strong cues from the digital sustainability frameworks explored by the World Bank's Innovation Lab (we actually anchored our research on this specific documentation: WBGITSInnovationLabDigital.pdf
Factoring in marginal energy grids and securing external validation is the exact next milestone on our roadmap. Getting ahead of this documentation now is brilliant advice. I deeply appreciate you pointing this out! 🚀
Thương Hồ Protocol: A Trust Architecture for Web 4.0 & Society 5.0
We often look at AI and Web3 as magical forces that will either save or replace us. But just like the steam engine or the CPU, they are simply tools to scale human capability.
At Thương Hồ Protocol, we are not building tech to fuel the next wave of financial speculation. We are building an infrastructure for Society 5.0—a sustainable, human-centric era.
Our core pillars are:
🌍 Digital Inclusion: Why do we care so much about compressing blockchain state proofs to 2KB? Because a farmer in the remote Mekong Delta shouldn't need a $5,000 server to participate in the digital economy. They should be able to authenticate truth using a basic, low-power smartphone.
🛡️ Sustainable Digital Sovereignty: We envision an infrastructure where truth is protected by mathematics, immune to the "radars" of future quantum computers, and impossible to be monopolized by Big Tech.
🤝 AI as an Amplifier: We use AI (like Gemini) not to replace human nodes, but as the CPU of our environmental analytics, helping communities navigate the complexities of climate change.
We are not just compressing data; we are expanding access. That is the true spirit of the Thương Hồ.