
A marketplace for nutrient credits
Housebuilding across whole river catchments stalls when developers can't prove nutrient neutrality. This is the platform that issues, matches and trades the credits that unblock it.
The difficulty is geographic, and it is not negotiable. A mitigation site only offsets a development if it sits in the right place — upstream of the water recycling centre, outside the protected site, inside a permitted zone — and every catchment defines that differently. The spatial engine encodes each catchment's rule set and walks the river network graph to settle compatibility in a single API call, transforming between British National Grid and WGS84 as it goes.
Around it sits a credit ledger that tracks remaining nitrogen and phosphate to two decimal places, with the accounting written so an allocation cannot be sold twice even when a purchase is pending and its invoice is not yet settled. Then the business itself: dashboards for planning authorities, developers and homeowners; staged payments and direct debit; generation of the legal agreements each sale depends on; audit logging throughout; and a scheduled job that returns lapsed allocations to stock overnight.
1,900+ commits · 121k lines · 156 migrations · 32 API route modules
Built with Next.js on Vercel · Hono API on Cloudflare Workers · Supabase Postgres with PostGIS · Drizzle · GoCardless









