keep-starknet-strange / gitcoin-allo-starknet

Gitcoin Allo protocol for Starknet 🐺
MIT License
15 stars 41 forks source link

[feat] Implement the functionality of createProfile #13

Open Akashneelesh opened 4 months ago

Akashneelesh commented 4 months ago

Down below is the function that is to be implemented in the contract but in cairo. Use u256 instead of bytes32. https://github.com/allo-protocol/allo-v2/blob/4dd0ea34a504a16ac90e80f49a5570b8be9b30e9/contracts/core/Registry.sol#L118C5-L125C18

Resources : https://book.cairo-lang.org/title-page.html https://book.cairo-lang.org/ch08-01-generic-data-types.html?highlight=struct#structs

If you have any doubts over on how to implement something similar to this you can try discovering few cairo code bases such as :

Unruggable memecoin : https://github.com/keep-starknet-strange/unruggable.meme/tree/main/packages/contracts/src Blobstream : https://github.com/keep-starknet-strange/blobstream-starknet/tree/main/src

Exclusively for Starknet India team - To onboard new devs from India Estimated Time taken to complete - 2-3 days (Max)

RajeshRk18 commented 4 months ago

I'll take up this issue! It requires _generateAnchor, _generateProfileId, _grantRole. I'll implement these too!

Akashneelesh commented 4 months ago

Hello @RajeshRk18 , it would be nice if you could take 1 issue at a time. Since you have already been assigned to an issue, we'll wait until that issue is merged and then you can take this up.

Sh0g0-1758 commented 4 months ago

Hey there @Akashneelesh, I would like to work on this issue. Can you please assign it to me.

mubarak23 commented 4 months ago

@Akashneelesh can i work on this, had implement something similar on the art peace project

Akashneelesh commented 4 months ago

Hey @mubarak23 since we work on fcfs basis, I will be assigning this issue to @Sh0g0-1758. And theres alot more issues coming up

Avinash-kumar-82 commented 3 weeks ago

hello @Akashneelesh I would like to work on this. please assign me