Odak modu
Task: Decentralized Marketplace Smart Contract System
Your task is to create a decentralized marketplace using Solidity. The system should enable users to list, buy, and sell items in a secure and transparent manner.
- Creating a Contract: Utilize Solidity to create a contract that manages the listing of items.
- Types and Variables: Define various types such as Boolean, Address, Integers, String, and Bytes to represent item attributes.
- Structs: Use structs to define an item with attributes like name, description, price, and quantity.
- Mappings: Implement mappings to manage the relationship between sellers and their listed items.
- Functions: Create functions to allow users to list, edit, and delete items.
- Modifiers: Implement modifiers to ensure that only the owner of an item can edit or delete it.
- Events: Utilize events to notify users of significant actions like a successful purchase or listing of an item.
- Errors: Implement error handling to manage invalid inputs, such as purchasing an out-of-stock item.
- Constructor: Utilize a constructor to initialize key contract parameters.
- Control Structures: Implement control structures to manage the logic of buying and selling.
- (Optional) Interfaces and Interacting Contracts: Allow interaction with other contracts, such as a payment gateway.
- (Optional) Call and Interacting Contracts: Enable calling functions from other contracts.
- Inheritance: Utilize inheritance to create a hierarchy of contracts, if needed.
- Data Locations: Understand and apply the concepts of storage, memory, and stack within the contract.
- (Optional) Libraries: Utilize libraries to generate reports showing the marketplace's sales, purchase history, and inventory.
- Implement basic security measures, such as authentication, to prevent unauthorized access to sensitive functions.
- Design a clear and intuitive text-based user interface for easy navigation and task performance.
You should submit your project in a GitHub repository, including detailed documentation on how to deploy and interact with the contract, as well as a README file with instructions for building and running the system. Please include a comprehensive suite of test cases to demonstrate the correctness of your code.
Good luck, and enjoy building your Decentralized Marketplace Smart Contract System with Solidity!
Sektörde en çok aranan yazılım becerilerini kazan
Yapay zeka desteği, birebir mentörlük saatleri, canlı dersler ve senin için özel hazırlanmış içeriklerle eksiklerini tamamla, düzenli geri bildirimler al ve öğrenme sürecini en verimli hale getir.
Yunus Emre Kabakcı
Patika+ mezunuPatika+ Fullstack Web Development Bootcamp mezunumuz Yunus Emre,
3 ay içinde Katar’dan aldığı teklif ile, global bir şirket olan Pavo Group’da işe başladı!
“İçerik zenginliği, mentor desteği, ileriye dönük bir network sağlaması ve dünyada en çok tercih edilen frameworkler üzerinden bir eğitim veriyor olması Patika+’ı tercih etmemin temel sebepleri oldu!“
Yorum yapabilmek için derse kayıt olmalısın!