Skip to content

Commit 0c2f742

Browse files
author
Fernando Cezar
authored
Merge pull request #333 from raiden-network/feature/add-arbitrum-testnet
Add arbitrum testnet
2 parents d423a18 + 268472d commit 0c2f742

4 files changed

Lines changed: 42 additions & 11 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
# dependencies
99
/node_modules
10+
/data
1011

1112
# IDEs and editors
1213
/.idea

backend/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
FROM python:3.7
1+
FROM python:3.8
22

33
LABEL Name=backend Version=0.0.1 Author="Paul Lange"
44
EXPOSE 4567
55

66
WORKDIR /app
77
ADD . /app
88

9+
RUN python3 -m pip install -U pip setuptools wheel
910
RUN python3 -m pip install -r requirements.txt
1011
RUN python3 setup.py develop
1112
CMD ["python3", "metrics_backend/metrics_cli.py"]

backend/requirements.txt

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
1-
Click==8.0.1
1+
raiden @ git+https://github.com/raiden-network/raiden.git@arbitrum-v0.14.0#egg=raiden
22

3-
web3==5.19.0
3+
Click
4+
5+
web3
46
eth-utils
57

6-
flask==1.1.2
7-
flask_restful==0.3.8
8-
flask-cors==3.0.10
9-
gevent==21.1.2
10-
requests==2.25.1
11-
cachetools==4.2.2
8+
flask
9+
flask_restful
10+
flask-cors
11+
gevent
12+
requests
13+
cachetools
1214

13-
raiden==2.0.0rc0
14-
raiden-contracts==0.37.5
15+
raiden-contracts==0.50.1
1516
mypy-extensions

docker-compose.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,34 @@ services:
111111
- "traefik.enable=true"
112112
- "traefik.frontend.rule=Host:goerli.explorer.raiden.network; Path: /json"
113113

114+
frontend-rinkarby:
115+
build:
116+
context: ./frontend
117+
args:
118+
backend_url: https://rinkarby.explorer.raiden.network/json
119+
poll_interval: 10000
120+
etherscan_base_url: https://testnet.arbiscan.io/
121+
network_name: Rinkarby
122+
matomo_tracker_url: https://analytics.raiden.network/matomo.php
123+
matomo_site_id: 3
124+
matomo_script_url: https://analytics.raiden.network/matomo.js
125+
restart: always
126+
labels:
127+
- "traefik.enable=true"
128+
- "traefik.frontend.rule=Host:rinkarby.explorer.raiden.network"
129+
130+
backend-rinkarby:
131+
build:
132+
context: ./backend
133+
restart: always
134+
environment:
135+
- EXPLORER_ETH_RPC=https://rinkeby.arbitrum.io/rpc
136+
- EXPLORER_ENVIRONMENT=development
137+
- EXPLORER_REGISTRY_ADDRESS="0xb287797edfb3334f5edce76bdeb02b044260067d"
138+
labels:
139+
- "traefik.enable=true"
140+
- "traefik.frontend.rule=Host:rinkarby.explorer.raiden.network; Path: /json"
141+
114142
traefik:
115143
image: traefik:1.7
116144
restart: always

0 commit comments

Comments
 (0)