🏠 Trang chủ
Benchmark
📊 Tất cả benchmark 🦖 Khủng long v1 🦖 Khủng long v2 ✅ Ứng dụng To-Do List 🎨 Trang tự do sáng tạo 🎯 FSACB - Trình diễn cuối cùng 🌍 Benchmark dịch thuật
Mô hình
🏆 Top 10 mô hình 🆓 Mô hình miễn phí 📋 Tất cả mô hình ⚙️ Kilo Code
Tài nguyên
💬 Thư viện prompt 📖 Thuật ngữ AI 🔗 Liên kết hữu ích
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é.