WikiTruth is a decentralized application (DApp) built on Oasis Sapphire, focused on creating a truth market platform for secure evidence storage and trading.
- Framework: React 19 + Vite 6
- Language: TypeScript
- Web3: Wagmi + Rainbow Kit + Viem
- UI Library: Ant Design 5
- Styling: TailwindCSS
- State Management: Zustand
- Data Fetching: TanStack Query
- Database: Supabase
- Blockchain: Oasis Sapphire (EVM-compatible privacy chain)
- Node.js >= 18.x
- npm >= 9.x (or yarn/pnpm)
- A Web3 wallet (MetaMask, WalletConnect, etc.)
- Clone the repository:
git clone <repository-url>
cd interface- Install dependencies:
npm installStart the development server:
npm run devThe app will be available at http://localhost:3000 and will automatically open in your browser.
Build for production:
npm run buildThe build output will be in the dist/ directory.
Preview the production build locally:
npm run previewRun ESLint to check code quality:
npm run lintThe project is configured for static deployment. Build the project and deploy the dist/ directory to any static hosting service (Vercel, Netlify, Fleek, etc.).
For decentralized deployment on IPFS:
- Build the project:
npm run build - Upload the
dist/directory to IPFS - Access via IPFS gateway or pinning service
- Follow the code style guidelines
- Ensure all console logs are in English
- Run
npm run lintbefore committing - Test your changes thoroughly
[Add your license information here]