This project implements a comprehensive family-based cryptocurrency ecosystem with various interconnected components. Here's an overview of the key contracts and their functionalities:
-
FamilyCryptoSystem.sol
- Core contract managing family registration, transactions, and interactions
- Integrates with other components like MemeToken, SecuritySystem, and cross-chain functionality
-
MemeToken.sol
- ERC20 token with additional NFT-like features
- Allows minting, locking, and unlocking of Meme NFTs
-
BridgeableCoin.sol
- Enables cross-chain transfers of the family cryptocurrency
- Implements security measures to prevent malicious bridging attempts
-
GitHubVerifier.sol
- Verifies GitHub accounts for family registration
- Manages reputation scores for verified accounts
-
DEXBridge.sol
- Facilitates token swaps across different blockchain networks
- Integrates with decentralized exchanges on various chains
-
FamilyNFT.sol
- Simple ERC721 contract for minting family NFTs
-
SecuritySystem.sol
- Manages IoT devices for family security
- Calculates and updates family security scores
-
BridgeOracle.sol
- Handles cross-chain communication for bridge requests
The project also includes test files and deployment scripts for a complete development environment.
- Family-based cryptocurrency management
- Cross-chain functionality
- Integration with IoT devices for security
- Meme tokens and NFTs
- GitHub account verification
- Decentralized exchange integration
The project uses Hardhat for development and testing. To get started:
- Install dependencies:
npm install
- Compile contracts:
npx hardhat compile
- Run tests:
npx hardhat test
- Deploy:
npx hardhat run scripts/deploy.js
For more detailed information on each component, please refer to the individual contract files and their comments.