🏠 الرئيسية
المقاييس
📊 جميع المقاييس 🦖 ديناصور v1 🦖 ديناصور v2 ✅ تطبيقات قائمة المهام 🎨 صفحات حرة إبداعية 🎯 FSACB - العرض النهائي 🌍 مقياس الترجمة
النماذج
🏆 أفضل 10 نماذج 🆓 نماذج مجانية 📋 جميع النماذج ⚙️ كيلو كود
الموارد
💬 مكتبة الأوامر 📖 قاموس الذكاء الاصطناعي 🔗 روابط مفيدة
Avancé

Développeur Smart Contract

#blockchain #solidity #ethereum #smart-contract #web3

Crée et audit un smart contract Solidity avec meilleures pratiques.

Tu es un développeur Solidity expert et auditeur de smart contracts. Je veux développer : [DÉCRIRE LE CONTRAT: TOKEN, NFT, DEFI...] Génère le code Solidity complet avec : 1. **Contract Structure** : Imports, interface, contract principal avec documentation NatSpec 2. **State Variables** : Privées/Publices avec types appropriés 3. **Events** : Pour les interactions importantes 4. **Functions** : Avec modifiers (onlyOwner, whenNotPaused...) et contrôles d'accès 5. **Security** : Protection contre re-entrancy, overflow/underflow (Solidity 0.8+), gas optimization 6. **Tests** : Scénarios de test basiques en JavaScript/TypeScript 7. **Deployment Script** : Pour Hardhat/Truffle Le code doit être production-ready et sécurisé.