What Ekonavi is
Ekonavi is a Brazilian network for ecological regeneration. Farmers and producers practising agroforestry and regenerative agriculture record their work on it; independent people verify that work on the ground; and the verified result becomes something buyers, supporters and investors can fund. The short version, with diagrams, is on the Ekonavi introduction page.
It grew out of O Elo Perdido, a 2019 documentary about agroforestry by Breno Veiga and Simão Luling, and launched as a platform in December 2020. It is based in Belo Horizonte, Minas Gerais, and maps producers across all six Brazilian biomes.
Why it exists
Regenerating land takes years, and the people doing it are usually small producers. Three things work against them:
- Their work is invisible. There is rarely a public record of what was planted, where, and how it is doing.
- Impact is expensive to prove. Conventional audits of biomass and soil cost more than a small farm can pay, so restored land is valued like degraded land.
- Money for nature rarely reaches the land. Funding passes through intermediaries, and supporters can’t trace where it went.
Ekonavi’s answer is to make the record public, make the verification independent, and make the result fundable.
The ecosystem
The marketplace is one part of a larger system. Each part works on the same verified data:
| Part | What it does |
|---|---|
| Community map | A social network that puts producers, projects and planting days (mutirões) on a map |
| Field diary and points | Producers log activities and earn rewards for documenting and promoting them |
| Certification | The workflow that turns a producer’s claim into a certificate |
| Marketplace (Mercado) | Products from regenerative producers, with PIX payments; written up separately |
| Public dashboard | ESG metrics and aggregates anyone can inspect |
| API and docs | A documented REST API so other platforms can integrate |
Certification runs through separate roles, so nobody signs off their own work:
- Producers register projects and report field activity.
- Verifiers inspect on the ground and confirm the practices.
- Valuators calculate the environmental and financial impact.
- Certifiers issue the certificate.
Roles are granted by administrators and recorded as on-chain tokens. Reports and certificates are ERC-1155 tokens, with hashes of the underlying data stored on IPFS, so a certificate can be checked and can’t be quietly edited later. Source: Ekonavi ecosystem documentation.
Recognition
- Winner, G20 TechSprint 2024. Ekonavi won the nature-based solutions challenge of the G20 global hackathon, run by the BIS Innovation Hub and Banco Central do Brasil under Brazil’s G20 presidency. The competition drew a record 110 proposals; the winning solution tokenises data from verified ecological restoration projects into investable assets aligned with international ESG standards. (BIS announcement)
- Finalist, federal government Web3 hackathon on tokenising Brazil’s National Treasury (Tesouro Nacional), December 2023.
- Finalist, Mercado Bitcoin “Tokenize sua Ideia”, 2023.
- Featured in MIT Technology Review, May 2023.
- Partnerships with Regen Network and IXO, cited as one of the first cases of blockchain financing for agroforestry, with regenerative pilots in Bahia, Minas Gerais and Colombia.
Sources for the last four: Wikipedia (pt) and the references it cites.
Where it’s heading
The direction is to make restored land worth more than cleared land. That means digital measurement, reporting and verification (dMRV) for biomass on terms that favour the farmer, verified restoration data that can back assets investors buy, and a model that already runs beyond Brazil, in Colombia.
My role on the team
I’ve been on the Ekonavi team since 2024 as a full-stack developer and DevOps engineer, working across the stack: marketplace features in the Next.js frontends, Hono API Workers, the Hasura GraphQL backend, shared packages, and the delivery pipeline. The rest of this page covers that engineering.
The engineering challenge
A platform with this many surfaces has a specific failure mode: apps drift apart. Each one re-implements authentication, headers, forms and styling slightly differently; a change to a shared contract breaks an app nobody tested; and deploying one app safely requires knowing how all the others behave.
The approach
One monorepo, shared packages. The applications and shared packages live in a single pnpm + Turborepo workspace. Cross-cutting concerns (auth, header, footer, uploader, forms, theme) are packages consumed by every app, so a fix lands everywhere at once and type errors show every affected consumer.
A shared design-token package. The shared theme package defines brand colours and forest and earthy themes, each with light and dark modes, integrated with Tailwind 4’s @theme. It deliberately ships no compiled CSS: each app runs its own Tailwind build against it, avoiding class collisions between apps.
Independently deployed shared UI. The footer is a Module Federation micro-frontend, deployed on its own and loaded by the apps, so content changes there don’t require redeploying every app. A cross-domain widget uses iframe isolation and postMessage for embedding across domains.
Edge-first architecture. Frontends and APIs run on Cloudflare Workers. Data access goes through Hasura GraphQL with role-based permissions; workflows with side effects (payments, uploads, certification) are Hono services.
The delivery pipeline
I maintain the CI/CD pipelines: a GitHub Actions matrix builds and deploys each app to staging and promotes to production. I also set up the Playwright end-to-end suite that covers critical flows across the ecosystem, because the bugs that matter most on a platform like this cross app boundaries.
Engineering decisions and trade-offs
| Decision | Benefit | Cost |
|---|---|---|
| Monorepo with shared packages | One change, every app; refactors are type-checked across the platform | Tooling and CI complexity; build caching becomes essential |
| Tokens package without compiled CSS | No style collisions; each app ships only the CSS it uses | Every app must configure Tailwind to scan the package |
| Module Federation footer | Independent deploys for shared chrome | Runtime integration to monitor; versioning discipline |
| Workers for frontends and APIs | One platform, global deployment, per-environment bindings | Runtime constraints vs full Node.js; adapter for Next.js |
What I learned
Most of the work on a platform like this is about contracts: between packages and apps, between frontends and APIs, between staging and production. The investment that paid off most was making those contracts explicit (types, shared packages, staged deploys and cross-service tests) so that changing one part of the system stops being a guess about the others.
The marketplace part of the platform is written up separately: Ekonavi Marketplace.