From 1c765c4fec395f52ff76cc4c4a2f82c120ccd30f Mon Sep 17 00:00:00 2001 From: Sebastian <379651+czarly@users.noreply.github.com> Date: Fri, 16 Aug 2024 11:45:25 +0200 Subject: [PATCH] get ronin rolling --- reference-rpc-endpoint.json | 6 +++++- ronin.yml | 19 +++++++++++++++---- 2 files changed, 20 insertions(+), 5 deletions(-) diff --git a/reference-rpc-endpoint.json b/reference-rpc-endpoint.json index f47918b3..6d95d7d0 100644 --- a/reference-rpc-endpoint.json +++ b/reference-rpc-endpoint.json @@ -263,10 +263,14 @@ }, "zircuit-mainnet": { "id": 48900, - "urls": [], "default": ["op-zircuit-mainnet"], "urls": ["https://zircuit1-mainnet.p2pify.com"] }, + "ronin": { + "id": 2020, + "urls": ["https://api.roninchain.com/rpc"], + "default": ["ronin"] + }, "mantle": { "id": 5000, "urls": [ diff --git a/ronin.yml b/ronin.yml index 86f858a1..2c2965af 100644 --- a/ronin.yml +++ b/ronin.yml @@ -1,4 +1,5 @@ services: + ronin: image: ghcr.io/axieinfinity/ronin:v2.8.3-d27eb42 stop_grace_period: 5m @@ -12,13 +13,23 @@ services: - ronin:/ronin environment: - SYNC_MODE=full - - PASSWORD="stupidpassword" + - PASSWORD=stupidpassword - NETWORK_ID=2020 - - RONIN_PARAMS="--port=38198 --http.api eth,net,web3,consortium --txpool.pricelimit 20000000000 --txpool.nolocals --discovery.dns enrtree://AIGOFYDZH6BGVVALVJLRPHSOYJ434MPFVVQFXJDXHW5ZYORPTGKUI@nodes.roninchain.com" + - NETWORK_PORT=38198 + - WS_PORT=8545 + - RONIN_PARAMS=--port=38198 --http.api eth,net,web3,consortium --txpool.pricelimit 20000000000 --txpool.nolocals --discovery.dns enrtree://AIGOFYDZH6BGVVALVJLRPHSOYJ434MPFVVQFXJDXHW5ZYORPTGKUI@nodes.roninchain.com - VERBOSITY=3 - - MINE="false" + - MINE=false - GASPRICE=20000000000 - ETHSTATS_ENDPOINT=${DOMAIN}:WSyDMrhRBe111@$ronin-stats-ws.roninchain.com:443 - + labels: + - "traefik.enable=true" + - "traefik.http.middlewares.ronin-mainnet-stripprefix.stripprefix.prefixes=/ronin-mainnet" + - "traefik.http.services.ronin-mainnet.loadbalancer.server.port=80" + - "traefik.http.routers.ronin-mainnet.entrypoints=websecure" + - "traefik.http.routers.ronin-mainnet.tls.certresolver=myresolver" + - "traefik.http.routers.ronin-mainnet.rule=Host(`$DOMAIN`) && PathPrefix(`/ronin-mainnet`)" + - "traefik.http.routers.ronin-mainnet.middlewares=ronin-mainnet-stripprefix, ipwhitelist" + volumes: ronin: