@percolatorct/shared
v1.1.0
Published
Shared backend utilities for Percolator services (keeper, indexer, api): retry, logging, signing, config, validation, sentry, supabase.
Downloads
407
Readme
@percolatorct/shared
Shared utilities for Percolator backend services (API, Indexer, Keeper).
What's inside
- Config — environment loading, validation
- Database — Supabase client helpers, query builders
- Logger — structured logging with context
- Monitor — service health monitoring with alerts
- Retry — exponential backoff with jitter
- Sanitize — input sanitization
- Sentry — error tracking integration
- Alerts — alert routing (Discord, etc.)
- Validation — Zod schemas for API/config validation
- Network validation — RPC endpoint health checks
Install
pnpm add @percolatorct/sharedBuild
pnpm buildTest
pnpm testLicense
Apache-2.0