Vagabonds-Labs / cofiblocks

Welcome to Cofiblocks marketplace: A Starknet web3 platform to innovate Costa Rica coffee industry. Cofiblocks connects small coffee farmers directly with coffee lovers, cutting out unnecessary intermediaries.
https://www.cofiblocks.com/
3 stars 7 forks source link

Develop Marketplace Smart Contract #17

Open brolag opened 5 days ago

brolag commented 5 days ago

Create and deploy a Cairo smart contract on Starknet to manage the core marketplace functionalities, including product listings, transactions, and ownership transfers of NFTs.

devcollinss commented 3 days ago

Hello @brolag,

I am Collins Ikechukwu, and I am eager to take on this task. With 4 years of experience as a full-stack JavaScript developer, I have a strong background in developing frontend web applications, particularly using Next.js. I’ve contributed to OnlyDust in projects involving Next.js, Cairo, TypeScript, and JavaScript. I’m confident that I can handle this task effectively and would be grateful if you could assign it to me.

onlydustapp[bot] commented 3 days ago

Hey @devcollinss! Thanks for showing interest. We've created an application for you to contribute to Cofiblocks. Go check it out on OnlyDust!

Benjtalkshow commented 3 days ago

Hello @brolag,

I am Nnaji Benjamin, and I am eager to take on this task. With 4 years of experience as a full-stack JavaScript developer, I have a strong background in developing frontend and blockchain applications, particularly using Next.js. I’ve made over 18 contributions to OnlyDust in projects involving Next.js, Cairo, TypeScript, and JavaScript. I’m confident that I can handle this task effectively and would be grateful if you could assign it to me.

Technical Approach:

Define Marketplace Requirements: I will outline the core functionalities the marketplace smart contract needs to support, including product listing, purchasing, and NFT ownership transfers.

Design Smart Contract Architecture: I will plan the smart contract structure in Cairo, defining the necessary state variables, functions, and events for product listings, transactions, and ownership transfers, as well as ERC-1155 support for NFTs.

Implement Marketplace Smart Contract in Cairo: I will write the marketplace contract using Cairo, ensuring compatibility with the Starknet protocol and incorporating the ability to list products, process transactions, and transfer NFT ownership.

Integrate Role Management: I will implement role-based access control, allowing only authorized users to perform actions like listing products or managing transactions.

Deploy to Starknet Testnet: Once the contract is implemented, I will deploy it to the Starknet testnet for initial testing.

Write and Execute Tests: I will develop and run test cases using Cairo’s testing tools to ensure the contract behaves as expected.

Audit and Security Review: I will conduct a security audit to identify and fix any vulnerabilities in the contract.

Deploy to Starknet Mainnet: After testing and auditing, I will deploy the marketplace smart contract to the Starknet mainnet.

Document Contract Usage: I will create documentation on how to interact with the marketplace contract, including examples for users and developers using Starknet.js.

onlydustapp[bot] commented 3 days ago

Hey @Benjtalkshow! Thanks for showing interest. We've created an application for you to contribute to Cofiblocks. Go check it out on OnlyDust!

bitfalt commented 2 hours ago

hiii! i'd love to tackle this issue. I've developed Cairo smart contracts before (NodeGuardians and OnlyDust). I've also dealt with implementing RBAC (Role Based Access Control) which can be seen in the following PR https://github.com/carbonable-labs/carbon-protocol-v3/pull/78.

onlydustapp[bot] commented 2 hours ago

Hey @bitfalt! Thanks for showing interest. We've created an application for you to contribute to Cofiblocks. Go check it out on OnlyDust!

brolag commented 2 hours ago

Hi @bitfalt, assigning this to you.