Skip to content

Commit 038fbbf

Browse files
authored
Merge pull request #3 from arturgontijo/_snetd_015
[update] Update to snetd-0.1.5
2 parents 97c65e5 + 0e9f5bd commit 038fbbf

2 files changed

Lines changed: 17 additions & 8 deletions

File tree

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ RUN apt-get install -y python3 python3-pip
1515
RUN cd ${SINGNET_REPOS} && \
1616
mkdir snet-daemon && \
1717
cd snet-daemon && \
18-
wget https://github.com/singnet/snet-daemon/releases/download/v0.1.4/snetd-0.1.4.tar.gz && \
19-
tar -xvf snetd-0.1.4.tar.gz && \
20-
mv snetd-0.1.4/snetd-linux-amd64 /usr/bin/snetd
18+
wget https://github.com/singnet/snet-daemon/releases/download/v0.1.5/snet-daemon-v0.1.5-linux-amd64.tar.gz && \
19+
tar -xvf snet-daemon-v0.1.5-linux-amd64.tar.gz && \
20+
mv snet-daemon-v0.1.5-linux-amd64/snetd /usr/bin/snetd
2121

2222
RUN cd ${SINGNET_REPOS} && \
2323
git clone https://github.com/singnet/example-service.git && \

README.md

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# example-service
22

3-
[![CircleCI](https://circleci.com/gh/singnet/example-service.svg?style=svg)](https://circleci.com/gh/singnet/example-service)
4-
53
Simple 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

Comments
 (0)