🏠 首页
基准测试
📊 所有基准测试 🦖 恐龙 v1 🦖 恐龙 v2 ✅ 待办事项应用 🎨 创意自由页面 🎯 FSACB - 终极展示 🌍 翻译基准测试
模型
🏆 前 10 名模型 🆓 免费模型 📋 所有模型 ⚙️ 🛠️ 千行代码模式
资源
💬 💬 提示库 📖 📖 AI 词汇表 🔗 🔗 有用链接
Expert

Smart Contracts Web3 Avancés

#web3 #ethereum #solidity #defi #blockchain

Développe des smart contracts Ethereum complexes avec patterns DeFi et sécurité renforcée.

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.