Open Akashneelesh opened 5 months ago
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)
Would like to work on this issue.
Awesome less goo !!
Attaching the PR for this issue here.
hey
i want to implement : [feat] Implement the functionality of addMembers #7
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)