Magickbase / blockscan

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BlockScan

this project fork from Blockscout v4.1.5.

About

BlockScan is a explorer for ETH compatible chain like Axon Side Chain which is a layer2 network build on Nervos Network CKB

Getting Started

  1. install latest docker and docker compose
  2. run pg database on the host machine
  3. edit xxx.env file
  4. build command docker-compose --env-file ./dev.env -f ./docker-compose.yml build blockscan
  5. run database docker-compose --env-file ./dev.env -f ./docker-compose.yml up --force-recreate db
  6. run command docker-compose --env-file ./dev.env -f ./docker-compose.yml up --force-recreate blockscan
  7. use your env file instead of dev.env

Github Action

  1. setting your forked project environment: "axon_staging" (you can change it in your github workflow file)
  2. setting secret environment ENV_FILE_PATH which directing real path of your .env file on the deployment server
  3. pushing to main or develop branch (you can change it in your github workflow file)
  4. .env fields meaning
  5. primary enviroment setting: * ETHEREUM_JSONRPC_HTTP_URL (setting your chain node rpc endpoint) * ETHEREUM_JSONRPC_TRACE_URL (setting your chain node rpc endpoint) * DATABASE_URL (setting explorer access database url)

Acknowledgements

  • We would like to thank the Nervos Network for their funding support.
  • And also thanks to blockscout team, this project was forked from blockscout v4.1.5.

Contributing

just fork and pull request

License

License: GPL v3.0

This project is licensed under the GNU General Public License v3.0. See the LICENSE file for details.

About

License:GNU General Public License v3.0


Languages

Language:Elixir 78.6%Language:HTML 7.3%Language:Solidity 5.1%Language:SCSS 4.2%Language:JavaScript 4.1%Language:Makefile 0.5%Language:Shell 0.1%Language:Vyper 0.0%Language:Dockerfile 0.0%