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

update lib.cairo and add tree.cairo etc. #122

Closed
wants to merge 2 commits into from

Conversation

suiwater
Copy link

References book cairo
References OpenZeppelin
update lib.cairo and add tree.cairo etc.

Copy link

vercel bot commented Mar 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
blobstream-starknet ⬜️ Ignored (Inspect) Visit Preview Mar 17, 2024 8:05am

@drspacemn
Copy link
Contributor

Thank you for your contribution @suiwater!

As for the top-level module definition we find that for a smart contract repo this bulk definition is a bit easier to navigate.

I was however looking in book.cairo-lang and didn't see anything specifically mentioning the sub-dir module struct. Can you point it out if it's there?

@suiwater
Copy link
Author

https://book.cairo-lang.org/ch07-02-defining-modules-to-control-scope.html
backyard/
├── Scarb.toml
└── src
├── garden
│ └── vegetables.cairo
├── garden.cairo
└── lib.cairo

@drspacemn
Copy link
Contributor

Thank you for the PR, we are planning on keeping main lib definition as is

@drspacemn drspacemn closed this Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants