Skip to content

Granola-Team/mina-block-explorer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mina Block Explorer

Build status

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.

Development Environment

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.

Prerequisites

Install Flox (use Nix-Generic method)

Flox will install Nix for you (including nix develop and friends). If you have previously installed Nix, you may need to uninstall it first:

Quick Start

  1. You must first enter the Flox environment by using flox activate.

  2. Execute rake dev to start the server.

Back-End Integration

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 rake tier2 the first time will incur a one-time penalty as the indexer will be setup on localhost against which tier2 tests are run.

License

Copyright 2022-2024 Granola Systems Inc.

This software is licensed under the Apache License, Version 2.0.

Contributing

This project uses C4 (Collective Code Construction Contract) process for external contributions. Additionally, maintainers and select members of Granola-Team have direct access and are permitted to push directly to main.