The consumer reads events from the registry and MPE contracts and records it on a persistent store which is used to build the index needed for other services. This repo is under active development and will see significant changes soon. As such this should be treated as a beta.
These instructions are intended to facilitate the development and testing of SingularityNET Contract Event Consumer.
- node 8.10.0+
- npm 3.5.2+
- Additionally you should install the following dependency package present in package.json.
If you use Ubuntu (or any Linux distribution with APT package support) you should do the following:
$ git clone [email protected]:singnet/snet-contract-event-consumer.git
$ cd snet-contract-event-consumer
$ npm install
Provide following Database details in config.js
key | value |
---|---|
host | |
username | |
password | |
database | |
port |
Provide following IPFS details in config.js
key | value |
---|---|
url | |
port | |
protocol |
Provide following Network details in config.js
key | value |
---|---|
name | |
infura_ws |