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 (via Flox 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.
Flox will install Nix for you (including nix develop
and friends).
If you have previously installed Nix, you may need to uninstall it first:
- You must first enter the Flox environment by using
flox activate
.
Running any just
task will automatically enter the Flox environment.
- 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 via:
.env
file
or
- 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
.