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.7.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

madzpy-0.7-py3-none-any.whl (4.7 kB view hashes)

Uploaded Python 3

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