elchingon / python-iota-workshop

Simple examples showing you how you can interact with the IOTA Tangle using Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python IOTA Workshop

Some simple examples to get you started on developing with IOTA using Python.

Try before you buy

You can try out these examples online without installation as well on Repl.it.

Getting started

Python 3 and pip are required to run these examples. It is highly recommended to run these examples in a own Python virtual environment.

To start playing with these examples run the following commands:

git clone https://github.com/iota-community/python-iota-workshop.git
cd python-iota-workshop
pip install -r requirements.txt
python code/e01_hello_world.py

You should receive a message including the statistics of an IOTA node. This means you can explore and run the other examples.

Examples included

Here are the examples included:

  • e01_hello_world.py
  • e02_send_hello.py
  • e03_receive_hello.py
  • e04_generate_address.py
  • e05_check_balance.py
  • e06_send_tokens.py
  • e07_send_data.py
  • e08_receive_data.py
  • e09_zmq_listen.py

Work to be done:

  • Add more complex application examples

Contribution

PRs are welcome on master

About

Simple examples showing you how you can interact with the IOTA Tangle using Python


Languages

Language:Python 100.0%