Skip to content

rhiza-protocol/rhiza

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Rhiza Protocol

Rhiza Protocol

No Blockchain. No Mining. No Staking. Just Currency.

Build License: MIT Rust PRs Welcome Website

Rhiza is a DAG-based, feeless, mesh-networked cryptocurrency that works without internet.

Website Β· Whitepaper Β· Quick Start Β· Contributing


The Problem

Crypto was supposed to be decentralized. It isn't.

  • Bitcoin: 3 mining pools control 65%+ of hashrate
  • Ethereum: PoS lets whales dominate governance
  • Every chain: Requires internet. Charges fees. Processes transactions one block at a time.

Rhiza fixes all of this.

How Rhiza Works

πŸ”— DAG, Not Blockchain

Rhiza uses a Directed Acyclic Graph instead of a blockchain. Every transaction references 2 previous transactions, creating a web of validations:

    TX-1    TX-2
     \\    //
      TX-3  TX-4
       \\  //\\
       TX-5  TX-6
        \\  //
         TX-7

Result: Parallel processing, instant finality, and a network that gets faster with more users.

⚑ Proof of Relay

No mining hardware. No staked capital. You earn RHZ by relaying transactions:

  1. Receive a transaction from a peer
  2. Validate it (signatures, parents, structure)
  3. Relay it to your peers
  4. Earn a reward

Everyone with a device can participate equally. Rewards have diminishing returns β€” no single node can dominate.

πŸ“‘ Mesh Networking β€” Works Without Internet

Transport Range Use Case
TCP/IP Global Standard internet
WiFi Direct ~100m Local peer-to-peer
Bluetooth LE ~30m Phone-to-phone
LoRa ~15km Rural/disaster areas

Transactions propagate through whatever network is available. Internet goes down? Rhiza keeps working.

Quick Start

# Clone & build
git clone https://github.com/rhiza-protocol/rhiza.git
cd rhiza && cargo build --release

# Create your wallet
cargo run --bin rhiza-cli -- wallet create
# 🌿 Wallet Created!
# πŸ“ Address: rhz1qw508d6qejxtdg4y5r3z...

# Start your node + wallet UI
cargo run --bin rhiza-node -- start
# 🌐 Wallet UI β†’ http://localhost:7471

That's it. No syncing gigabytes of chain data. No buying tokens to pay gas fees. No setting up mining hardware.

Architecture

rhiza/
β”œβ”€β”€ rhiza-core/          # Core protocol library
β”‚   β”œβ”€β”€ crypto/          # Ed25519 signatures, BLAKE3 hashing
β”‚   β”œβ”€β”€ dag/             # DAG structure, transactions, validation
β”‚   β”œβ”€β”€ consensus/       # Proof of Relay, cumulative weight finality
β”‚   β”œβ”€β”€ network/         # Gossip protocol, mesh networking
β”‚   └── wallet/          # Bech32m addresses, keystore
β”œβ”€β”€ rhiza-node/          # Full node daemon with REST API + Wallet UI
β”œβ”€β”€ rhiza-cli/           # Command-line wallet & tools
└── WHITEPAPER.md        # Full technical specification

Tech Stack

Component Technology Why
Language Rust Memory safety, zero-cost abstractions, no GC
Hashing BLAKE3 Fastest secure hash (3x faster than SHA-256)
Signatures Ed25519 Battle-tested, 64-byte compact signatures
Addresses Bech32m Human-readable, typo-detecting (rhz1...)
P2P libp2p Production-grade peer-to-peer networking
Serialization bincode Compact, deterministic binary encoding

Protocol Specification

Parameter Value
Ticker RHZ
Max Supply 21,000,000 RHZ
Smallest Unit 10⁻⁸ RHZ (1 satoshi equivalent)
Transaction Fees 0 β€” always free
Base Relay Reward 0.01 RHZ per relay
Halving Interval Every 1,000 relays
Finality Cumulative weight β‰₯ 10
Parent References 2 per transaction
Consensus Proof of Relay (PoR)
Default Port 7470
Address Prefix rhz1

Wallet UI

The node includes a built-in web wallet at http://localhost:7471:

  • πŸ’° Real-time balance display
  • πŸ“€ Send RHZ to any address
  • πŸ“₯ Receive with one-click address copy
  • πŸ“Š Live DAG statistics
  • πŸ“‹ Full transaction history
  • πŸ”„ Relay reward claiming

Why Not Just Use Bitcoin/Ethereum/Solana?

Bitcoin Ethereum Solana Rhiza
Consensus PoW (wasteful) PoS (plutocratic) PoH+PoS PoR (egalitarian)
Fees $1-50 $0.50-100 $0.001 $0 always
Finality ~60 min ~15 min ~0.4s Seconds
Min. Hardware ASIC ($5000+) 32 ETH ($100k+) High-spec server Any device
Works Offline ❌ ❌ ❌ βœ… Mesh
Private ❌ Pseudonymous ❌ Pseudonymous ❌ Pseudonymous βœ… ZK-ready

Security

  • BLAKE3 β€” Cryptographic hashing, 3x faster than SHA-256, equivalent security
  • Ed25519 β€” Elliptic curve signatures (same as Signal, Tor, SSH)
  • Cumulative weight β€” Finality without a single block producer
  • Diminishing returns β€” Sybil resistance built into the reward curve
  • Bech32m β€” Addresses with built-in error detection

Roadmap

  • Core protocol (DAG, PoR, signatures, mesh)
  • CLI wallet & node daemon
  • Web wallet UI
  • Whitepaper
  • Persistent storage (sled DB)
  • Multi-node mesh networking
  • Zero-knowledge transaction privacy
  • Mobile wallet (iOS/Android)
  • Browser extension wallet
  • LoRa transport layer
  • Smart contract layer (Rhiza VM)

Contributing

We welcome contributions! See our Contributing Guide for details.

# Run tests
cargo test --workspace

# Build in release mode
cargo build --release

All 47 unit tests pass across crypto, DAG, consensus, networking, and wallet modules.

Community

License

MIT License β€” Free as in freedom. See LICENSE for details.


Rhiza (ρί΢α) β€” Greek for "root"

The root system grows beneath the surface. By the time you see it, it's everywhere.

⭐ Star this repo if you believe crypto should be truly decentralized.

About

🌿 A DAG-based, feeless, mesh-networked cryptocurrency with Proof of Relay consensus. No mining. No staking. Works without internet.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors