Crypt example python
This repository contains a script written in Python that describes the algorithm for the Metahash address generation using cryptography module, fetching balance and history for wallet, creating and sending transaction as well as getting information about performing transaction by hash. To find out more about all actions in the Metahash network please follow these links: Getting started with Metahash network, Creating transactions and Operations with MetaHash address.
- Install Python 3.
- Install pip (if it is not installed along with Python).
- Install the following modules using pip:
pip install cryptography pip install dnspython pip install requests
Common usage is
usage: python crypt_example_bin.py [functions] Crypt example python optional arguments: -h, --help show this help message and exit List of functions: generate generate MH address to mh_address.txt fetch-balance get balance for MH address fetch-history get history for MH address get-tx get transaction information by hash create-tx create transaction using input params send-tx create and send transaction
For more information, see Usage.