Service for administrating and running skale blockscouts
- Clone repo
- Install docker-compose (if not installed)
- Put skale-manager ABI for the network in
data/abi.jsonfile - Create .env file
Agent will generate configuration files and run explorers for chains
./run.sh
Agent will update configuration files
./run.sh --update
Agent will run contract verification
./run.sh --verify
Agent will stop explorers, all data from explorers will be saved
./run.sh --down
Agent will restart explorer
./run.sh --restart
To run explorer-admin, .env file shoudl be created in the project root directory. Use template.env as example.
- ETH_ENDPOINT - node endpoint with skale-manager (required)
- PROXY_DOMAIN - domain of the network proxy (required)
- SCHAIN_NAMES - list of schain names to operate (optional)
- SSL_ENABLED - set https connection for explorers (optional)
- INTERNAL_DOMAIN_NAME - domain of the node, to run explorers with https (optional)
- WALLET_CONNECT_PROJECT_ID - WalletConnect project ID for blockscout frontend (optional)
- IS_TESTNET - whether network is testnet (optional)
- BLOCKSCOUT_BACKEND_DOCKER_TAG - version of skalenetwork/blockscout container to use (optional)
- BLOCKSCOUT_FRONTEND_DOCKER_TAG - version of skalenetwork/blockscout-frontend container to use (optional)
- DB_PASSWORD - password for postgres database (optional)
- RE_CAPTCHA_SECRET_KEY - private key used on blockscout server side to securely verify that user interactions on your website are performed by humans (optional)
- USE_HTTP_ENDPOINT - set to 'true' to use IP endpoints instead of domain endpoints for devnet support (optional)
- PUBLIC_IP - override auto-detected public IP address with custom host value (optional)
- NETWORK_NAME - name of the network to display in blockscout, set "fair" or "skale" (optional)
For detailed instructions on how to use the delete transactions script, please refer to the Delete Last Transactions Script Documentation.