Python SDK for Minter Network
Project description
Python SDK
Ported from official Minter's php SDK
Created by https://www.u-node.net's masternode co-founder Roman Matusevich
You can support our project by sending any Minter's coins to our wallet Mx6e0cd64694b1e143adaa7d4914080e748837aec9
Feel free to delegate to our 3% masternode Mp02bc3c3f77d5ab9732ef9fc3801a6d72dc18f88328c14dc735648abfe551f50f
SDK use
You can create transaction by import transaction class and create object of this class.
Create tx
from mintersdk.sdk.transactions import MinterDelegateTx
tx = MinterDelegateTx(pub_key='Mp...', coin='MNT', stake=1, nonce=1, gas_coin='MNT')
Sign tx
tx.sign('PRIVATE_KEY')
You can get signed_tx from signed_tx attribute
tx.signed_tx
To get all required and optional arguments, look for source code.
To create tx object from raw tx
from mintersdk.sdk.transactions import MinterTx
tx = MinterTx.from_raw(raw_tx='...')
You will get tx object of tx type.
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
minter-sdk-1.0.13.tar.gz
(41.3 kB
view hashes)
Built Distribution
Close
Hashes for minter_sdk-1.0.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30f1a2e3877d8dccee9534cd617e30fb6cf29f200cf5add5efe48a3dbd029970 |
|
MD5 | 528e5b227f26a6c91177426f0775f8b0 |
|
BLAKE2b-256 | e3a292447717359dc3dd38ef4ca0bee57feb372c8497671e886a626702638a06 |