Inspiration
FamilyChain was inspired by our deep thinking about family education and financial literacy. Traditional family tasks and reward systems often lack transparency, consistency, and fun. The rise of blockchain technology provides us with an innovative solution that allows parents to help children learn responsibility and basic financial concepts in a fun, transparent, and motivating way. We believe that by combining daily chores with blockchain technology, children can naturally come into contact with and understand the basics of the digital economy while completing tasks.
What it does
Task Management: Parents can create, assign, and monitor children's household chores, setting difficulty levels and reward amounts
Transparent Accounting: All tasks and reward transactions are recorded on the blockchain, ensuring transparency and immutability
Token Incentives: Children receive FamilyChain tokens (Ethereum-based ERC-20 tokens) upon completing tasks
Reward Store: Children can use earned tokens to redeem physical rewards or privileges from the parent-established reward store
Dual Role System: Different interfaces and functionalities for parents and children, meeting their respective needs
How we built it
FamilyChain adopts a modern three-tier architecture:
1.Frontend: Responsive web application built with React and TypeScript Tailwind CSS providing an attractive user interface Context API for state management Ethers.js for blockchain interaction
2.Backend: RESTful API implemented in Go Gin framework handling HTTP requests GORM for database interactions JWT authentication system
3.Smart Contracts: ERC-20 token contract written in Solidity Dedicated task registry, reward registry, and family registry smart contracts Deployed on the Ethereum Sepolia test network The entire system integrates seamlessly through API and smart contract calls, ensuring data consistency both on-chain and off-chain.
Challenges we ran into
We faced several significant challenges during development:
1.Blockchain Integration: Ensuring seamless integration between frontend, backend, and smart contracts was complex, especially when handling different environments (development, testing, production)
2.User Experience: Creating a child-friendly interface with low blockchain knowledge requirements while maintaining core functionality
3.Transaction Costs: Optimizing smart contracts to reduce gas fees while ensuring system security and functional integrity
4.Data Synchronization: Maintaining consistency between on-chain and off-chain data, especially when handling task status updates and token transfers
5.Security Considerations: Implementing appropriate security measures to ensure child accounts are protected while allowing parental oversight
Accomplishments that we're proud of
1.Successfully created a complete system working both on-chain and off-chain, achieving a balance between blockchain transparency and traditional application usability
2.Developed an intuitive user interface accessible even to users unfamiliar with blockchain
3.Implemented a flexible reward system allowing parents to customize tasks and rewards based on family needs
4.Ensured system transparency and immutability through smart contracts
5.Created a practical application that applies blockchain technology to real-world daily scenarios
What we learned
Through developing FamilyChain, we gained valuable experience: 1.Best practices for integrating blockchain and traditional web applications
2.The importance of designing intuitive interfaces for users of different technical levels
3.Smart contract optimization and security considerations
4.How to transform complex blockchain concepts into user-understandable features
5.The art of balancing decentralization benefits with good user experience
6.Technical challenges of cross-language and cross-platform collaborative development
What's next for FamilyChain
NFT Achievement System: Earn unique NFT badges by completing specific types of tasks Design collectible NFTs to encourage continuous participation from children
Family DAO Governance: Create family-exclusive DAOs allowing children to participate in family decision-making votes Use token-based voting systems to decide on family activities, weekend plans, or dinner choices Teach children to understand decentralized organizations and democratic decision-making processes
Skill Trees and Growth Paths: Create decentralized identities (DIDs) for children to record their growth Design skill trees in different areas (household chores, learning, creativity, etc.) Unlock more advanced tasks and rewards by completing specific skill paths Generate visual growth reports showcasing the child's progress journey
Social and Competitive Elements: Allow safe comparison and competition between different families Create community leaderboards showcasing children who complete the most tasks Organize collaborative tasks between families to cultivate team spirit
Multi-chain Integration and Cross-chain Experience: Expand to multiple blockchain networks, helping children understand different blockchain characteristics Provide simplified cross-chain operation experiences Set up different types of tasks and rewards on different chains
Log in or sign up for Devpost to join the conversation.