Skip to main content

ICON RPC Server

Project description

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+ or 3.7.x (recommended version)

      We will support 3.7.x only in future. Please upgrade python version to 3.7.x.

    • 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iconrpcserver-1.3.1.tar.gz (41.6 kB view hashes)

Uploaded Source

Built Distribution

iconrpcserver-1.3.1-py3-none-any.whl (69.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page