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
Release history Release notifications | RSS feed
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 details)
Built Distribution
madzpy-0.7-py3-none-any.whl
(4.7 kB
view details)
File details
Details for the file madzpy-0.7.tar.gz
.
File metadata
- Download URL: madzpy-0.7.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e3221ec4170eb7835553c675bbe00b31228be806f57c06be4abf8aa81a66722 |
|
MD5 | 086b7e25b5cbc214000f6742ada6ad85 |
|
BLAKE2b-256 | e81354fbb925960920fab2d85bcc6ff19cbf6fa7d26d2d99e0c5b23bfb99b11d |
File details
Details for the file madzpy-0.7-py3-none-any.whl
.
File metadata
- Download URL: madzpy-0.7-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | afefbbaafc637990d648d593106dd8cab6d252929b5a0872afa92b6e175ebf5d |
|
MD5 | e7df8533e598aa0285196c4e6b7a1b5d |
|
BLAKE2b-256 | 38e023ea25f9ba67c0f44562af912e745915b7153fcf4f43ff99ce5d19afaad9 |