Skip to content

dorodb-web22/ProofMint

Repository files navigation

ProofMint - Decentralized IP Publishing dApp

ProofMint is a Web3 application for publishing and verifying intellectual property on the Flare blockchain. Users can write research, generate SHA-256 cryptographic proofs, check originality via Flare Data Connector, and publish tamper-proof records on-chain.

Project Structure

``` /contract - Hardhat smart contract project /client - React + TypeScript frontend ```

Quick Start

1. Deploy Smart Contract

```bash cd contract npm install cp .env.example .env

Add your private key to .env

npm run deploy:local ```

2. Run Frontend

```bash cd client npm install npm run dev ```

The app will open at http://localhost:5173

Features

  • Publish Posts: Write research/IP and publish to blockchain
  • SHA-256 Hashing: Client-side cryptographic proof generation
  • Originality Scoring: Check content originality via Flare Data Connector
  • Smart Account Integration: Secure on-chain publishing with wallet signing
  • Post Feed: View all published posts with verification proofs
  • Proof Cards: Display content, originality score, and blockchain timestamp

Tech Stack

  • Frontend: React 18 + TypeScript + Tailwind CSS + Vite
  • Blockchain: Solidity + Hardhat + Ethers.js
  • Network: Flare Coston2 testnet
  • Web3: MetaMask wallet connection + Smart Accounts

Environment Variables

Contract (.env)

``` FLARE_COSTON2_RPC=https://coston2-api.flare.network/ext/C/rpc PRIVATE_KEY=your_private_key_here ```

Deployment

  1. Configure Flare Coston2 RPC and private key
  2. Run npm run deploy in contract folder
  3. Copy contract address from output
  4. Add to frontend config
  5. Deploy frontend to Vercel

Next Steps

  • Add user profiles
  • Implement reward system with FAssets
  • Add IPFS storage for full content
  • Build admin moderation dashboard
  • Add FTSO oracle time validation
  • Implement post search and filtering

About

Web3 app for publishing and verifying IP on Flare with SHA-256 proofs and tamper-proof on-chain records.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors