Skip to content

Latest commit

 

History

History
52 lines (34 loc) · 2.68 KB

File metadata and controls

52 lines (34 loc) · 2.68 KB

Blockscout frontend

Frontend application for Blockscout blockchain explorer

Running and configuring the app

App is distributed as a docker image. Here you can find information about the package and its recent releases.

You can configure your app by passing necessary environment variables when starting the container. See full list of ENVs and their description here.

docker run -p 3000:3000 --env-file <path-to-your-env-file> ghcr.io/blockscout/frontend:latest

Alternatively, you can build your own docker image and run your app from that. Please follow this guide.

For more information on migrating from the previous frontend, please see the frontend migration docs.

Custom footer version links

This image supports runtime configuration of the repository links behind the backend and frontend version labels in the footer:

NEXT_PUBLIC_BACKEND_REPO_URL=https://github.com/my-org/blockscout
NEXT_PUBLIC_FRONTEND_REPO_URL=https://github.com/my-org/blockscout-frontend
NEXT_PUBLIC_VERSION_LINK_TYPE=release

The defaults remain the upstream Blockscout repositories with tree links. Set NEXT_PUBLIC_VERSION_LINK_TYPE=release when your fork publishes matching GitHub releases. See the footer environment variables for details.

Contributing

See our Contribution guide for pull request protocol. We expect contributors to follow our code of conduct when submitting code or comments.

Resources

License

License: Blockscout Software Licence

This project is licensed under the Blockscout Software Licence. See the LICENSE file for full terms.

Third-party components included in this repository remain subject to their own licenses. See dependency manifests and bundled third-party notices for component-level license terms.