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/block_scout_web
Qwerty5Uiop eb574f8961
chore: Move eth_bytecode_db_lookup_started event to smart contract related event handler (#10462)
4 months ago
..
assets chore(deps-dev): bump eslint-plugin-promise (#10353) 5 months ago
config Fix missing expectation in mock_beacon_storage_pointer_request (#10399) 5 months ago
lib chore: Move eth_bytecode_db_lookup_started event to smart contract related event handler (#10462) 4 months ago
priv/gettext ERC-404 basic support (#9407) 8 months ago
test fix: include internal transactions in state change (#10210) 4 months ago
.sobelow-conf feat: API endpoint to re-fetch token instance metadata (#10097) 5 months ago
API blueprint.md Add address struct as in API v2 to account API 2 years ago
API.md Add submission date; Reuse legacy session cookie instead of JWT 2 years ago
README.md Format .md files 2 years ago
mix.exs 6.7.2 5 months ago

README.md

BlockScout Web

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

Machine Requirements

  • Erlang/OTP 21+
  • Elixir 1.9+
  • Postgres 10.3

Required Accounts

  • Github for code storage

Setup Instructions

Development

To get BlockScout Web interface up and running locally:

  • Setup ../explorer
  • 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
  • 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.