light-nft-indexer
The EVM compatible light weight NFT Indexer, no DB and utilize free account of infra
Install Proto Toools
Install protocol buffer compiler. Ref: https://grpc.io/docs/protoc-installation/
# Linux
apt install -y protobuf-compiler
protoc --version # Ensure compiler version is 3+
# Mac
brew install protobuf
protoc --version # Ensure compiler version is 3+
Install grpc. Ref: https://grpc.io/docs/languages/go/quickstart/
go install google.golang.org/protobuf/cmd/[email protected]
go install google.golang.org/grpc/cmd/[email protected]
Install grpc gateway. Ref: https://github.com/grpc-ecosystem/grpc-gateway
go install github.com/grpc-ecosystem/grpc-gateway/v2/[email protected]
go install github.com/grpc-ecosystem/grpc-gateway/v2/[email protected]
Clone repos.
cd ${GOPATH}/src/github.com/
# clone googleapis
git clone https://github.com/googleapis/googleapis.git
# clone grpc gateway
git clone --branch v2.19.0 https://github.com/grpc-ecosystem/grpc-gateway.git