Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat] Implement the functionality of addMembers #7

Open
Akashneelesh opened this issue May 28, 2024 · 4 comments
Open

[feat] Implement the functionality of addMembers #7

Akashneelesh opened this issue May 28, 2024 · 4 comments
Assignees
Labels
Cairo Smart contract good first issue Good for newcomers

Comments

@Akashneelesh
Copy link
Collaborator

Akashneelesh commented May 28, 2024

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

Resources :
https://book.cairo-lang.org/
https://book.cairo-lang.org/ch02-05-control-flow.html?highlight=loop#repetition-with-loops

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)

@RaveenaBhasin
Copy link
Contributor

Would like to work on this issue.

@Akashneelesh
Copy link
Collaborator Author

Awesome less goo !!

@RaveenaBhasin
Copy link
Contributor

Attaching the PR for this issue here.

@Chetanck3
Copy link

hey

i want to implement : [feat] Implement the functionality of addMembers #7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Cairo Smart contract good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants