Installation
Install the Lux Indexer
Go Install
go install github.com/luxfi/indexer/cmd/indexer@latestDocker
docker pull ghcr.io/luxfi/indexer:v0.2.2Build from Source
git clone https://github.com/luxfi/indexer.git
cd indexer
# Default (SQLite)
go build -o bin/indexer ./cmd/indexer
# PostgreSQL
go build -tags postgres -o bin/indexer ./cmd/indexer
# All binaries
make build-allCross-Compilation
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 \
go build -tags postgres -o bin/indexer ./cmd/indexerBuild Tags
| Tag | Backend | Use Case |
|---|---|---|
| (none) | SQLite | Local development |
postgres | PostgreSQL | Production |
mysql | MySQL | Alternative production |