11# example-service
22
3- [ ![ CircleCI] ( https://circleci.com/gh/singnet/example-service.svg?style=svg )] ( https://circleci.com/gh/singnet/example-service )
4-
53Simple arithmetic service compatible with SingularityNET
64
75## Getting Started
@@ -54,9 +52,9 @@ Create the `SNET Daemon`'s config JSON file (`snetd.config.json`).
5452```
5553{
5654 "DAEMON_END_POINT": "http://DAEMON_HOST:DAEMON_PORT",
57- "ETHEREUM_JSON_RPC_ENDPOINT": "https://kovan.infura.io ",
55+ "ETHEREUM_JSON_RPC_ENDPOINT": "https://JSON_RPC_ENDPOINT ",
5856 "IPFS_END_POINT": "http://ipfs.singularitynet.io:80",
59- "REGISTRY_ADDRESS_KEY": "0xe331bf20044a5b24c1a744abc90c1fd711d2c08d ",
57+ "REGISTRY_ADDRESS_KEY": "REGISTRY_ADDRESS ",
6058 "PASSTHROUGH_ENABLED": true,
6159 "PASSTHROUGH_ENDPOINT": "http://SERVICE_GRPC_HOST:SERVICE_GRPC_PORT",
6260 "ORGANIZATION_ID": "ORGANIZATION_ID",
@@ -70,9 +68,20 @@ Create the `SNET Daemon`'s config JSON file (`snetd.config.json`).
7068}
7169```
7270
73- For example, replace tags with:
71+ For example, using the Kovan testnet, replace tags with:
7472
7573- ` http://DAEMON_HOST:DAEMON_PORT ` : http://localhost:7000
74+ - ` https://JSON_RPC_ENDPOINT ` : https://kovan.infura.io
75+ - ` REGISTRY_ADDRESS ` : 0xe331bf20044a5b24c1a744abc90c1fd711d2c08d
76+ - ` http://SERVICE_GRPC_HOST:SERVICE_GRPC_PORT ` : http://localhost:7003
77+ - ` ORGANIZATION_ID ` : example-organization
78+ - ` SERVICE_ID ` : example-service
79+
80+ For example, using the Ropsten testnet, replace tags with:
81+
82+ - ` http://DAEMON_HOST:DAEMON_PORT ` : http://localhost:7001
83+ - ` https://JSON_RPC_ENDPOINT ` : https://ropsten.infura.io
84+ - ` REGISTRY_ADDRESS ` : 0x5156fde2ca71da4398f8c76763c41bc9633875e4
7685- ` http://SERVICE_GRPC_HOST:SERVICE_GRPC_PORT ` : http://localhost:7003
7786- ` ORGANIZATION_ID ` : example-organization
7887- ` SERVICE_ID ` : example-service
0 commit comments