CPU-Friendly Mining Β· Post-Quantum Cryptography Β· Fair Launch
Quick Start β’ Mining β’ Tokenomics β’ Documentation
Lattice is a quantum-resistant blockchain built for the future. While other cryptocurrencies will become vulnerable when quantum computers arrive, Lattice is secured by CRYSTALS-Dilithium3 signatures β the same algorithm chosen by NIST for post-quantum security.
| Feature | Description |
|---|---|
| π Quantum-Resistant | CRYSTALS-Dilithium3 signatures, Kyber768 key exchange |
| βοΈ CPU-Friendly Mining | Argon2 memory-hard PoW β no ASICs, no GPUs needed |
| π Fast Blocks | 2-15 second block times depending on network |
| π° Fair Launch | 95% of supply goes to miners, only 5% genesis allocation |
| π Open Source | MIT/Apache-2.0 dual license |
| Parameter | Value |
|---|---|
| Symbol | LAT |
| Total Supply | 50,000,000 LAT |
| Decimals | 8 (1 LAT = 100,000,000 Latt) |
| Block Reward | 10 LAT |
| Genesis Allocation | 5% (2.5M LAT with vesting) |
| Mining Allocation | 95% (47.5M LAT) |
| Network | Block Time | Initial Difficulty | PoW Memory |
|---|---|---|---|
| Devnet | ~2 seconds | 1 | 512 KB |
| Testnet | ~5 seconds | 5 | 4 MB |
| Mainnet | ~15 seconds | 10 | 64 MB |
π‘ Lower difficulty = faster block finding. Use devnet for development!
The 5% founder allocation ensures sustainable development:
- 500,000 LAT β Immediately available (exchange listings, infrastructure)
- 2,000,000 LAT β 24-month linear vesting (long-term commitment)
π See TOKENOMICS.md for full details.
Linux / macOS:
curl -fsSL https://raw.githubusercontent.com/dill-lk/Lattice/main/install.sh | bashWindows (PowerShell):
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
irm https://raw.githubusercontent.com/dill-lk/Lattice/main/install.ps1 | iexThis installs three binaries:
| Binary | Purpose |
|---|---|
lattice-node |
Full node (syncs blockchain, serves RPC) |
lattice-miner |
Standalone CPU miner |
lattice-cli |
Wallet & command-line tools |
lattice-cli wallet create
# Output: Address: 13jXqXbCSghDF2KgyFQdtw8SvbJvpEyhft# Terminal 1 β Start node
lattice-node --network devnet
# Terminal 2 β Start miner
lattice-miner --coinbase <your-address> --network devnetThat's it! You're now mining LAT. π
Choose your network based on your needs:
# Development (instant blocks, ~2 sec)
lattice-node --network devnet
lattice-miner --coinbase <addr> --network devnet
# Testing (moderate speed, ~5 sec)
lattice-node --network testnet
lattice-miner --coinbase <addr> --network testnet
# Production (full security, ~15 sec)
lattice-node --network mainnet
lattice-miner --coinbase <addr> --network mainnet| CPU Cores | Recommended Threads |
|---|---|
| 2 | 2 |
| 4 | 3-4 |
| 8 | 6-8 |
| 16+ | 12-16 |
lattice-miner --coinbase <addr> --threads 8 --network devnetThe miner shows real-time stats:
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β LATTICE MINER v0.1.0 β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£
β Network : DEVNET β
β Threads : 8 β
β Coinbase: 13jXqXbCSghDF2KgyFQdtw8SvbJvpEyhft β
β Node RPC: http://127.0.0.1:8545 β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β #42 β 125.3 H/s (avg 118.7 H/s) β 1,247 hashes β 3 found β up 2m
# Create new wallet
lattice-cli wallet create
# Show your address
lattice-cli wallet address
# Check balance
lattice-cli wallet balance
# Send LAT
lattice-cli tx send --to <address> --amount 10.5
# Export private key (β οΈ keep safe!)
lattice-cli wallet export| Tier | CPU | RAM | Disk | Expected Hash Rate |
|---|---|---|---|---|
| Minimum | 2 cores | 4 GB | 20 GB | ~10 H/s |
| Recommended | 4+ cores | 8 GB | 50 GB SSD | ~50 H/s |
| Optimal | 8+ cores | 16 GB | 100 GB SSD | ~150+ H/s |
π‘ Lattice uses Argon2 memory-hard PoW. More RAM = better performance.
# Your wallet is at ~/.lattice/wallet.json (or ./wallet.json)
cp wallet.json ~/backup/wallet-$(date +%Y%m%d).jsonLattice uses algorithms selected by NIST for post-quantum security:
| Component | Algorithm | Security Level |
|---|---|---|
| Signatures | CRYSTALS-Dilithium3 | NIST Level 3 |
| Key Exchange | Kyber768 | NIST Level 3 |
| Hashing | SHA3-256 | 256-bit |
| PoW | Argon2id | Memory-hard |
| Problem | Solution |
|---|---|
| Node won't start | Check port 30303 isn't in use |
| Miner shows 0.00 H/s | Use --network devnet for faster hashes |
| RPC connection error | Make sure lattice-node is running |
| Invalid coinbase address | Use address from lattice-cli wallet address |
| Low hashrate | Increase --threads, close background apps |
| Old chain data | Delete data directory and restart (see below) |
If you need to start fresh (e.g., after updating difficulty settings):
Windows:
Remove-Item -Recurse $env:LOCALAPPDATA\LatticeLinux/macOS:
rm -rf ~/.local/share/lattice# Check node status
lattice-cli node status
# View peers
lattice-cli node peers
# Open firewall (Linux)
sudo ufw allow 30303/tcp| Document | Description |
|---|---|
| TOKENOMICS.md | Token supply, genesis allocation, vesting |
| MINING_GUIDE.md | In-depth mining optimization |
| ADMIN.md | Full operator guide, systemd setup |
| DEPLOYMENT.md | Docker & production deployment |
| CONTRIBUTING.md | Build from source, contribute |
| docs/api-reference.md | JSON-RPC API reference |
# Requirements: Rust 1.75+, C++ compiler (for RocksDB)
git clone https://github.com/dill-lk/Lattice.git
cd Lattice
# Build
cargo build --release
# Test
cargo test --workspace
# Install locally
cargo install --path bins/lattice-node
cargo install --path bins/lattice-miner
cargo install --path bins/lattice-cliβββββββββββββββββββ
β lattice-node β β Full node binary
ββββββββββ¬βββββββββ
β
ββββββ΄βββββ¬ββββββββββββββ
β β β
βΌ βΌ βΌ
βββββββββ βββββββββ βββββββββββββ
βNetworkβ β RPC β β Consensus β
βββββ¬ββββ βββββ¬ββββ βββββββ¬ββββββ
β β β
ββββββ¬βββββ΄ββββββββββββ
β
ββββββ΄βββββ
β Storage β β RocksDB
ββββββ¬βββββ
β
ββββββ΄βββββ
β Core β β Blocks, Transactions, State
ββββββ¬βββββ
β
ββββββ΄βββββ
β Crypto β β Dilithium, Kyber, SHA3
βββββββββββ
- GitHub Issues: Report bugs & request features
- Releases: Download latest
- Source Code: github.com/dill-lk/Lattice
Dual-licensed under MIT or Apache-2.0 at your option.
Built with β€οΈ for the post-quantum future
β Star this repo if you find it useful!