Skip to content
ICON RPC Server
Branch: develop
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs remove v3rep and add into existing v3 Feb 20, 2019
iconrpcserver [LC-209] fix bug in node_publish_heartbeat Mar 7, 2019
tests [LC-46] update cross import issue by unittest (#13) Nov 5, 2018
.gitignore
README.md Update README.md Oct 17, 2018
VERSION update version to 1.2.3 Mar 8, 2019
build.sh
deploy.sh Divide build.sh into build.sh, test.sh and deploy.sh Jul 31, 2018
requirements.txt Update version of packages in requirements.txt (fix #7) (#8) Oct 26, 2018
setup.py Update version of packages in requirements.txt (fix #7) (#8) Oct 26, 2018
test.sh

README.md

ICON RPC Server

This is intended to give an introduction ICON RPC Server. ICON RPC Server receives request messages from external clients, and send a response to clients. when receiving the message, ICON RPC Server checks the method of requests and transfer it to appropriate components (loopchain or ICON Service). ICON RPC Server also checks the basic syntax error of messages.

  • ICON RPC Server provides old version protocol

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
iconrpcserver-1.0.0-py3-none-any.whl

Installation

This chapter will explain how to install ICON RPC Server on your system.

Requirements

ICON RPC Server 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.

Setup on MacOS / Linux

# Install the ICON RPC Server
(work) $ pip install iconrpcserver

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.