Reference examples for ReineiraOS — productized protocols and reference implementations built on the platform.
Repository: github.com/ReineiraOS/examples
| Folder | Purpose |
|---|---|
solutions/ |
Full reference implementations and end-to-end solutions |
starter/ |
Minimal templates to bootstrap your own example |
Each example is a self-contained project with its own package.json and lockfile.
# clone
git clone https://github.com/ReineiraOS/examples.git
cd examples
# install root tooling (husky, lint-staged, plop, prettier)
pnpm install
# enter and run any example, e.g.
cd solutions/liquidity-accord
pnpm install
pnpm dev:appWe use Plop to scaffold new examples consistently.
pnpm new-exampleYou'll be prompted for:
- Name — human-readable (e.g.
My Cool App) - Description — one-line summary
- Category —
solutionsorstarter
The generator copies the canonical Next.js template from plop-templates/example/ into <category>/<slug>/ and replaces placeholders.
After scaffolding, fill in the README's YAML frontmatter so the example is properly catalogued. See CONTRIBUTING.md for the full spec.
Liquidity Accord — confidential performance bonds for market-makers and parametric delisting insurance for token issuers. Built on ReineiraOS (Arbitrum + Fhenix CoFHE) with a Hono + Drizzle + Neon backend and a React 19 + Vite frontend using ZeroDev ERC-4337 smart accounts.
We use Husky for the pre-commit Git hook. It is configured automatically during pnpm install. Code changes go through Prettier on commit. If hooks fail to install, run:
pnpm run prepareMIT — see LICENSE.