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.2.tar.gz (301.7 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.2-py3-none-any.whl (270.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for qbitcoin-1.1.2.tar.gz
Algorithm Hash digest
SHA256 248e3c51971d4cb3ffd3206749527c318a84afe595330e38b503067021c32abf
MD5 05850e07970f36bc8606bd412817ebba
BLAKE2b-256 5e09ff445254bea6bf9d2480c4544eb6e9e62926b29950798a7d06deb439c8c2

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for qbitcoin-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 474773580a03c37e04ddc39be7847272fce28175a59e628abf1d52665d45e124
MD5 7d62a5b18cb47c8f95fbe385e603d87b
BLAKE2b-256 37f9bca69f04c710a819e6441406bbf8ce349f211da7067d9aeff21ab077e4f4

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