Nubit Modular Light Indexer Set Up Guide
Get Your Gas Coupon
A gas coupon is essential for supporting your transactions on Nubit’s Data Availability (DA) layer, unlocked at 2000 points. Visit points.nubit.org to connect your wallet and invite friends to unlock your gas coupon.
Requirements
Ensure your device meets the following minimal specs for a smooth installation:
Clone Github Repository
Navigate to Modular Indexer on GitHub and clone the repository to your local machine.
Install Dependencies
The Light Indexer is developed in Golang. Install the necessary dependencies with Go version 1.22.0 or higher, available on the Golang download page. Install all required packages by executing:
go mod tidy
Configuration Instructions
Set up your Light Indexer by starting with the example configuration file:
cp config.example.json config.json
Add your gas coupon and related information to configure your light indexer. For detailed configuration instructions, refer to the GitHub README.
Running the Program
Execute the following commands to initiate API services and upload checkpoints to the DA:
go build ./modular-indexer-light