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.5.tar.gz (308.0 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.5-py3-none-any.whl (270.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for qbitcoin-1.1.5.tar.gz
Algorithm Hash digest
SHA256 000222b2ab624fc06542ad44ff9fd54a14254b6441f5199cf66cb93123c90b81
MD5 3c7a41b2593f31179dfa7cebeb2242d5
BLAKE2b-256 d819e884c2244db16cb6b2b5b0cc39a9d47a626b4a4f627d6abe3b3ac1b8872d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qbitcoin-1.1.5-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.25

File hashes

Hashes for qbitcoin-1.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 57179c615012910f9256bffa250ecd9625b4bf20dbc71a0cb6f9efca608fe66c
MD5 30014c793ef8e8b80b72b635baf9389a
BLAKE2b-256 eb8cd25c6ccd4563831e7177c2d7c1dc24806f76e6116d5eb936489ef839f621

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