Blockchain indexer for the Stellar/Soroban network. Processes ledgers in real-time, extracting transactions, operations, and state changes.
- Go 1.25+ - Download
- Make (optional) - Usually pre-installed on macOS/Linux
go version
# Should display: go version go1.25.x or higher- Clone the repository:
git clone https://github.com/Trustless-Work/Indexer.git
cd Indexer- Download dependencies:
go mod download# Build and run
make run# Build
go build -o bin/ingest cmd/ingest.go
# Run
./bin/ingestgo run cmd/ingest.goThe indexer is configured by default to connect to Stellar Testnet:
| Parameter | Value |
|---|---|
| Network | Stellar Testnet |
| RPC URL | https://soroban-testnet.stellar.org |
To modify the configuration, edit the constants in cmd/ingest.go.
.
├── cmd/
│ └── ingest.go # Entry point
├── internal/
│ ├── indexer/ # Processing engine
│ ├── ingest/ # Ingestion configuration
│ ├── services/ # RPC services
│ └── entities/ # Data structures
├── bin/ # Compiled binaries
├── Makefile
└── go.mod
# Build
make build
# Build and run
make run
# Clean binaries
rm -rf bin/