QBITCOIN is a quantum-resistant blockchain built from scratch using the Falcon-512 post-quantum signature algorithm. In an era where quantum computing threatens traditional cryptographic systems, QBITCOIN provides a secure platform for digital assets with custom consensus, wallet, and transaction systems - all implemented in Python.
QBITCOIN uses the Falcon-512 signature scheme, a finalist in the NIST post-quantum cryptography standardization process. This provides:
- Quantum Resistance: Protection against attacks from both classical and quantum computers
- Compact Signatures: More efficient than many other post-quantum schemes
- Fast Verification: Maintains high transaction throughput despite quantum security
- Blockchain Structure: Implements a chain of cryptographically linked blocks
- Consensus Mechanism: Custom-built consensus to ensure network agreement
- Transaction Model: UTXO-based system similar to Bitcoin but with quantum-resistant signatures
- P2P Network: Decentralized node discovery and communication
- Storage Layer: Efficient blockchain data persistence and retrieval
QBITCOIN/
├── core/ # Core blockchain implementation
│ ├── block.py # Block structure and validation
│ ├── blockchain.py # Chain management and consensus
│ ├── genesis.yaml # Genesis block configuration
│ ├── consensus/ # Consensus mechanism implementation
│ ├── network/ # P2P networking protocols
│ ├── node/ # Full node implementation
│ └── storage/ # Blockchain data storage
├── crypto/ # Cryptographic primitives
│ └── falcon.py # Falcon-512 integration
├── scripts/ # Utility scripts
├── tests/ # Test suite
└── utils/ # Helper utilities
- Python 3.9+
- pip (Python package manager)
-
Clone the repository:
git clone https://github.com/Hamza1s34/Qbitcoin.git cd Qbitcoin -
Create and activate a virtual environment (recommended):
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
To start a QBITCOIN node:
python core.node.node_cli.pyAdditional configuration options:
--bootstrap <ip:port>: Connect to a specific bootstrap node--wallet <wallet_path>: Specify a wallet file--mining: Enable mining--debug: Enable debug logging
python scripts/create_wallets.py by default this will create 2 wallets in data/wallets
- Quantum-resistant signatures: Future-proof security
- Decentralized consensus: No central authority
- Web wallet: User-friendly interface (in progress)
- API client: For easy integration with other services
Each block contains:
- Header (block hash, previous hash, timestamp, nonce, merkle root)
- Transactions list
- Quantum-resistant signatures
QBITCOIN uses a Proof-of-Work consensus with quantum-resistant features:
- Block time: 1 minutes (average)
- Difficulty adjustment: Every 2016 blocks
- Mining reward: Decreases by half every 210,000 blocks
QBITCOIN addresses use a Base58 encoding with:
- Version prefix byte
- Public key hash (derived from Falcon-512 public key)
- Checksum for error detection
- Core blockchain implementation
- Quantum-resistant signatures
- Basic wallet functionality
- Improved P2P networking
- Advanced mining optimizations
- Mobile wallet development
- Smart contract capabilities
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
Project Link: https://github.com/Hamza1s34/Qbitcoin Email: [email protected] whatsapp: +92 3195787106