This worker acts on endpoints at https://forest-archive.chainsafe.dev/**
and will list object latest prefixes for both chains.
The project supports multiple environments for different deployment scenarios:
- Production (
--env production): Main production deployment - Preview (
--env preview): Preview environment for testing changes
First, login to Cloudflare with wrangler login.
npm run preview
# or
wrangler dev --remote --env previewnpm run deploy
# or
wrangler deploy --env productionnpm run deploy:preview
# or
wrangler deploy --env previewEach environment uses the same R2 buckets but with different worker names and logging configurations:
- Production:
infra-team-filecoin-snapshot-listingwith 10% log sampling - Preview:
filecoin-snapshot-listing-previewwith 100% log sampling
Merging changes to this worker will automatically deploy them to production.