Skip to content
ICON Service for Python
Branch: develop
Clone or download
leeheonseung and goldworm-icon IS-410: Improve deploy parameters checking (#101)
* Move parameter checking logic from IconScoreBase class to deploy engine
* Update unittest
Latest commit 9ec2b5b Mar 22, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
iconservice IS-410: Improve deploy parameters checking (#101) Mar 22, 2019
tests IS-410: Improve deploy parameters checking (#101) Mar 22, 2019
tools
.gitignore configure refactoring (#204) Jul 20, 2018
.travis.yml Task documentation (#26) Oct 31, 2018
INSTALL.md Integrate INSTALL.md with loopchain document. (#59) Nov 30, 2018
README.md
VERSION
build.sh
deploy.sh
requirements.txt hotfix merge from master (1.1.2.12) (#56) Feb 11, 2019
setup.cfg
setup.py Update version of packages in requirements.txt (fix #17) Oct 25, 2018
test.sh

README.md

ICON Service

ICON Service manage state of ICON node including ICX, SCOREs using LevelDB.

Before processing transactions, ICON Service check for syntax errors, balances, etc.

Installation

This chapter will explain how to install icon service engine on your system.

Requirements

ICON SCORE development and execution requires following environments.

  • OS: MacOS, Linux
    • Windows are not supported yet.
  • Python
    • Make Virtual Env for Python 3.6.5+ (recommended version, 3.7 is not supported)
    • check your python version
      $ python3 -V
    • IDE: Pycharm is recommended.

Libraries

name description github
LevelDB ICON SCORE uses levelDB to store its states. LevelDB GitHub
libsecp256k ICON SCORE uses secp256k to sign and validate a digital signature. secp256k GitHub

Setup on MacOS

#install levelDB
$ brew install leveldb

# Create a working directory
$ mkdir work
$ cd work

# setup the python virtualenv development environment
$ virtualenv -p python3 venv
$ source venv/bin/activate

# Install the ICON SCORE dev tools
(venv) $ pip install iconservice

Setup on Linux

# Install levelDB
$ sudo apt-get install libleveldb1 libleveldb-dev
# Install libSecp256k
$ sudo apt-get install libsecp256k1-dev

# Create a working directory
$ mkdir work
$ cd work

# Setup the python virtualenv development environment
$ virtualenv -p python3 venv
$ source venv/bin/activate

# Install the ICON SCORE dev tools
(venv) $ pip install iconservice

Building source code

First, clone this project. Then go to the project folder and create a user environment and run build script.

$ virtualenv -p python3 venv  # Create a virtual environment.
$ source venv/bin/activate    # Enter the virtual environment.
(venv)$ ./build.sh            # run build script
(venv)$ ls dist/              # check result wheel file
iconservice-x.x.x-py3-none-any.whl

Reference

License

This project follows the Apache 2.0 License. Please refer to LICENSE for details.

You can’t perform that action at this time.