Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for iotapay, version 1.0.3
Filename, size & hash File type Python version Upload date
iotapay-1.0.3.tar.gz (4.6 kB) View hashes Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page