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
Fedor Ivanov 1a903c8697
fix: celo collated gas price issue (#11067)
12 hours ago
..
benchmarks/explorer/chain API v2 for frontend (#6379) 2 years ago
config feat: Scroll rollup: L1 fee parameters in API, `queueIndex` for L2 transactions, and L1 <->L2 messages (#10484) 1 week ago
lib fix: Fix scam badge value in some API endpoints (#11054) 18 hours ago
priv fix: celo collated gas price issue (#11067) 12 hours ago
test fix: Fix failed tests (#11000) 1 week ago
.gitignore Vyper contract verification 3 years ago
.sobelow-conf Vyper contract verification 3 years ago
README.md Format .md files 2 years ago
coveralls.json Use configuration to conditionally start processes (#178) 7 years ago
mix.exs 6.9.0 1 week ago
package-lock.json chore(deps): bump solc from 0.8.26 to 0.8.27 in /apps/explorer (#10864) 4 weeks ago
package.json chore(deps): bump solc from 0.8.26 to 0.8.27 in /apps/explorer (#10864) 4 weeks 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