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
Viktor Baranov bc9089c337 Token bridge supply small refactoring 4 years ago
..
benchmarks/explorer/chain Denormalize blocks.number into transasctions.block_number 7 years ago
config Set defaut period for average block time counter refresh interval 4 years ago
lib Token bridge supply small refactoring 4 years ago
priv Add a feature for changing pool metadata 4 years ago
test Fix number of confirmations 4 years ago
.gitignore fix: store solc versions locally for performance 6 years ago
.sobelow-conf Derive transaction forks for transacion in blocks that go non-consensus 6 years ago
README.md Remove coveralls 4 years ago
coveralls.json Use configuration to conditionally start processes (#178) 7 years ago
mix.exs Poison update 4 years ago
package-lock.json npm 6 > npm 7 4 years ago
package.json Update repo organization 4 years ago

README.md

BlockScout

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

Machine Requirements

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

Required Accounts

  • Github for code storage

Setup Instructions

Development

To get BlockScout up and running locally:

  • Install dependencies with $ mix do deps.get, local.rebar, deps.compile, compile
  • Create and migrate your database with $ mix ecto.create && mix ecto.migrate
  • Run IEx (Interactive Elixir) to access the index and explore: $ iex -S mix

Testing

  • 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

Benchmarking

Explorer.Chain.recent_collated_transactions/0

  • Reset the test database: MIX_ENV=test mix do ecto.drop, ecto.create, ecto.migrate
  • Change tag in benchmarks/explorer/chain/recent_collated_transactions.exs to a new value, so that it will compare against the old values saved in benchmarks/explorer/chain/recent_collated_transactions.benchee
  • Run the benchmark: MIX_ENV=test mix run benchmarks/explorer/chain/recent_collated_transactions.exs