Skip to content

StuartJRitchie/hypercorn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Version License Quantum Resistant Network

🌽 HYPERCORN

The quantum-proof currency built for the post-quantum era.
Lattice-based cryptography Β· Zero-knowledge proofs Β· Decentralized consensus

Quickstart β€’ Why Hypercorn β€’ Architecture β€’ Tokenomics β€’ Roadmap β€’ Contributing


The Problem

Current blockchain networks rely on elliptic curve cryptography (ECC) and RSA β€” algorithms that a sufficiently powerful quantum computer could break using Shor's algorithm. When that day comes, every wallet, every signature, and every transaction on legacy chains becomes vulnerable.

Hypercorn doesn't wait for that day. It's ready now.


Why Hypercorn

πŸ” Quantum-Resistant by Default β€” Every transaction is signed using CRYSTALS-Dilithium (FIPS 204) and keys are encapsulated via CRYSTALS-Kyber (FIPS 203), both NIST post-quantum standards. No opt-in. No migration. Quantum security from block zero.

⚑ Husk Consensus β€” A novel proof-of-stake consensus mechanism that achieves finality in under 3 seconds with minimal energy consumption. Validators stake $CORN and participate in a layered attestation protocol inspired by shucking layers of a husk.

πŸ•΅οΈ zk-KERNEL Privacy β€” Optional zero-knowledge transaction layer powered by lattice-based zk-SNARKs. Prove validity without revealing sender, receiver, or amount.

🌐 Silkchain Interoperability β€” Native cross-chain bridge protocol for trustless asset transfers between Hypercorn and EVM-compatible chains.

πŸ“ Cob Smart Contracts β€” Turing-complete smart contract runtime with a Rust-based DSL designed for safety and formal verification.


Quickstart

Prerequisites

  • Rust >= 1.78
  • Cargo
  • OpenSSL 3.x
  • 8 GB RAM minimum (16 GB recommended for validators)

Install

# Clone the repository
git clone https://github.com/hypercorn-network/hypercorn.git
cd hypercorn

# Build from source
cargo build --release

# Run a local node
./target/release/hypercorn --config config/testnet.toml

Create a Wallet

# Generate a new quantum-safe keypair
hypercorn wallet create --algo dilithium3

# Output:
# 🌽 Wallet created!
# Address: hc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfj...
# Mnemonic: harvest quantum lattice shield ...
# ⚠️  Store your mnemonic securely. It cannot be recovered.

Send a Transaction

hypercorn tx send \
  --to hc1qabc...def \
  --amount 50.0 \
  --fee 0.001 \
  --sign

Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                    APPLICATION LAYER                  β”‚
β”‚         Cob Smart Contracts Β· DApps Β· Wallets        β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚                    PRIVACY LAYER                     β”‚
β”‚              zk-KERNEL (lattice zk-SNARKs)           β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚                   CONSENSUS LAYER                    β”‚
β”‚           Husk PoS Β· Validator Attestation           β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚                    NETWORK LAYER                     β”‚
β”‚          libp2p Β· Gossip Protocol Β· Kademlia         β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚                  CRYPTOGRAPHY LAYER                  β”‚
β”‚   CRYSTALS-Dilithium Β· CRYSTALS-Kyber Β· SPHINCS+    β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Cryptographic Primitives

Function Algorithm NIST Standard Security Level
Digital Signatures CRYSTALS-Dilithium FIPS 204 Level 3 (AES-192 equivalent)
Key Encapsulation CRYSTALS-Kyber FIPS 203 Level 3
Hash-Based Signatures SPHINCS+ FIPS 205 Level 5 (fallback)
Hashing SHAKE-256 FIPS 202 256-bit quantum
zk Proofs Lattice-based zk-SNARKs β€” Post-quantum

Tokenomics

Parameter Value
Ticker $CORN
Max Supply 21,000,000,000 CORN
Block Time ~2.8 seconds
Block Reward 64 CORN (halving every 4 years)
Minimum Stake 10,000 CORN
Transaction Fee Model EIP-1559 style burn + tip

Distribution

Validator Rewards     45%  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘
Ecosystem Fund        20%  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘
Team & Advisors       15%  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘
Public Sale           10%  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘
Liquidity Mining       5%  β–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘
Community Grants       5%  β–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘

Team tokens are subject to a 4-year vesting schedule with a 1-year cliff.


Network Specifications

  • Throughput: ~4,200 TPS (testnet benchmarks)
  • Finality: < 3 seconds
  • Signature Size: ~2,420 bytes (Dilithium3)
  • Public Key Size: ~1,952 bytes
  • Minimum Validator Hardware: 4 cores, 16 GB RAM, 500 GB SSD, 100 Mbps

Roadmap

Phase Name Target Status
0 Germination Q1 2026 βœ… Whitepaper & cryptographic audits
1 Seedling Q2 2026 πŸ”„ Public testnet launch
2 Stalk Q4 2026 πŸ”² Mainnet genesis + wallet releases
3 Tassel Q2 2027 πŸ”² zk-KERNEL privacy layer
4 Harvest Q4 2027 πŸ”² Silkchain bridge + Cob VM v2
5 Golden 2028+ πŸ”² DAO governance + full decentralization

Project Structure

hypercorn/
β”œβ”€β”€ core/               # Consensus engine & block processing
β”œβ”€β”€ crypto/             # Post-quantum cryptographic primitives
β”œβ”€β”€ network/            # P2P networking & gossip protocol
β”œβ”€β”€ cob-vm/             # Smart contract virtual machine
β”œβ”€β”€ zk-kernel/          # Zero-knowledge proof system
β”œβ”€β”€ wallet/             # CLI & SDK wallet implementation
β”œβ”€β”€ node/               # Full node binary
β”œβ”€β”€ config/             # Network configuration files
β”œβ”€β”€ docs/               # Technical documentation
└── tests/              # Integration & fuzzing tests

Contributing

We welcome contributions from cryptographers, systems engineers, and blockchain developers.

# Fork, clone, and create a branch
git checkout -b feat/your-feature

# Run the test suite
cargo test --all

# Run the linter
cargo clippy --all-targets

# Submit a PR against `develop`

Please read CONTRIBUTING.md before submitting. All PRs require:

  • Passing CI (tests + clippy + fmt)
  • At least one reviewer approval
  • Signed commits (DCO)

Security

If you discover a vulnerability, do not open a public issue. Please email security@hypercorn.network with details. We operate a bug bounty program β€” responsible disclosures are rewarded.


Built for the post-quantum world. Grown from the kernel up.
Copyright Β© 2026 Hypercorn Foundation. Released under the MIT License.

About

Quantum resistant digital currency built on lattice based cryptography

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages