FamilyChain
familyChain is a family task management and reward system based on the Ethereum blockchain, which aims to cultivate children's sense of responsibility and financial literacy through blockchain technol
视频
描述
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
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
技术栈
融资状态
none