NanoDrop Faucet REST API.
⚠️ API deprecated
This API has been internalized into the main project alongside the frontend and is no longer maintained here.
Use the current project: https://github.com/nanodrop/nanodrop.io
This project is made with Typescript and was designed to run on the EDGE. It implements:
- Cloudflare Workers: a low cost, fast and scalable serverless environment.
- Durable Objects: allow us to cache Proof of Work with low latency in-memory.
- Hono: A small, simple, and ultrafast web framework for the Edges.
pnpm install
pnpm dev
First, authenticate with your Cloudflare account:
pnpm wrangler login
Set production secrets:
pnpm wrangler secret put PRIVATE_KEY
...
Finally, deploy it:
pnpm run deploy