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 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.

Quick Start

  1. Install Nix.

  2. Enable the Nix Flakes feature.

  3. Install Direnv.

  4. Start the Server: Execute just dev to start the server.

Back-End Integration

Integration with an Indexer is accomplished through GraphQL and REST endpoints. You must specify your own environment variables. This can be done through

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.

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 contributions. Additionally, select members of Granola-Team are permitted to push directly to 'main'.