A Subsquid indexer for ARTMS and tripleS NFTs.
$ git clone [email protected]:teamreflex/cosmo-db.git
$ cd cosmo-db
$ npm ci
$ cp .env.example .env
$ docker compose up -d
Postgres 15.5 database server.
DB_PORT
: Port to expose the server on. Internally it still uses the default port.DB_READ_USER
: Creates a user with this name, only with SELECT privileges.DB_READ_PASS
: Password for the read user.
Subsquid processor that parses and stores data from the chain.
RPC_ENDPOINT
: RPC endpoint to use for the chain.RPC_RATE_LIMIT
: Rate limit for the RPC endpoint (req/s).RPC_FINALITY
: Finality confirmation for RPC ingestion.ENABLE_OBJEKTS
: Enable objekt processing.ENABLE_GRAVITY
: Enable COMO/gravity processing.
HTTP server that exposes the database for use with Drizzle ORM's HTTP proxy support for serverless environments.
PROXY_HTTP_PORT
: Port to expose the server on.PROXY_KEY
: Key to use for authentication.PROXY_CACHE_MAX_AGE
: Max age (in seconds) to cache the/status
endpoint for.
HTTP server for any Gravity related usage.
GRAVITY_HTTP_PORT
: Port to expose the server on.GRAVITY_CORS
: CORS header to use for the server.
Licensed under the MIT license.
- Email: kyle at reflex.lol
- Discord: kairunz
- Cosmo ID: Kairu