Skip to content

energicryptocurrency/energi3-blockscout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Energi changes

The standard FutoIn CID workflow:

# 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

Energi Core Node

./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 '*'

Important configuration variables to be set at deployment & testing

Hint: source config/devenv.sh.

  • BLOCKSCOUT_HOST - server name
  • SECRET_KEY_BASE - use mix phx.gen.secret
  • CHECK_ORIGIN=true
  • NETWORK=Energi
  • SUBNETWORK - either Testnet or Mainnet
  • 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 connections
  • FIRST_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

Original README

BlockScout

Blockchain Explorer for inspecting and analyzing EVM Chains.

CircleCI Coverage Status Join the chat at https://gitter.im/poanetwork/blockscout

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.

About BlockScout

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.

Supported Projects

BlockScout supports a number of projects. Hosted instances include POA Network, xDai Chain, Ethereum Classic, Sokol & Kovan testnets, and other EVM chains.

Getting Started

See the project documentation for instructions:

Acknowledgements

We would like to thank the EthPrize foundation for their funding support.

Contributing

See CONTRIBUTING.md for contribution and pull request protocol. We expect contributors to follow our code of conduct when submitting code or comments.

License

License: GPL v3.0

This project is licensed under the GNU General Public License v3.0. See the LICENSE file for details.