Blockchain Explorer for inspecting and analyzing EVM Chains.
Blockscout provides a comprehensive, easy-to-use interface for users to view, confirm, and inspect transactions on EVM (Ethereum Virtual Machine) blockchains. This includes Ethereum Mainnet, Ethereum Classic, Optimism, Gnosis Chain and many other Ethereum testnets, private networks, L2s and sidechains.
See our project documentation for detailed information and setup instructions.
For questions, comments and feature requests see the discussions section or via Discord.
Blockscout allows users to search transactions, view accounts and balances, verify and interact with smart contracts and view and interact with applications on the Ethereum network including many forks, sidechains, L2s and testnets.
Blockscout is an open-source alternative to centralized, closed source block explorers such as Etherscan, Etherchain and others. As Ethereum sidechains and L2s continue to proliferate in both private and public settings, transparent, open-source tools are needed to analyze and validate all transactions.
Blockscout currently supports several hundred chains and rollups throughout the greater blockchain ecosystem. Ethereum, Cosmos, Polkadot, Avalanche, Near and many others include Blockscout integrations. A comprehensive list is available at chains.blockscout.com. If your project is not listed, contact the team in Discord.
This repository contains a pre-configured Blockscout instance for the Babylon Edge Devnet (Chain ID: 6901).
- RPC Endpoint:
https://evm-rpc.edge-devnet.babylonlabs.io
- Chain ID:
6901
(Babylon Edge devnet) - Indexing Start: Block
201719
- Continuous Indexing: No end block limit - indexes all new blocks as they are produced
-
Clone the repository:
git clone https://github.com/dariaag/babylon_blockscout.git cd babylon_blockscout
-
Start the services:
cd docker-compose docker-compose up -d
-
Access the explorer:
- Frontend: http://localhost
- API: http://localhost/api/v2
-
Check the logs:
docker-compose logs backend
-
Monitor indexing progress:
docker exec db psql -U blockscout -d blockscout -c "SELECT COUNT(*) as block_count FROM blocks;"
docker-compose/docker-compose.yml
- Updated RPC URLs and chain IDdocker-compose/envs/common-blockscout.env
- Set Babylon Edge devnet configurationdocker-compose/services/backend.yml
- Added explicit environment variablesdocker-compose/services/user-ops-indexer.yml
- Updated RPC URL
If blocks aren't syncing:
- Check the backend logs:
docker-compose logs backend
- Verify RPC connectivity:
docker exec backend curl -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}' https://evm-rpc.edge-devnet.babylonlabs.io
- Clear database if needed:
docker exec db psql -U blockscout -d blockscout -c "DELETE FROM logs; DELETE FROM blocks;"
Reset to start from a specific block:
- Update
FIRST_BLOCK
indocker-compose/envs/common-blockscout.env
- Clear the database
- Restart:
docker-compose down && docker-compose up -d
For other networks, see the project documentation for instructions:
- Manual deployment
- Docker-compose deployment
- Kubernetes deployment
- Manual deployment (backend + old UI)
- Ansible deployment
- ENV variables
- Configuration options
We would like to thank the EthPrize foundation for their funding support.
See CONTRIBUTING.md for contribution and pull request protocol. We expect contributors to follow our code of conduct when submitting code or comments.
This project is licensed under the GNU General Public License v3.0. See the LICENSE file for details.