Skip to content

Setup & Run blockscout explorer on your network (Docker Approach)

Notifications You must be signed in to change notification settings

rust-master/setup-blockscout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

Setup & Run Blockscout Explorer on your Network with (Docker Approach)

Pre-requisites:

  • Required the RPC and Websocket URLs of the Network
  • Required the Chain ID of the Network
  • Required the ETHEREUM_JSONRPC_VARIANT name
    • We need to create the elixir file with the name of the above variant in the production folder at path apps/explorer/config/prod
    • In general, you can use these variant names (geth, ganache)
  • Docker Install in your machine
  • General Requirements Tools must installed

Step 1:

  • Clone the main repo of blockscout
  • Open the repo in VSCode IDE

Step 2:

  • Replace the variable below variable in the common-blockscout.env file at the path docker-compose/envs/common-blockscout.env
ETHEREUM_JSONRPC_VARIANT
ETHEREUM_JSONRPC_HTTP_URL
ETHEREUM_JSONRPC_TRACE_URL
COIN_NAME

Step 3:

  • Replace below environment variables in the docker-compose/docker-compose.yml file
   environment:       
	 ETHEREUM_JSONRPC_HTTP_URL: https://testnet.rebus.money/rpc
       ETHEREUM_JSONRPC_TRACE_URL: https://testnet.rebus.money/rpc
       ETHEREUM_JSONRPC_WS_URL: wss://testnet.rebus.money/ws
       CHAIN_ID: '3333'

Step 4:

  • Start the docker desktop
  • In the repo run the following commands in sequence
    • cd ./docker-compose
    • docker-compose up --build

Explorer Runs at

http://127.0.0.1

About

Setup & Run blockscout explorer on your network (Docker Approach)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published