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 _generateAnchor #18

Closed
Akashneelesh opened this issue May 28, 2024 · 5 comments
Closed

[feat] Implement the functionality of _generateAnchor #18

Akashneelesh opened this issue May 28, 2024 · 5 comments
Assignees
Labels
Cairo Smart contract Hard

Comments

@Akashneelesh
Copy link
Collaborator

Akashneelesh commented May 28, 2024

Internal function to create a _generateAnchor
https://github.com/allo-protocol/allo-v2/blob/4dd0ea34a504a16ac90e80f49a5570b8be9b30e9/contracts/core/Registry.sol#L340

Resources :
https://book.cairo-lang.org/title-page.html
https://book.cairo-lang.org/ch14-01-contract-storage.html?highlight=lega#storage-mappings

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

Blobstream Solidity : https://github.com/celestiaorg/blobstream-contracts/tree/master/src/lib/tree
Blobstream Cairo: 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)

@Akashneelesh Akashneelesh added Cairo Smart contract Hard labels May 28, 2024
@RajeshRk18
Copy link

I will take up this one!

@Akashneelesh
Copy link
Collaborator Author

Done assigned, less go !!

@BenFaruna
Copy link

Hello @RajeshRk18 are you still working on this?
I would like to take this up if you're not done or wouldn't be proceeding with it anymore

@byteZorvin
Copy link

I would like to work on this, if its yet to be taken up.

@Akashneelesh
Copy link
Collaborator Author

A heads up - This is something thats already worked

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

No branches or pull requests

4 participants