hackquest logo

OnchainLab

OnchainLab is a comprehensive platform that makes building DeFi (Decentralized Finance) applications simple and accessible. Think of it as a complete toolkit that gives developers everything they need

ビデオ

テックスタック

Next
React
Web3
Ethers
Solidity

説明

OnchainLab is a Web3 development platform that consolidates eight essential tools into one cohesive interface. We built this because existing solutions required developers to constantly switch between different platforms and rewrite the same boilerplate code.

The platform includes token factories for ERC20, ERC721, and ERC1155 tokens - deploy any token standard through a simple form. Our contract analyzer lets you inspect any deployed contract's structure and functions. The contract templates library provides production-ready smart contracts for common use cases like multi-sig wallets and vesting systems.

We solved the whitelist management problem that every NFT project faces with automated Merkle proof generation and validation. The DeFi utilities calculator handles complex calculations for liquidity pools and yield farming. Everything is tied together with a built-in block explorer.

All contracts are deployed on Mantle Sepolia (Chain ID: 5003), verified on Mantlescan, and built using OpenZeppelin standards for security. The frontend is a Next.js application with full TypeScript support, making it easy for developers to integrate with their own projects.

The key differentiator is workflow integration - instead of juggling multiple tools, developers can deploy tokens, analyze contracts, manage whitelists, and check transactions all from one platform. It's built for real-world use by developers who need to ship quickly without sacrificing security or code quality.

ハッカソンの進行状況

We came into the hackathon with a clear problem: Web3 development tools are scattered across different platforms, and every project requires writing the same boilerplate code over and over. We wanted to build something that would actually save developers time, not just look impressive. What We Built Smart Contracts (8 Contracts Deployed) We deployed eight production-ready smart contracts on Mantle Sepolia: 1. **ERC20 Factory** - Factory contract for deploying ERC20 tokens 2. **ERC721 Factory** - Factory contract for deploying NFT collections 3. **ERC1155 Factory** - Factory contract for multi-token standard contracts 4. **Contract Analyzer** - Tool for analyzing deployed contract bytecode and extracting ABIs 5. **Contract Templates** - Library of reusable smart contract templates (multi-sig, vesting, etc.) 6. **DeFi Utils** - Calculator for liquidity pools, yield farming, and DeFi math 7. **Merkle Proof Validator** - Efficient whitelist validation using Merkle proofs 8. **Merkle Proof Generator** - Tool for generating Merkle trees and proofs from address lists All contracts follow OpenZeppelin standards and are verified on Mantlescan. Frontend Platform Built a complete Next.js application with: - **Token Factory Interface** - Unified UI for deploying ERC20, ERC721, and ERC1155 tokens with real-time transaction tracking - **Contract Analyzer Page** - Paste any contract address and get instant analysis - **Contract Templates Library** - Browse and deploy pre-built contract templates - **DeFi Calculator** - Interactive tools for liquidity and yield calculations - **Merkle Tools** - Upload CSV files, generate trees, and validate proofs - **Block Explorer Integration** - Browse blocks, transactions, and addresses without leaving the platform - **Contract Verification Guide** - Step-by-step instructions for verifying contracts on Mantlescan ### Technical Challenges Overcome **Network Configuration Issues** - Initially had chain ID mismatches between deployment and frontend - Fixed by centralizing all network config in a single source of truth - Implemented RPC fallback mechanisms to handle Mantle Sepolia's occasional timeouts **Transaction Log Parsing** - Mantle Sepolia doesn't always return logs in transaction receipts - Built a robust fallback system that queries events separately and uses factory state changes as backup - Added contract existence verification before showing success messages **TypeScript Type Safety** - Some ABI imports were full artifact objects instead of just ABIs - Created extraction utility to handle both formats seamlessly - Fixed all type errors to ensure type-safe contract interactions **Build Configuration** - Next.js 16 defaulted to Turbopack but we had webpack configs - Configured both build systems properly - Fixed icon import issues (HashIcon → HashtagIcon) **Contract Address Management** - Started with scattered address references across the codebase - Centralized everything into `deployedContracts.ts` for single source of truth - Updated all pages to use centralized addresses and ABIs ## Key Accomplishments 1. **Complete Platform** - Not just a demo, but a fully functional platform with all features working end-to-end 2. **Production Quality** - All contracts are verified, tested, and follow security best practices 3. **Developer Experience** - Built the interface we'd want to use ourselves - clean, intuitive, and actually helpful 4. **Real Integration** - Everything works together. Deploy a token, analyze it, manage its whitelist - all in one flow 5. **Documentation** - Created comprehensive README and guides so others can actually use and understand the platform Time Breakdown - **Smart Contract Development**: ~40% - Writing, testing, and deploying 8 contracts - **Frontend Development**: ~35% - Building the UI and integrating with contracts - **Integration & Testing**: ~15% - Making everything work together smoothly - **Bug Fixes & Polish**: ~10% - Handling edge cases and improving UX Current Status ✅ All 8 smart contracts deployed and verified on Mantle Sepolia ✅ Complete frontend platform with all features functional ✅ All pages integrated with centralized contract configuration ✅ Build passes successfully with no errors ✅ Comprehensive documentation and README ✅ Ready for demo and further development The platform is fully functional and ready to use. Developers can connect their wallet, deploy tokens, analyze contracts, and use all the tools right now on Mantle Sepolia.

資金調達の状況

OnchainLab is currently bootstrapped and fully functional. We're open to discussing funding opportunities that would help us: - Expand the platform with additional features - Improve infrastructure and scalability - Build a community around the project - Add more contract templates and tools We're not actively fundraising, but we're interested in conversations with investors, grants, or partnerships that align with our mission of making Web3 development more accessible.
チームリーダー
SSimiloluwa Abidoye
プロジェクトリンク
業界
InfraDeFiOther