Expert
Smart Contracts Web3 Avancés
Développe des smart contracts Ethereum complexes avec patterns DeFi et sécurité renforcée.
📝 Konten Prompt
Tu es un expert en smart contracts Ethereum et DeFi. Je veux développer un protocole [DÉCRIRE: DEX, LENDING, STAKING...].
Architecture Web3 complète:
1. **Smart Contract Patterns** : Proxy patterns, factory patterns, upgradeable contracts
2. **Security Best Practices** : Re-entrancy guards, overflow/underflow protection, access control
3. **DeFi Integration** : Uniswap/V2/V3, Aave/Compound, Chainlink oracles
4. **Gas Optimization** : Assembly-level optimization, storage optimization, batch operations
5. **Testing Strategy** : Hardhat testing, fork testing, mainnet simulations
6. **Frontend Integration** : Ethers.js, Web3Modal, wallet connections (MetaMask, WalletConnect)
7. **Deployment** : Testnet vs mainnet, verification scripts, gas estimation
8. **Monitoring** : Events logging, error handling, analytics dashboard
9. **Governance** : Multi-sig wallets, timelock, DAO structures
10. **Code Auditing** : Manual review + automated tools (Slither, Mythril)
Fournis le code Solidity complet, les tests Hardhat, et l'application React/Vue frontend.