Constructs and serves indices of the Mina blockchain via GraphQL.
The Mina Indexer uses precomputed blocks (logged by a Mina node) as the source of truth for the blockchain.
See an instance of the Mina Indexer in action at MinaSearch.
Set ulimit -n
(max open files) to 4096 or more.
Run rake check
to check for errors. See also the output of rake
for other
options.
The default storage location is on /mnt
because the testing code may download
large volumes of test data, and placing on /mnt
gives an opportunity to use
different storage volumes from one's build directory.
Set the VOLUMES_DIR
environment variable if you want to replace /mnt
with
another path.
Execute unit tests to validate code functionality with:
rake test
To quickly perform regression tests, which check for new bugs in existing features after updates, use:
rake dev
To perform the test battery that the CI runs, use:
rake test
rake test_system
rake deploy:local_prod
uses the Nix-based release binary
Note: This requires the Docker Engine to be installed.
Building the OCI (Docker) image from Nix must happen from an x86-64-linux
machine.
Issue the following command to build the image and load it into Docker:
rake build:oci_image
Copyright 2022-2025 Granola Systems Inc.
This software is licensed under the Apache License, Version 2.0.