The Mina Block Explorer is a website that allows users to explore and view details about blocks, transactions, addresses, validators and other relevant network information. It provides a user-friendly user interface to interact with the Mina blockchain. This document describes how to build such an application.
- Install Rust
curl https://sh.rustup.rs -sSf | sh
source "$HOME/.cargo/env"
- Serve app
cd app
cargo build
trunk serve --open
- Playwright Tests
cd app
npx playwright test
This project utilizes Nix Flakes for development and building. Install Nix here and enable Flakes using the guide here. No additional dependencies are needed.
Create your development environment using nix develop
. This prepares
your system with the necessary dependencies, compilers, and
development tools, eliminating the need for an independent Rust
installation. For VSCode, enhance your experience with the Nix Environment Selector
extension by linking it to
shell.nix
. Alternatively, configure your IDE environment with
direnv
.
Copyright 2023 Mina Foundation, Inc.
Free use of this software is granted under the terms of the Mozilla Public License 2.0.
This project uses C4(Collective Code Construction Contract) process for contributions.