-
-
Explore DataCrypt: The Cosmic Archive turning scientific dead-ends into assets. Browse verified experiments and live network stats.
-
Set the Stage: Input public metadata, select your domain, and set an ETH unlock price for your research.
-
Mint & Earn: Encrypt raw findings, mint a permanent Research NFT, and earn ETH whenever peers access your data.
-
Admin Control: Monitor submissions, verify status, and manage the research database from a central dashboard.
-
Verify Details: Inspect abstracts, author IDs, and timestamps to validate experiments before blockchain storage.
Inspiration
Global scientific research has a massive carbon footprint. Every year, millions of redundant experiments are conducted because failed results aren't shared. This leads to staggering waste: unnecessary chemical consumption, high energy use for lab machinery, and tons of plastic waste from disposables. FailVault uses Gemini AI to unlock this dark data, preventing researchers from repeating failed paths and drastically reducing the environmental cost of innovation.
What it does
FailVault is a Decentralized Science (DeSci) marketplace that allows researchers to mint their negative results as IP-NFTs.
- Monetize Failure: Researchers set an unlock price in ETH for their findings.
- Secure IP: Using a hybrid architecture, public metadata is searchable, while critical findings and raw datasets are encrypted and only accessible to buyers.
- Immutable Proof: Every experiment is timestamped on the Polygon Amoy Testnet, providing permanent proof of discovery and ownership.
- AI-Powered Insights: Uses the Gemini API to automatically analyze and summarize complex research datasets, transforming raw "failures" into searchable, high-level technical insights.
- Environmental Efficiency: By providing searchable "Failure Proofs," we prevent redundant, resource-heavy lab cycles, promoting a more sustainable approach to global science.
How we built it
We engineered a full-stack dApp utilizing:
- Frontend: A high-performance Next.js 14 application styled with a "Cosmic Deep Blue" Tailwind CSS theme and Lucide React icons.
- Blockchain: Solidity smart contracts deployed on the Polygon Amoy Testnet to handle NFT minting and ownership logic.
- Backend & Storage: Supabase for robust metadata management and indexing.
- Web3 Integration: Ethers.js for handling MetaMask interactions and automated network-guard switching.
- AI Intelligence: Integrated Gemini Pro to handle natural language processing (NLP). We engineered specific system prompts to ensure the AI maintained scientific rigor and objective reporting when summarizing technical experiments.
How we used the Gemini API
We integrated Gemini 1.5 Flash as the core intelligence layer to handle three mission-critical tasks:
- Technical Summarization: It parses complex papers to extract the "Root Cause of Failure," turning hours of reading into seconds of insight.
- Automated Taxonomy: Gemini categorizes research into scientific domains and generates SEO-optimized tags, ensuring global discoverability.
- The "Insight Bridge": When a user searches the vault, Gemini uses semantic reasoning to connect disparate failures, revealing hidden patterns that suggest a new, viable path forward.
Why Its Cool
We’re taking the trash of the scientific world—failed data—and using AI to turn it into gold. It’s a futuristic library where the AI acts as a 24/7 research assistant, ensuring that no discovery, even a negative one, is ever truly lost.
Challenges we ran into
- The Hydration Nightmare: We faced critical Hydration Errors when building our dynamic starfield background. Because
Math.random()generated different values on the server than on the client, the UI tree mismatched. We solved this by moving all randomized coordinate generation into auseEffecthook to ensure stable client-side rendering. - The RPC Error Wall: We struggled with constant
Internal JSON-RPCerrors during testing. We discovered this was due to Cross-Chain UX friction, as MetaMask often defaulted to Ethereum Mainnet while our contract lived on Amoy. We engineered a programmatic "network guard" that intercepts transactions and forces the correct Polygon Amoy context automatically.
Accomplishments that we're proud of
- Successfully creating a seamless bridge between traditional database storage (Supabase) and immutable blockchain storage.
- Achieving a premium "Cosmic" aesthetic that makes scientific data entry feel futuristic and engaging.
- Building a programmatic network-switching logic that significantly lowers the barrier for non-crypto-native researchers to use the platform.
What we learned
We gained deep insights into the DeSci (Decentralized Science) movement and the complexities of handling sensitive data on-chain. We learned how to manage complex React lifecycles to prevent hydration mismatches and how to optimize smart contract gas limits for high-data transactions on Polygon.
What's next for DataCrypt
- On-Chain Encryption: Implementing fully decentralized encryption using Lit Protocol.
- DAO Governance: Allowing the community to verify the quality of research through a peer-review staking system.
- Cross-Chain Expansion: Deploying to other EVM-compatible chains to broaden the research marketplace.
- Predictive Failure Modeling: Moving beyond summarization to use Gemini’s multimodal capabilities to compare current "active" research against the FailVault database to predict potential bottlenecks before they happen.
Built With
- amoy
- api
- blockchain
- css
- ether.js
- gemini
- hardhat
- ipfs
- javascript
- lucide
- metamask
- next.js
- polygon
- react
- solidity
- supabase
- tailwind
- typescript

Log in or sign up for Devpost to join the conversation.