Skip to main content

Madzcoin RPC Client

Project description

madz-py

madzpy is a rpc and api wrapper.

First, install it:

python3 setup.py install

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

Uploaded Source

File details

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

File metadata

  • Download URL: madzpy-0.5.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.5.tar.gz
Algorithm Hash digest
SHA256 d304d6ada303b0bc0218a7cf4e8a30375b49ea892a087a06f15974ccac6863e9
MD5 c6ae04f7b2ff22c9ba73c28ab69e19ab
BLAKE2b-256 7edf2f7052546d1146db85df5a02bb7838a79a592eb356584a3b7f0ded517823

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