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.3.tar.gz (330.6 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.3-py3-none-any.whl (301.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for qbitcoin-1.1.3.tar.gz
Algorithm Hash digest
SHA256 e0f2fc8f6c5dd3417731f387a4932bc920887d0195b214bae7b5cf50172a7535
MD5 bc93973ac5fa549d0ea77bb3db8b4899
BLAKE2b-256 9ef3ca232df3aecdc7840b2369bb0ade374ada5658831f9375842332d5d06e2f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for qbitcoin-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 bfa15dfd2e7159f1716c8a43ef7b6fef294bd52f30cc21a130938375fdbf5ac2
MD5 7bca9ac64d28c3ff634970667a34e7da
BLAKE2b-256 8a6ff2984f6aef04365921e7e6142107093f3d869ed03332820e730769d42746

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