The official landing page for M3tering Protocol v2, a smart contract protocol connecting real-world energy metering (such as solar) to onchain infrastructure on Ethereum.
🌐 Live site: m3ter.ing 🏢 Organization: @M3tering
This repository contains the source for the public-facing website of M3tering v2. It introduces the protocol, explains what it does, and points visitors to the relevant resources, contracts, and community channels.
This is a standalone front-end project. It does not contain the protocol's smart contracts; those live in the M3tering organization.
| Layer | Tool |
|---|---|
| Framework | React Router v7 |
| Language | TypeScript |
| Bundler / dev server | Vite |
| Styling | Tailwind CSS |
| UI components | shadcn/ui (see components.json) |
| Package manager | Bun |
- Bun (recommended, since the repo ships a
bun.lock) - Alternatively, Node.js 20+ with npm
git clone https://github.com/michaelchristwin/m3ter.ing.git
cd m3ter.ing
bun installNo environment variables are required. The project runs out of the box after installation.
Start the dev server with Hot Module Replacement:
bun run devThe site will be available at http://localhost:5173.
bun run buildThis generates the production output in build/:
build/
├── client/ # Static assets
└── server/ # Server-side code
To preview the production build locally:
bun run startbun run typecheckIf you prefer npm, replace
bun installwithnpm installandbun run <script>withnpm run <script>.
.
├── app/ # Routes, components, and application code
├── public/ # Static assets served as-is
├── components.json # shadcn/ui configuration
├── react-router.config.ts # React Router configuration
├── vite.config.ts # Vite configuration
├── tsconfig.json # TypeScript configuration
└── package.json
Deploy the output of bun run build (the build/ directory along with package.json and your lockfile) to any platform that supports Node.js applications, such as Vercel, Netlify, Railway, Fly.io, or a VPS. Since there are no environment variables, no secrets or additional platform configuration are needed.
If your host serves static files only, check react-router.config.ts to confirm how rendering is configured before choosing a static hosting target.
Contributions are welcome.
- Fork the repository
- Create a feature branch:
git checkout -b feat/your-change - Commit your changes:
git commit -m "feat: describe your change" - Push to your branch:
git push origin feat/your-change - Open a pull request
For bugs or suggestions, please open an issue.
- M3tering organization: protocol repositories and contracts
- m3ter.ing: the live landing page
No license has been specified yet. Add a LICENSE file to clarify how others may use this code.