Skip to content

NCKU-CCS/iota_uploader

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IOTA DR Uploader

an IOTA message uploader in Python3.7 for DR result

Introduce

  1. Check available nodes
  2. Get DR data from database
  3. Upload DR data to IOTA
  4. Update database

Files

  • main.py main function for uploading DR data

  • tangle.py implement IOTA node availability checker and message uploader

Getting Started

Prerequisites

  • python 3.7
  • Pipenv 2018.11.26

Running Development

  1. update the .env file
cp .env.sample .env
  1. Installing Packages & Running
make init
make run

Solved Problems

package install error

  • pysha3
    • package: pysha3 (dependency of pyota)
    • OS: Ubuntu 18.04
    • Error Message: src/ccurlmodule.c:1:10: fatal error: Python.h: No such file or directory
    • Reason: No Python.h file
    • Solution: Install python3.7-dev $ apt-get install python3.7-dev

Contributer

Chi-Sung, Wang

About

an IOTA uploader in Python3.7

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 93.9%
  • Makefile 6.1%