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.
 
 
 
 
 
Doc Ritezel 480f8b4019 Do not retry when fetching the latest block 7 years ago
assets Speed up ChainController#show queries 7 years ago
bin Add pgbouncer wrapper script 7 years ago
config Speed up ChainController#show queries 7 years ago
doc Update Jasmine test page build structure 7 years ago
lib Do not retry when fetching the latest block 7 years ago
priv Display a calculated balance on an address page. 7 years ago
test Do not retry when fetching the latest block 7 years ago
.credo.exs Add Credo to CircleCI 7 years ago
.dialyzer-ignore Add dialyzer 7 years ago
.gitignore Configure Sobelow to scan for vulnerabilities 7 years ago
.pairs Add pairs 7 years ago
.sobelow-conf Run sobelow using the configuration file 7 years ago
.tool-versions Add license_finder to the build process 7 years ago
Gemfile Add license_finder to the build process 7 years ago
Gemfile.lock Add license_finder to the build process 7 years ago
Procfile Add pgbouncer wrapper script 7 years ago
README.md Run sobelow using the configuration file 7 years ago
circle.yml Switch to a worker model for job scheduling and execution 7 years ago
elixir_buildpack.config Configure Heroku settings 7 years ago
mix.exs Switch to a worker model for job scheduling and execution 7 years ago
mix.lock Switch to a worker model for job scheduling and execution 7 years ago
phoenix_static_buildpack.config Update Jasmine test page build structure 7 years ago

README.md

POA Explorer CircleCI

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

Machine Requirements

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

Required Accounts

  • Heroku for deployment
  • Github for code storage

Setup Instructions

Development

To get POA Explorer up and running locally:

  • Set up some default configuration with: $ cp config/dev.secret.esx.example config/dev.secret.esx
  • Install dependencies with $ mix do deps.get, local.rebar, deps.compile, compile
  • Create and migrate your database with $ mix ecto.create && mix ecto.migrate
  • Install Node.js dependencies with $ cd assets && npm install && cd ..
  • Start Phoenix with $ mix phx.server

Now you can visit localhost:4000 from your browser.

You can also run IEx (Interactive Elixir): $ iex -S mix phx.server

CircleCI Updates

Configure your local CCMenu with the following url: https://circleci.com/gh/poanetwork/poa-explorer.cc.xml?circle-token=f8823a3d0090407c11f87028c73015a331dbf604

Testing

  • Build the assets: $ cd assets && yarn build
  • Run the test suite: $ mix test
  • Ensure your Elixir code is properly formatted: $ mix credo --strict
  • Ensure your Elixir code has no vulnerabilities: $ mix sobelow --config
  • Ensure your ES code is properly formatted: $ cd assets && yarn 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.

Contributing

  1. Fork it ( https://github.com/poanetwork/poa-explorer/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Write tests that cover your work
  4. Commit your changes (git commit -am 'Add some feature')
  5. Push to the branch (git push origin my-new-feature)
  6. Create a new Pull Request