Granola-Team / mina-block-explorer

Web application for the Mina blockchain
Apache License 2.0
6 stars 5 forks source link

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. MinaExplorer.com's GraphqlQL and RESTful endpoints are used by default. To override, you may 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.

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.