Metadata-Version: 2.1
Name: iconrpcserver
Version: 1.0.6.2
Summary: ICON RPC Server
Home-page: https://github.com/icon-project/icon-rpc-server
Author: ICON Foundation
Author-email: foo@icon.foundation
License: Apache License 2.0
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.6
Description-Content-Type: text/markdown
Requires-Dist: earlgrey
Requires-Dist: iconcommons
Requires-Dist: jsonschema
Requires-Dist: requests (==2.19.1)
Requires-Dist: jsonrpcserver (==3.5.3)
Requires-Dist: sanic (==0.7.0)
Requires-Dist: gunicorn (==19.7.1)
Requires-Dist: grpcio (==1.3.5)
Requires-Dist: grpcio-tools (==1.3.5)
Requires-Dist: protobuf (==3.5.1)
Requires-Dist: aiohttp (==3.0.9)
Requires-Dist: jsonrpcclient (==2.6.0)
Requires-Dist: secp256k1 (==0.13.2)
Requires-Dist: sanic-cors (==0.9.4)

# 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
    * Version: python 3.6.x
    * IDE: Pycharm is recommended.

### Setup on MacOS / Linux

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

##  Reference

- [ICON JSON-RPC API v3](https://github.com/icon-project/icon-rpc-server/blob/master/docs/icon-json-rpc-v3.md)
- [ICON Commons](https://github.com/icon-project/icon-commons)  
- [Earlgrey](https://github.com/icon-project/earlgrey)

## License

This project follows the Apache 2.0 License. Please refer to [LICENSE](https://www.apache.org/licenses/LICENSE-2.0) for details.


