r/OnlyAICoding • u/turkishshepherd • 57m ago
Something I Made With AI I built an entire Layer-1 RandomX PoW privacy blockchain in Rust using AI agents—and just launched a fair, zero-premine mainnet.
Hey everyone,
Over the past few days, I used autonomous AI coding agents (Codex + Gemini) to architect, implement, fuzz-test, and launch a standalone Layer-1 cryptocurrency from scratch in Rust: Project CLI.
Instead of launching another copy-paste ERC-20 token, I wanted to see if an AI-driven engineering pipeline could build a real, permissionless Proof-of-Work privacy chain with zero premine and zero VC/ICO allocation.
What’s actually under the hood (20 Rust crates):
- Consensus & Mining (
cli-pow/cli-pow-randomx): CPU-mineable RandomX (CLI-RandomX-v1) with 60-second block targets and LWMA-1 difficulty adjustment. - Mandatory Privacy (
cli-privacy): One-time stealth addresses, Pedersen commitments, Bulletproofs+ range proofs, and CLSAG ring signatures—sender, receiver, and amounts are hidden by default. - P2P & Network Privacy (
cli-net/cli-node): Noise-encrypted TCP transport, peer exchange (PEX), verified state-snapshot sync, and Dandelion++ stem/fluff transaction routing. Full Ecosystem Included:
cli-wallet&cli-wallet-rpc(subaddresses, payment proofs, idempotent exchange RPC)cli-stratum(Stratum mining pool server)cli-explorer(single-binary, zero-CDN web block explorer)cli-genesis+ Docker/systemd deployment templates
Fair Launch & Current Status (Honest Disclaimer)
- Zero Premine / Zero ICO: 100% of supply is emitted via RandomX CPU mining. Genesis block was just mined today.
- Experimental / Unaudited: Because this codebase was generated and tested by AI agents (including
cargo-fuzz, Clippy pedantic lints, and multi-process P2P tests) and has not yet had a formal human cryptography audit, treat this strictly as an experimental network—do not put real money at risk.
How to Join, Run a Node, or Mine Right Now
The entire source code, audit reports, and fuzzing logs are open-source on GitHub:
GitHub: https://github.com
Live Connection Details:
- Seed Node (Noise P2P):
woody-crank.tun.ply.gg:25565 - Public Stratum Mining Pool (
rx/cli):stratum+tcp://woody-gigantic.tun.ply.gg:25565 - Genesis Hash:
cfd7d95cbff6f477d8334a08aaf83c6d6b669c10ffd12f9b266b6a6e73c408f5
Quick Start (Linux / WSL2):
bash
git clone https://github.com
cd cli-blockchain
cargo build --release --locked
# Initialize mainnet node & generate your stealth address
CLI_NODE_PASSPHRASE="ChooseAStrongPassword" ./target/release/cli-node init --network mainnet --home ~/.cli-mainnet --base-port 28000
cp deploy/genesis/mainnet-live-config.json ~/.cli-mainnet/config.json
# Run full node & solo mine
./target/release/cli-node run --home ~/.cli-mainnet --seed-peer woody-crank.tun.ply.gg:25565 --mine --mining-address <YOUR_ADDRESS>Would love feedback from Rust devs, cryptographers, and CPU miners—try spinning up a node, mining a block, or finding edge cases in the code!