NethermindEth / StarknetByExample

A collection of examples of Cairo smart contracts for Starknet.
https://starknet-by-example.voyager.online/
MIT License
110 stars 84 forks source link

Feature: NFT Dutch Auction #187

Closed julio4 closed 3 months ago

julio4 commented 4 months ago

Description

In this example, we will show the implementation of an NFT minting contract using a Dutch Auction, where the minting price follows a decreasing price curve.

Minting Details

Criteria:

Resources:

ODHack

To be eligible for additional rewards, be sure to review and follow the ODHack Common Guidelines and Contributing Guidelines. Be sure to join the telegram group and introduce yourself.

princeibs commented 4 months ago

Can I hop on this?

muheebyusufbaba1 commented 4 months ago

I'll like to work on this

princeibs commented 4 months ago

Kindly drop link to the StarknetByExample telegram group please. @julio4

saimeunt commented 4 months ago

Hi @julio4, I'm a returning contributor from previous ODHacks (check my OD profile here) and I'd love to handle this issue.

In particular, I have experience porting Solidity code to Cairo as I did in Solidity EIPs to Cairo conversions such as ERC7496 and ERC7498. I will study the Solidity by Example code and carefully replicate it using Cairo and OpenZeppelin ERC20/ERC721 implementations. I will replace the Solidity price logic using msg.value with proper Starknet logic using an ERC20 as price token and transfer_from method. I will include starknet-foundry to write comprehensive tests making sure we have 100% coverage for this example and deploy on Starknet Sepolia.

julio4 commented 4 months ago

Hello everyone! I assigned @princeibs for this time!

saimeunt commented 4 months ago

@princeibs Are you still working on this? @julio4 Following up on my TimeLock implementation in #201 I'd like to continue working on StarknetByExample and handle this issue (please refer to my previous comment).

princeibs commented 4 months ago

Yeah sure. Almost done. Will be creating a PR asap.

julio4 commented 4 months ago

Yeah sure. Almost done. Will be creating a PR asap.

Thank you, please open a draft PR as soon as possible!