The world's first water price-based stablecoin - Early Development / Prototype
This is a prototype for discussion and feedback, not production-ready software.
- π¬ Stage: Early development and architectural exploration
- π― Purpose: Demonstrate concepts and gather community input
- βοΈ Code: Written with prototyping in mind, not optimized for scale
- π§ͺ Testing: Requires extensive testing before any production use
- π Feedback: All suggestions and contributions welcome!
O Blockchain is a revolutionary cryptocurrency system that provides stable, universal currency for all 8 billion people on Earth.
- π§ Water Price-Based Stability: 1 O = 1 liter of bottled water price (universal basic need)
- π 142 Global Currencies: One O currency per national currency (O_USD, O_EUR, O_JPY, etc.)
- βοΈ Economic Equality: Same purchasing power for everyone, everywhere
- π± Climate Restoration: Unlimited, debt-free funding for environmental projects
- π Immigration Reversal: Local economic stability ends mass migration
- π Decentralized Governance: No central authority, community consensus
# Clone repository
git clone https://github.com/cno127/o-blockchain.git
cd o-blockchain
# Build with CMake
mkdir build && cd build
cmake ..
make -j$(nproc)
# Run in regtest mode
./src/bitcoind -regtest -daemon
# Create wallet
./src/bitcoin-cli -regtest createwallet "test"
# Generate blocks
./src/bitcoin-cli -regtest generatetoaddress 101 $(./src/bitcoin-cli -regtest getnewaddress)
# Check O currencies
./src/bitcoin-cli -regtest listocurrenciesSee INSTALL.md for detailed build instructions for your platform.
π Visit the Wiki for comprehensive documentation.
| Feature | Description |
|---|---|
| π§ Stable Value | Pegged to water price, not fiat currency |
| π Universal Coverage | 142 currencies covering 195 countries |
| π₯ 8 Billion Users | Designed to scale to all of humanity |
| π Proof of Personhood | BrightID integration prevents Sybil attacks |
| π° UBI Vision | Designed with universal basic income in mind (long-term goal) |
| β»οΈ Climate Funding | Unlimited supply for environmental restoration |
| β‘ High Performance | Targeting 100K+ TPS with Layer 2 solutions |
| π Open Source | MIT licensed, community-driven development |
-
Water Price Measurement & Exchange Rate Setting: Users and online bots measure bottled water prices (0.9-1.1L containers) globally in their local fiat currencies. Data is captured online through URL or offline with pictures and GPS proof, then validated by human users. The Gaussian average of measurements establishes each O currency's value (e.g., if water costs $1.50/L in USD, then 1 O_USD = $1.50). Cross-currency rates are calculated from these values.
-
Stability Monitoring: Users and online bots measure actual market exchange rates between O currencies and fiat currencies. The system compares observed rates with theoretical rates (measured water prices) to determine if each currency is stable.
-
Stabilization Through Economic Incentives: When market exchange rates deviate from theoretical rates (measured water prices), new coins are created and given to stable currency users, diluting unstable currencies. This creates economic pressure to maintain the water price peg. Core principle: the offender's sanction can be the reward of the offended.
-
Proof of Personhood: BrightID ensures one person = one identity through decentralized social graph verification.
-
Universal Basic Income (Long-term Vision): Designed to eventually provide equal purchasing power globally, with amount determined by community governance.
- Base: Bitcoin Core 27.0
- Consensus: Hybrid PoW (33%) / PoB (67%)
- Block Time: Dynamic 1-10 minutes (based on business participation)
- UTXO Model: Multi-currency support
- Storage: 3x LevelDB databases (scales to billions of users)
- Performance: 80-95% cache hit rates, <1ms cached reads
- Identity: BrightID integration
- Scalability: Layer 1 optimizations + Layer 2 plans
Critical fixes completed - O Blockchain measurement system now ready for production testing:
User Participation Enabled:
- β User Submissions Working: Fixed wallet signing for all measurement transaction types
- β Automatic Invitations: Miners create invitations every 10 blocks for all 142 currencies
- β Complete Data Flow: User submission β Blockchain β Validation β Database β Averages β Stability detection β Rewards
Systems Now Operational:
- β Average Calculations: Water prices and exchange rates calculated from blockchain database
- β Stability Detection: Currency stability determined from blockchain measurements
- β Stabilization Mining: Detects unstable currencies, selects recipients by birth currency, distributes rewards
- β Full Currency Coverage: All 142 currencies monitored (not just 11)
- β Recipient Selection: Users selected by birth currency for stabilization rewards
Technical Implementation:
- ~250 lines added across 4 files
- 6 new blockchain transaction files
- Wallet API integration for signing
- Database query optimization
- Birth currency indexing for reward distribution
See November 2025 Update and Measurement System for complete details.
All O-specific data now stored in blockchain with perfect consensus:
6 Transaction Types:
- USER_VERIFY, WATER_PRICE, EXCHANGE_RATE, BUSINESS_REGISTER, MEASUREMENT_VALIDATION, MEASUREMENT_INVITE
Key Features:
- β Birth currency immutably stored in blockchain (critical for UBI economics)
- β Perfect consensus across all nodes via blockchain
- β Measurement invitations via blockchain (spam prevention)
- β Human validations stored in blockchain (distributed trust)
- β 3 LevelDB databases provide fast indexed queries
- β
All systems rebuildable from blockchain via
-reindex
See Transaction Types and Architecture Overview.
Persistent database infrastructure scales to billions of users:
- β 8+ billion users supported on disk storage
- β Dynamic block time: 1-10 minutes (10x potential throughput)
- β 80-95% cache hit rates, <1ms cached reads
- β Thread-safe operations with batch write support
All comprehensive documentation is available in our GitHub Wiki:
- Architecture Overview - How O Blockchain works
- Measurement System β UPDATED - Complete measurement and validation system
- Invitation System β NEW - Automatic invitations for 142 currencies
- November 2025 Update β NEW - Latest measurement system fixes
- Transaction Types - 6 blockchain transaction types
- Database Architecture - Persistent storage for billions
- Currency Coverage - 142 global currencies explained
- Stabilization System - How stability is maintained
- Universal Basic Income - Why O Coin is perfect for UBI
- Immigration Impact - How UBI reverses mass migration
- Climate Change Solution - Debt-free planetary restoration
- Currency Coverage - All 142 currencies
- Scalability Overview - 8 billion users plan
- Testing Guide - How to test O Blockchain
- RPC Commands - API reference
- Currency Exchange - Trading O currencies
- Receive universal basic income (420 O/month)
- Store value in stable, non-inflationary currency
- Send money globally with minimal fees
- Participate in economic system as equals
- Build apps on stable multi-currency platform
- Access 142 currencies programmatically
- Create UBI-enabled applications
- Contribute to open source project
- Deploy national O currency
- Implement UBI programs
- Fund environmental projects debt-free
- Provide financial stability to citizens
- Access unlimited funding for restoration
- Finance reforestation, ocean cleanup
- Deploy renewable energy at scale
- Restore soil and ecosystems
O Blockchain extends Bitcoin Core with:
β
Multi-Currency UTXO Model - 142 currencies in one ledger
β
Stabilization Mining - Dynamic rewards maintain stability
β
Measurement System - Decentralized water price oracles
β
Proof of Personhood - BrightID integration
β
User Registry - Global identity management
β
Currency Exchange - On-chain O currency trading
All while maintaining Bitcoin's proven security and decentralization.
We welcome contributions from everyone!
- Code: Submit pull requests for features or bug fixes
- Documentation: Improve wiki pages or create new guides
- Testing: Help test on regtest/testnet
- Translation: Translate documentation to other languages
- Community: Help others on Discord/Telegram
See CONTRIBUTING.md for detailed guidelines.
# Fork the repository
git clone https://github.com/YOUR_USERNAME/o-blockchain.git
cd o-blockchain
# Create feature branch
git checkout -b feature/your-feature-name
# Make changes and commit
git add .
git commit -m "Description of changes"
# Push and create pull request
git push origin feature/your-feature-nameJoin our growing community:
- π Wiki: Documentation
- π GitHub: Issues & Discussions
- πΌ LinkedIn: O International
- πΊ YouTube: O International Channel
| Metric | Value |
|---|---|
| Currencies | 142 O currencies |
| Countries | 195+ covered |
| Target Users | 8 billion (all humanity) |
| UBI Proposal | To be determined by community |
| Consensus | PoW (33%) + PoB (67%) |
| Block Time | 10 minutes |
| Based On | Bitcoin Core 27.0 |
Q: Why water price as the peg?
A: Water is a universal basic need with consistent relative value globally. Unlike USD or gold, everyone needs it equally. Each O currency maintains 1 O = 1 liter of water in its local market. Exchange rates between O currencies are calculated from water price ratios (e.g., if water = $1.50 in USA and β¬1.20 in Europe, then 1 O_USD = 1.25 O_EUR). Economic incentives force market actors to maintain these theoretical rates.
Q: Why 142 currencies instead of one?
A: Different countries have different price levels and fiat currencies. Each O currency maintains 1 O = 1 liter of water in its local market. O currencies have different values from each other - exchange rates are calculated from water price ratios and fiat exchange rates. Note: O_ONLY is a universal currency that exchanges 1:1 with all O currencies. It still maintains the water price peg through measurement and stabilization, allowing inflation correction regardless of fiat currency status.
Q: What about Universal Basic Income?
A: UBI is a long-term vision for O Blockchain. If implemented, everyone would receive a monthly amount in their birth currency, providing equal purchasing power globally. The specific amount would be determined by community governance, not predetermined by developers. Implementing UBI requires significant development, testing, and governance mechanisms that are not yet complete.
Q: Is this inflationary?
A: No. Value is tied to water (constant need), not scarcity. We can generate unlimited supply without devaluation.
Q: How do you prevent fake accounts?
A: BrightID proof-of-personhood ensures one person = one identity through decentralized social graph verification.
See full FAQ on Wiki for more questions.
O Blockchain is released under the terms of the MIT license. See COPYING for more information.
- Bitcoin Core: For the robust foundation
- BrightID: For decentralized identity solution
- Community: For contributions and support
"Money should serve humanity, not enslave it. O Blockchain creates a financial system based on basic human needs, providing stability, equality, and hope for all 8 billion people on Earth."
Current financial systems:
- β Unstable currencies (inflation, manipulation)
- β Wealth inequality (billionaires vs. poverty)
- β Debt-based money (interest enslaves)
- β Central control (banks, governments)
- β Climate crisis (no funding mechanism)
- β Mass immigration (economic desperation)
O Blockchain provides:
- β Stable value (water-based peg)
- β Universal basic income (equal for all)
- β Debt-free money (unlimited supply)
- β Decentralized (community governance)
- β Climate restoration (unlimited funding)
- β Local economies (immigration reversal)
Ready to join the revolution?
- Learn: Read the Wiki
- Build: Follow Installation Guide
- Test: Use Testing Guide
- Contribute: See Contributing Guidelines
For comprehensive documentation, visit our GitHub Wiki
Building a better financial system for all of humanity π