Skip to main content

Totally better currency frfr (now it's decentralised!?)

Project description

HarzCoin (v3.2.4)💰

HarzCoin is a chill, Python-based decentralized cryptocurrency made for fun, learning, and lowkey flexing. It includes a CLI, desktop GUI (like Bitcoin Core), and even a browser-accessible node interface. You can mine, send, receive, and interact with other HarzCoin nodes over the network.


Features

Fully decentralized P2P blockchain

  • Mine blocks and earn $HARZ coins
  • Tkinter GUI (Bitcoin Core-style)
  • Web GUI (Flask-based)
  • Real-time wallet creation & transactions

⚡ Installation

pip install harzcoin

Make sure you have Python 3.11+


🚀 Running It

CLI Mode

python -m harzcoin

GUI Wallet (like Bitcoin Core)

python harzcoin_gui.py

Soon: open http://localhost:5000


⚖️ API (for nerds)

create_wallet()         # returns Wallet object
send(id, key, recipient, amount)  # sends HZC to address
mine(address)           # mines a block
balance(address)        # returns float
add_peer(ip)            # connects node to another peer

🧳 Packaging Help (if you wanna share)

  1. Bump the version in pyproject.toml

  2. Build the wheel:

    flit build
    
  3. Upload to PyPI (if you're a real one):

    flit publish
    

If you get a raise_for_status() error, check:


🫡 Credits

Made with love by harsiz (ion kno why it's "hrsiz" on my profile but idgaf)

MIT License. Mess with it however you want.


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

harzcoin-3.3.1.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

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

harzcoin-3.3.1-py2.py3-none-any.whl (4.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file harzcoin-3.3.1.tar.gz.

File metadata

  • Download URL: harzcoin-3.3.1.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.3

File hashes

Hashes for harzcoin-3.3.1.tar.gz
Algorithm Hash digest
SHA256 2b81b12670080e6b9428f5158bb8d3bff90de7b69697fbdbefc67df6602efced
MD5 a7d0aac4e9300d56e5bfc7f3eb89d16f
BLAKE2b-256 7a8e2adde2312e37a3f3cb54094b7c50a0aad6b3f29b3689561c13f668c78c91

See more details on using hashes here.

File details

Details for the file harzcoin-3.3.1-py2.py3-none-any.whl.

File metadata

  • Download URL: harzcoin-3.3.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.3

File hashes

Hashes for harzcoin-3.3.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ca484b27848c56e1ff33e26eb3013707b9a96912dc376971e6ea848c0536a4d3
MD5 a3b7132a773ade5ddf30061c8337c5b2
BLAKE2b-256 211940c012be6ebfa53f3160d231d6bee8637b0409839775b2c8c9794a3a44ea

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