Open brolag opened 4 days ago
Can I handle this task?
Can I work on this, please?
Hi! @brolag I'm Joseph Poveda, I'm a member of the Dojo Coding community. A bit about my background is that I'm just starting out with Only Dust and I want to contribute as much as I can to the project. My knowledge of different programming languages will allow me to better solve problems.
cofi_collection
contract's balanceOf
method to confirm NFT ownership before allowing listing.create_product
method from the marketplace contract.register-coffee
form with fields for price and stock.I am a smart contract developer with hands-on experience in writing and deploying decentralized applications (dApps). I specialize in using Cairo, the programming language for StarkNet, to develop scalable and efficient smart contracts.
Steps to Enable NFT Listing on the Marketplace Validate Ownership Use the cofi_collection contract's balanceOf method to confirm the producer owns the NFT. Extract Listing Details Gather details like price and stock from the form inputs. Call Marketplace Contract Use the create_product method on the marketplace contract to list the NFT with the extracted details. Update the UI Add form fields for price and stock. Show loading spinners and notifications for success or errors. Complete Listing Confirm the NFT is listed on the marketplace and display success feedback to the user.
Could I be assigned to this?
Objective
Allow producers to list their minted coffee NFTs on the marketplace.
Steps
Validate Ownership
cofi_collection
contract to verify ownership via thebalanceOf
method.Listing on Marketplace
create_product
method.UI Updates
user/register-coffee
form for marketplace listing details (e.g., stock, price).Deliverables