Skip to content

About

Python lib for IOTA Tangle

Topics

Resources

Stars

1 star

Watchers

2 watching

Forks

Latest commit

 

History

36 Commits

Folders and files

Repository files navigation

PyPI License: MIT PyPI - Python Version PyPI - Downloads Libraries.io dependency status for GitHub repo GitHub code size in bytes

Join Discord Follow on Twitter

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. These are simple dummy values. NOT meant for production usage.

About

Python lib for IOTA Tangle

Topics

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages