# Ensure builds for production
export mixEnv=prod
# Development
cid prepare
cid build
cid migrate
cid devserve
# Staging builds
cid ci_build master staging
# production builds
cid tag master
cid ci_build NEW_TAG prod
./energi3 \
--testnet \
--gcmode archive \
--rpcvhosts '*' \
--ws \
--rpc \
--rpcapi debug,eth,net,shh,txpool,web3,masternode,energi \
--wsapi debug,eth,net,shh,txpool,web3,masternode,energi \
--rpccorsdomain '*' \
--wsorigins '*'
Hint: source config/devenv.sh.
BLOCKSCOUT_HOST
- server nameSECRET_KEY_BASE
- usemix phx.gen.secret
CHECK_ORIGIN=true
NETWORK=Energi
SUBNETWORK
- eitherTestnet
orMainnet
NETWORK_ICON
LOGO=/images/energi_logo.png
LOGO_FOOTER=/images/energi_logo_footer.png
COIN=NRG
ALLOWED_EVM_VERSIONS=petersburg
- `ETHEREUM_JSONRPC_VARIANT=geth'
- `ETHEREUM_JSONRPC_HTTP_URL=http://127.0.0.1:49796"
- `ETHEREUM_JSONRPC_TRACE_URL=http://127.0.0.1:49796" - Parity specific, no need really
- `ETHEREUM_JSONRPC_WS_URL=ws://127.0.0.1:49795"
ETHEREUM_JSONRPC_MAXCONN=100
- max number of pool connectionsFIRST_BLOCK=2
- skip heavy genesis and migration stuff
For secondary cluster nodes:
DISABLE_INDEXER=true
- disable concurrent indexing
Others:
BLOCKSCOUT_PROTOCOL=https
LINK_TO_OTHER_EXPLORERS=false
SUPPORTED_CHAINS=[]
DISABLE_WRITE_API=true
DISABLE_READ_API=false
(there is a bug)MAX_SKIPPING_DISTANCE=2
- protect from reorgs
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 the POA Network, xDai Chain, Ethereum Classic and other Ethereum testnets, private networks and sidechains.
See our project documentation for detailed information and setup instructions.
Visit the POA BlockScout forum for FAQs, troubleshooting, and other BlockScout related items. You can also post and answer questions here.
You can also access the dev chatroom on our Gitter Channel.
BlockScout is an Elixir application that allows users to search transactions, view accounts and balances, and verify smart contracts on the Ethereum network including all forks and sidechains.
Currently available full-featured block explorers (Etherscan, Etherchain, Blockchair) are closed systems which are not independently verifiable. As Ethereum sidechains continue to proliferate in both private and public settings, transparent, open-source tools are needed to analyze and validate transactions.
BlockScout supports a number of projects. Hosted instances include POA Network, xDai Chain, Ethereum Classic, Sokol & Kovan testnets, and other EVM chains.
See the project documentation for instructions:
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.