Skip to main content

A Python-based cryptocurrency implementation with quantum-resistant features

Project description

QBitcoin Logo

QBitcoin

PyPI License Website Whitepaper

A professional-grade, quantum-resistant blockchain built from scratch in Python using Falcon-512. QBitcoin secures digital assets in the post-quantum era, featuring a robust wallet, transaction system, mining capabilities, and a modern web-based GUI.


Features

  • Quantum-resistant cryptography using Falcon signatures
  • Proof-of-Work consensus mechanism
  • Multi-signature support
  • Token transactions
  • Web-based GUI interface
  • gRPC API services
  • Comprehensive testing suite

Project Structure

qbitcoin/        # Core blockchain implementation
  ├─ core/         # Blockchain core components (blocks, transactions, miners)
  ├─ crypto/       # Cryptographic functions and quantum-resistant algorithms
  ├─ daemon/       # Wallet daemon services
  ├─ services/     # Network and API services
  ├─ generated/    # Protocol buffer generated files
gui/            # Web-based graphical user interface
scripts/        # Utility scripts for various operations
tests/          # Comprehensive test suite

Installation

Install via PyPI

pip install qbitcoin

Install build dependencies:

sudo apt install -y build-essential cmake swig python3-dev libssl-dev libboost-all-dev libuv1-dev

Run the smart installer:

python3 -m qbitcoin.smart_installer

Start the node:

qbitcoin

For mining:

qbitcoin --miningAddress <your qbitcoin address>

Manual Installation

  1. Clone the repository:

    git clone https://github.com/Hamza1s34/Qbitcoin.git
    cd Qbitcoin
    
  2. Install dependencies:

    pip install -r requirements.txt
    
  3. Run the node:

    python start_qbitcoin.py
    

Usage

CLI Mode

Use the command-line interface:

python -m qbitcoin.cli

Utility Scripts

Handy scripts are available in the scripts/ directory for:

  • Creating transactions
  • Token management
  • Multi-signature operations
  • Address debugging

Testing

Run the test suite to ensure stability and correctness:

pytest tests/

Contributing

We welcome contributions from the community!

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests for new functionality
  5. Submit a pull request

License

License

This project is open source. Please see the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qbitcoin-1.1.4.tar.gz (307.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qbitcoin-1.1.4-py3-none-any.whl (270.9 kB view details)

Uploaded Python 3

File details

Details for the file qbitcoin-1.1.4.tar.gz.

File metadata

  • Download URL: qbitcoin-1.1.4.tar.gz
  • Upload date:
  • Size: 307.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.24

File hashes

Hashes for qbitcoin-1.1.4.tar.gz
Algorithm Hash digest
SHA256 6b800f089d575ee1fe6e89668649fb1c9bcf443e36c13c1489973d5f13e44fa9
MD5 5458ecaa8100c4eaeb4a9e933e48a94b
BLAKE2b-256 b2b61083d31d362f89fd5acfbb57db352e96c537a49713549dd8bacbe6a20d3d

See more details on using hashes here.

File details

Details for the file qbitcoin-1.1.4-py3-none-any.whl.

File metadata

  • Download URL: qbitcoin-1.1.4-py3-none-any.whl
  • Upload date:
  • Size: 270.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.24

File hashes

Hashes for qbitcoin-1.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 745e1a41ac1e8950fe4542c0cedb9ca8db8251dc3c7d55ebc5cca6a6655c0788
MD5 1ed193f37dd2fad64243869b0348e481
BLAKE2b-256 bf09057c3104361f4c601b8d469a29af5b56dd3fbf7832ac3e46eee204260246

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page