Blockchain explorer for Ethereum based network and a tool for inspecting and analyzing EVM based blockchains.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
blockscout/apps/explorer_web
Tim Mecklem 7508576fe5 Check address hashes for equality instead of associations 6 years ago
..
assets Setup live updates for address balance 6 years ago
config Increase db timeout at dev enviroment 6 years ago
lib Check address hashes for equality instead of associations 6 years ago
priv/gettext Internationalization 6 years ago
test Return addresses from bulk insert instead of address_hashes 6 years ago
.sobelow-conf Update sobelow ignore list 6 years ago
README.md Remove Heroku (#133) 7 years ago
mix.exs Extract Explorer.Indexer to Indexer 7 years ago
package-lock.json Add 'Read Smart Contract' page 6 years ago

README.md

POA Explorer Web

This is a tool for inspecting and analyzing the POA Network blockchain from a web browser.

Machine Requirements

  • Erlang/OTP 20.2+
  • Elixir 1.5+
  • Postgres 10.0

Required Accounts

  • Github for code storage

Setup Instructions

Development

To get POA Explorer Web interface up and running locally:

  • Setup ../explorer
  • Set up some default configuration with: $ cp config/dev.secret.exs.example config/dev.secret.esx
  • Install Node.js dependencies with $ cd assets && npm install && cd ..
  • Start Phoenix with $ mix phx.server (This can be run from this directory or the project root: the project root is recommended.)

Now you can visit localhost:4000 from your browser.

You can also run IEx (Interactive Elixir): $ iex -S mix phx.server (This can be run from this directory or the project root: the project root is recommended.)

Testing

  • Build the assets: cd assets && npm run build
  • Format the Elixir code: mix format
  • Run the test suite with coverage: mix coveralls.html
  • Lint the Elixir code: mix credo --strict
  • Run the dialyzer: mix dialyzer --halt-exit-status
  • Check the Elixir code for vulnerabilities: mix sobelow --config
  • Update translations templates and translations and check there are no uncommitted changes: mix gettext.extract --merge
  • Lint the JavaScript code: cd assets && npm run eslint

Internationalization

The app is currently internationalized. It is only localized to U.S. English.

To translate new strings, run $ mix gettext.extract --merge and edit the new strings in priv/gettext/en/LC_MESSAGES/default.po.