Skip to content

AlgoNode/light-indexer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Algorand Light Indexer

Host you own Algorand indexer API in under 15 minutes:

  • 100% backward compatible with upstream Indexer API
  • Additional functionality, not yet implemented in the upstream indexer
  • Even faster than Nodely.io cloud service
  • Requires <25GB of SSD
  • [optionally] Go fully independent by adding a follower node

Ingridients

TODO

  • ARM images (sorry)
  • Auto update container
  • Documentation
  • Testnet

Requirements

  • 25GB of free SSD space
  • docker-compose
  • jq
  • bash

Quickstart

git clone https://github.com/AlgoNode/light-indexer.git
#make sure you have 20GB in the current dir 

cd light-indexer
./bin/init

#enjoy mainnet indexer in under 20 minutes

Security

  • Database and Indexer API endpoints are exposed, by default, on localhost only.
  • CockroachDB runs in insecure mode (no authentication)

If you want to expose Indexer API to the World you can use:

Scripts

Diagnostic scripts

Script Description
bin/help Show your API endpoint address & token
bin/logs Tail logs from all services
bin/status Show if your indexer is lagging

Safe scripts (should not break stuff)

Script Description Example
bin/down Shutdown whole bundle
bin/down ... Shutdown a service /bin/down conduit
bin/up Start whole bundle
bin/up ... Start a service /bin/up api
bin/restart ... Start a service /bin/restart api
bin/update Download new images and restart services

Dangerous scripts (might break stuff)

Script Description
bin/catchup Destroy and download fresh database
bin/gencfg Regenerate configs
bin/upgrade Major upgrade

About

Docker compose based light Algorand indexer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages