Pay using IOTA
Project description
Python library to Pay using IOTA
Setup
Install the library: pip install iotapay
Import package: from iotapay.iotapay import Iotapay
Initialize: Iotapay('https://url:14265', 'TWQH9ETUWNDTRHSQVNLOSFMSTQLHRTZQGDTFUHEKRNPVDRQGHQEARNLSXXCXGICCVWBQHOHWPYZSHJYTC')
Basic functions
Get Balance
pay = Iotapay('https://url:14265', 'YOUR SEED')
Retrieve balance: pay.get_balance({})
Pay
data = {'json_data': {'version': '0.0.9',}, 'tag': 'ACYCLICIOTAPAYLIOTA99999999', 'to_address': 'ADDRESS', 'amount': 10}
Pay : pay.pay(data)
More Functions coming soon.
NOTE: Please, use proper iota node url, ADDRESS and your SEED to initialise.
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
iotapay-1.0.3.tar.gz
(4.6 kB
view details)
File details
Details for the file iotapay-1.0.3.tar.gz
.
File metadata
- Download URL: iotapay-1.0.3.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/2.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0f45bfbe594f5246eb1f05f3a1076c78ebb61c4908f421f130e1db329225633 |
|
MD5 | 96135a87636adc54a2148451a40f6725 |
|
BLAKE2b-256 | a1f8f3cb1420f9d45f6f6af159b923e6a30b84c60df95ef2bec6c07dab3acdca |