The Mina Block Explorer is a user-friendly website for exploring the Mina Blockchain. It offers a straightforward interface to view details about blocks, transactions, addresses, and validators.
This project uses Nix to ensure a consistent and reproducible development environment. This choice streamlines the development process, allowing focus on value delivery with minimal concern for varying system configurations or dependency conflicts.
-
Install Nix.
-
Enable the Nix Flakes feature.
-
Install Direnv.
-
Start the Server: Execute
just dev
to start the server.
Integration with an Indexer is accomplished through GraphQL and REST endpoints. You must specify your own environment variables. This can be done through
.env
file- Environment variables. See
.env.example
.
Environment variables are bundled into the WASM file at compile time (see
build.rs
). With the intended environment variables specified at compile time,
the production WASM file may be deployed without any further configuration
required.
Note that the mina-indexer
is a git submodule and is integrated at a specific version
for tier2 tests. Tier2 tests are coded to work against the first 10000 blocks in the
Mina Blockchain. Running just tier2
the first time will incur a one-time penalty as the
indexer will be setup on localhost against which tier2 tests are run.
Copyright 2022-2024 Granola Systems Inc.
This software is licensed under the Apache License, Version 2.0.
This project uses C4(Collective Code Construction Contract) process for contributions. Additionally, select members of Granola-Team are permitted to push directly to 'main'.