Welcome to Clorio, a modern, secure, and user-friendly browser extension for the Mina Protocol!
In the evolving landscape of Web3, Clorio stands as a gateway to the Mina ecosystem. It allows users to manage accounts, send transactions, and interact with zero-knowledge applications directly from their browser. Clorio is designed with a focus on security, simplicity, and a seamless user experience.
Make sure you're on the latest Bun version.
-
Install the dependencies:
bun install
Note: If you encounter issues, you can try
npm install --legacy-peer-deps. -
Configure environment variables:
From the root directory, create a
.envfile (copy.env.exampleif available) and adjust the variables:VITE_API_URL=https://api.clorio.client
-
Build the extension:
bun run build
This repository contains the source code for the Clorio browser extension.
srcapi- API clients and Axios configuration.components- Reusable UI components (Wallet, Settings, etc.).hooks- Custom React hooks.lib- Utilities, crypto functions, and validations.pages- Main application pages (Dashboard, Send, etc.).popup- Extension entry point.stores- Global state management using Zustand.styles- Global CSS and Tailwind configuration.
Set up the development server for the extension:
-
Chrome / Chromium:
bun run dev
-
Firefox:
bun run dev:firefox
-
Run linter:
bunx eslint . -
Run unit tests:
bunx vitest
We welcome contributions! Please feel free to open issues or submit pull requests to improve Clorio.
- Fork the repository.
- Create a branch for your feature (
git checkout -b feature/NewFeature). - Commit your changes (
git commit -m 'Add NewFeature'). - Push the branch (
git push origin feature/NewFeature). - Open a Pull Request.
- Clorio Website - The official website of Clorio.
- Mina Protocol - The world's lightest blockchain.