Skip to main content

Your API wrapper for Harzcoin

Project description

🪙 Harzcoin

Harzcoin is a totally real, completely serious crypto library built for the HarsizStudios ecosystem. This wrapper makes it stupidly easy to interact with the Harzcoin API — sending coins, viewing wallets, and creating new ones.


🚀 Features

  • 🔐 Create wallets
  • 💸 Send $HARZ to other wallets
  • 👀 View wallet balances and transaction history
  • 🔁 Automatically calculates transaction fees

📦 Installation

pip install harzcoin

🧠 Usage

import harzcoin

Check version

harzcoin.version() # shows Harzcoin + API version

Create a wallet

wallet = harzcoin.create_wallet() print(wallet)

View a wallet

info = harzcoin.view_wallet("hz1234567") print(info)

Send $HARZ

tx = harzcoin.send( wallet_id="hz1111111", wallet_key="abc-xyz-123", receiver_id="hz2222222", amount=10, fees_wallet="hz0000001" ) print(tx) 📘 API Reference harzcoin.version(type: str = "harzcoin") Prints the version of either the Harzcoin client or the API.

harzcoin.create_wallet() -> dict Creates a new wallet.

Returns:

{ "success": True, "transactionId": "...", "message": "Transaction completed successfully" } harzcoin.view_wallet(wallet_id: str) -> dict Fetches wallet balance + recent transactions.

harzcoin.send(wallet_id, wallet_key, receiver_id, amount, fees_wallet) -> dict Sends $HARZ from one wallet to another.

Handles fee calculation automatically.

❗ Notes Transactions include a 5% fee taken by fees_wallet.

If the fee is less than 2.5 HARZ, the transaction is rejected.

This library just wraps around a Supabase-powered API.

🧪 Version Info Harzcoin Library: v2.0.6+

API Version: v1.0.1-

📄 License MIT License. Go nuts.

✨ Made by Harsiz Not financial advice. Definitely not a scam. Definitely.

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-1.0.3.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

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

harzcoin-1.0.3-py2.py3-none-any.whl (2.5 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for harzcoin-1.0.3.tar.gz
Algorithm Hash digest
SHA256 21f78c2ce3640ac075223dd23bd45de7de4953f49dc51ca57ed58cc2886afb16
MD5 c8bbff176ede474f45880d59ec30580d
BLAKE2b-256 8d38fde95a174cf8c031e953d8d891f08be6c946ab561d17870d487c79c7120f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for harzcoin-1.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 bfb0ea3d2da0248195eb436bcde710920a7fed08a6266659396a9034e67e96cc
MD5 dfc53283c5c0e3be73382a2b2acf02d1
BLAKE2b-256 a4806ca60b06d647ea4fe7d7c7dfb93378b1887c1ff45de59e95ed1578f0bec4

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