A blockchain-powered peer review platform that revolutionizes academic manuscript review through decentralized consensus, token incentives, and AI-assisted review processes.
Axon is a comprehensive peer review platform that combines traditional academic review processes with blockchain technology, creating a transparent, incentivized, and efficient system for manuscript evaluation. The platform features:
- π Blockchain Integration: Smart contracts for transparent review processes
- π° Token Incentives: AXON tokens for reviewer rewards and staking
- π€ AI-Assisted Reviews: Intelligent manuscript analysis and reviewer matching
- π± Modern UI/UX: Responsive design with dark/light mode support
- π Decentralized Identity: Wallet-based authentication and reputation system
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β Frontend β β Backend β β Blockchain β
β (React/Vite) βββββΊβ (Node.js) βββββΊβ (Ethereum) β
β β β β β β
β β’ Timeline β β β’ API Routes β β β’ PeerReview β
β β’ Review UI β β β’ Controllers β β β’ AxonToken β
β β’ Submission β β β’ Models β β β’ Staking β
β β’ Dashboard β β β’ Auth β β β’ Rewards β
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
- π Manuscript Submission: Upload and submit manuscripts with IPFS storage
- π₯ Reviewer Assignment: AI-powered reviewer matching based on expertise
- π Review Tracking: Real-time progress monitoring and status updates
- π Blockchain Integration: Transparent review process on blockchain
- π° Token Staking: Stake AXON tokens to participate in reviews
- π Document Review: Advanced PDF viewer with annotation tools
- π€ AI Assistant: Intelligent review assistance and suggestions
- π Reputation System: Build reputation through quality reviews
- π Reward System: Earn tokens for timely and quality reviews
- π Smart Contracts: Automated review process management
- βοΈ Dispute Resolution: Transparent conflict resolution mechanisms
- π Analytics: Comprehensive review metrics and insights
- π Decentralized: No single point of failure or control
Axon/
βββ client4/ # React Frontend
β βββ src/
β β βββ components/ # Reusable UI components
β β βββ pages/ # Application pages
β β βββ context/ # React contexts (Auth, Wallet, Contract)
β β βββ service/ # API service layer
β β βββ contractData/ # Smart contract ABIs
β βββ public/ # Static assets
β βββ package.json
β
βββ server/ # Node.js Backend
β βββ controllers/ # API route handlers
β βββ models/ # Database models (MongoDB)
β βββ routes/ # Express routes
β βββ middlewares/ # Authentication & validation
β βββ services/ # Business logic
β βββ package.json
β
βββ hardhat/ # Smart Contracts
β βββ contracts/ # Solidity contracts
β β βββ PeerReview.sol # Main review contract
β β βββ AxonToken.sol # ERC-20 token contract
β βββ scripts/ # Deployment scripts
β βββ package.json
β
βββ README.md
- React 18 with TypeScript
- Vite for fast development and building
- Tailwind CSS for styling
- Shadcn/ui for component library
- Ethers.js for blockchain interactions
- React Router for navigation
- Sonner for notifications
- Node.js with Express.js
- MongoDB with Mongoose ODM
- JWT for authentication
- Multer for file uploads
- IPFS for decentralized storage
- CORS for cross-origin requests
- Solidity ^0.8.0 for smart contracts
- Hardhat for development and testing
- OpenZeppelin for secure contract standards
- Ethereum network for deployment
- Node.js 18+ and npm
- MongoDB (local or cloud)
- MetaMask or compatible wallet
- Git
git clone https://github.com/your-username/axon.git
cd axoncd client4
npm installcd ../server
npm installcd ../hardhat
npm installMONGODB_URI=mongodb://localhost:27017/axon
JWT_SECRET=your-jwt-secret-key
PORT=3000
IPFS_GATEWAY=https://ipfs.io/ipfs/VITE_API_URL=http://localhost:3000/api
VITE_PEER_REVIEW_ADDRESS=0x...
VITE_AXON_TOKEN_ADDRESS=0x...cd server
npm startcd client4
npm run devcd hardhat
npx hardhat node- Frontend: http://localhost:8081
- Backend API: http://localhost:3000/api
- Local Blockchain: http://localhost:8545
The main contract managing the peer review process:
// Key Functions
function submitManuscript(string calldata manuscriptHash, string memory title, uint _stakingAmount)
function assignReviewers(bytes32 manuscriptId, address[] calldata reviewers)
function stakeForReview(bytes32 manuscriptId)
function submitReview(bytes32 manuscriptId, string calldata reviewHash)
function finalizePeriod(bytes32 manuscriptId)ERC-20 token for platform incentives:
// Key Functions
function giveWelcomeTokens() // For new users
function approve(address spender, uint256 amount)
function transfer(address to, uint256 amount)- Connect Wallet: Link your MetaMask wallet
- Submit Manuscript: Upload your paper with metadata
- Assign Reviewers: Select or auto-assign reviewers
- Monitor Progress: Track review status in real-time
- Finalize Reviews: Complete the review process
- Stake Tokens: Deposit AXON tokens for review participation
- Accept Assignment: Review assigned manuscripts
- Submit Review: Provide detailed feedback and ratings
- Earn Rewards: Receive tokens for quality reviews
- Smart Contract Audits: Regular security reviews
- Access Control: Role-based permissions
- Data Encryption: Secure data transmission
- Wallet Integration: Non-custodial token management
- Reputation System: Quality-based reviewer ranking
POST /api/auth/register
POST /api/auth/login
GET /api/user/profileGET /api/manuscript/getManuscripts
GET /api/manuscript/getManuscript/:id
POST /api/manuscript/submit
POST /api/manuscript/markReviewComplete/:id
POST /api/manuscript/finalizeReview/:idGET /api/user/reviewers
POST /api/user/uploadcd client4
npm run testcd server
npm testcd hardhat
npx hardhat testcd client4
npm run build
# Deploy dist/ foldercd server
# Configure environment variables
# Deploy to your preferred platformcd hardhat
npx hardhat run scripts/deploy.js --network <network>We welcome contributions! Please see our Contributing Guidelines for details.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- OpenZeppelin for secure smart contract standards
- Ethers.js for blockchain interactions
- Shadcn/ui for beautiful UI components
- IPFS for decentralized storage
- MongoDB for data persistence