Inspiration
University marketplaces are drowning in sketchy notes and recycled PDFs. We wanted a trustable way to surface quality academic content without handing control to a centralized gatekeeper. Ethereum lets us turn curation into a transparent financial game instead of a moderation black box.
What it does
StudocuOnChain Audit Network makes uploaders stake ETH when they submit a document. Five random voters vet the content; honest reviewers earn micro-rewards, low-quality uploads lose their deposit, and approved files stay pay-to-access. All payments, votes, and outcomes live on-chain.
How we built it
Solidity smart contract (StudocuOnChain) governs registration fees, deposits, voter selection, vote tracking, refunds, and access control. MetaMask + React handle wallet onboarding, IPFS uploads, PDF previews, and per-user dashboards. Web3.js/ethers.js wire the UI to the contract; IPFS keeps the documents decentralized.
Challenges we ran into
Picking voters fairly was messy: block entropy isn’t secure, and we had to rework selection to avoid duplicate addresses. Gas estimation failed when the voter pool was small, so we added pre-flight checks and buffered limits. RPC rate limits forced us to throttle event listeners and cache chain reads. IPFS uploads disappear without pinning—finding a production-ready pinning strategy took time.
Accomplishments that we're proud of
Fully on-chain escrow and payout logic that actually settles in Sepolia. End-to-end UX: connect wallet, stake, upload, vote, and unlock PDFs from one interface. Automated refund flow for approved documents, with transparent history so nobody has to trust a backend. Event-driven UI refresh tied to contract emissions, not manual polling.
What we learned
Incentive design matters; without deposits voters don’t bother, and without rewards they disappear. Chain randomness is fragile; production needs verifiable randomness or reputation weighting. IPFS alone isn’t persistence—pinning or self-hosted nodes are mandatory. User education is half the battle; people expect Web2 passwords, not wallet-based access control.
What's next for StudocuOnChain Audit Network
Swap pseudorandom selection for Chainlink VRF and add a reputation-weighted voter system. Integrate Pinata/Web3.Storage pinning and surface storage status in the UI. Support stablecoin payments and tiered pricing so fees aren’t chained to ETH volatility. Layer in an AI assistant for pre-vote quality scoring to hit the hackathon’s AI track. Launch a subgraph + analytics dashboard to expose marketplace health in real time.
Log in or sign up for Devpost to join the conversation.