The Question
What if you could ask every human on Earth a question — and prove the results?
Not a poll by a media company with 1,000 respondents chosen before. Not a Twitter survey gamed by bots. A real, cryptographically verified vote where 1 passport = 1 voice, broken down by country, verifiable by anyone, and impossible to fake. That question led me to build EgalChain.
The Problem I Wanted to Solve
Three things about the world frustrated me:
- No one asks the people. International decisions are made by institutions that never consult citizens directly. The UN doesn't hold global referendums. The IMF doesn't ask if people agree with its policies. There's no mechanism for humanity to express a collective, verified opinion.
- Credit is broken. Billions of people are excluded from borrowing — not because they're irresponsible, but because they don't have the right papers, the right address, or the right nationality. What if your credit score was based purely on your repayment history, in this case it is the self-repaying loan by mining, nothing else?
- Stablecoins require trust. USDC depends on Circle's audits. USDT depends on... faith. What if a stablecoin was backed 333% by on-chain reserves, provable at every block through Merkle Sum Trees? What I Built EgalChain is a Monero fork with three layers on top: A cooperative credit system where you mine, earn a score from 0 to 20 based on repayment history, and borrow a stablecoin (ES) backed 333% by EGL reserves. Interest drops from 5% to 0% as your score increases. No bank, no KYC discrimination, no credit bureau. A passport-based identity system where scanning your passport's MRZ generates a unique cryptographic nullifier. 1 passport = 1 identity. Your country code (249 ICAO territories) is recorded. No personal data is stored on-chain — only a hash. A permanent World Poll where verified humans vote on global questions. Votes are live (changeable), decomposed by country, and proven by a 5th Merkle Sum Tree. The genesis question is hardcoded into the first block:
> "Should the peoples of the world be consulted more often to guide international and national relations between us, human beings?"
I'm going to be transparent, Claude-Code has helped me well on this project, I was first a Learning dev engineer and prompt specialist So the synergies that I had with Claude-Code (even if it takes me month to developp it, without counting the economic, structure thinktank that I made alone, where most of my time, more than 2 years, has passed) was strong and unbeatable, so I am really proud to share my beautiful project to the world.
The result: 78,000 lines of custom code, 262 unit tests, 7 frontend applications, a 21-section whitepaper, and 15 documented future evolutions. All from one person and one AI, in a few month.
Is this the future of software development? I think so. The code quality — safe_math on every financial calculation, undo logs on every database write, static_assert on every struct — is more disciplined than most team-built projects I've seen.
The Numbers
78,204 lines of custom code
262 C++ unit tests (all passing)
44 RPC endpoints
14 LMDB databases with full undo/reorg support
5 Merkle Sum Trees (200-byte composite proof)
10 governance operation types
22 governable parameters with dual-approval
Client-side Ed25519 Schnorr signing (keys never leave the browser)
249 countries supported for World Poll voting
Try It Now
The testnet is live at egalchain.xyz.
You can create a wallet, mine with your CPU, verify your identity (test mode — no real passport needed), and vote on the genesis poll. It takes about 5 minutes.
There's no token sale. No VC funding. No airdrop promises. Just code that works.
What's Next
The protocol is complete as R&D. The path forward is:
Community testnet (live now)
External security audit
Mainnet deployment
Mobile app for NFC passport scanning (Evolution 15)
ES staking for non-miners to participate in World Poll (Evolution 12)
If you're a developer, security researcher, or just someone who believes the world needs better tools for collective decision-making — come test it. Break it. Tell me what's wrong.
The genesis poll is waiting.
egalchain.xyz
Top comments (0)