Open 0xandee opened 3 days ago
I am applying to this issue via OnlyDust platform.
I'm Joseph a blockchain developer with over four years in blockchain and backend development, I’ve worked across different ecosystems, handling everything from smart contract design to on-chain interactions and protocol integration. I focus on building secure, scalable, and reliable blockchain applications, managing both on-chain and off-chain infrastructure.
Begin by studying the codebase to ensure design consistency, then proceed to work on the task.
I am applying to this issue via OnlyDust platform.
I am a frontend and blockchain developer , with experiences in cairo, html,css, typescript and javascript. My background in blockchain and smart contract development would enable me to execute this solution effectively.
To approach the problem of implementing the YOLO Buy feature in Cairo, I would first design a contract that allows users to place non-refundable bids on NFTs, with their chances of winning weighted by the size of their bids. The contract would use Cairo's efficient data structures to track bids and employ a weighted lottery to select a winner. Once the auction concludes, the contract would transfer the NFT to the winner. I would also ensure thorough testing and optimization for StarkNet, focusing on a secure, gas-efficient implementation.
In case this is the first time you heard this, I want to implementation a cairo version of this YOLO Buy feature originally from TensorTrade. With YOLO Buy, you can place a non-refundable bid for a fraction of an NFT's listed price for a chance to win that NFT. The more you bid, the better your odds of winning. Read more: https://docs.tensor.trade/trade/yolo-buy
The contract implementation can be a separate contract(s) or best as a strategy in marketplace. And it's up to YOU to pick the way to implement enough time for ODHack!
Draft: https://github.com/Flex-NFT-Marketplace/Flex-Marketplace-Contract/pull/102 https://github.com/Flex-NFT-Marketplace/Flex-Marketplace-Contract/issues/82#issuecomment-2324274503