Skip to main content

Madzcoin RPC Client

Project description

madz-py

madzpy is a rpc and api wrapper.

First, install it:

pip3 install madzpy

All commands interfacing with the node need to use an Instance of madz()

To create a new instance, run:

import madzpy

madz = madzpy.madz()

Here are some commands you can use:

#                      Private key               From            To            Amount
print(madz.transaction("XXXXXXXXXXXXXXXXXXXXXX", "0x4ba...b313", "0xbd...164", 1))
# returns False 

#                  Address
print(madz.balance("0x4ba...b313"))

#                     Address
print(madz.is_address("0x4ba...b313"))

Better docs soonâ„¢

If you face any issues, file a issue on Github.

If you want to support the developer, send, Madz, BNB, MATIC or ETH to the following address: 0xAFDfedC5311218B636EEbe3837C489c3BeAcFfB4

This code is released under MIT License.

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

madzpy-0.6.tar.gz (4.3 kB view details)

Uploaded Source

File details

Details for the file madzpy-0.6.tar.gz.

File metadata

  • Download URL: madzpy-0.6.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.5

File hashes

Hashes for madzpy-0.6.tar.gz
Algorithm Hash digest
SHA256 733bfaf2a02fa277a98acac15aa80e046e156f485229e2494884b4fcf862b839
MD5 d615cfdef668f1e0ea8c3f35bc6d5618
BLAKE2b-256 6657fc66783ffb7018416f9db916b9614c177a22923cb457e63413b87abca617

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page