๐ Folder System Overview
Organizing your Smart Dev resources using a structured file system is essential for maintaining clarity and efficiency in your Web3 projects. While itโs possible to place all resources at the root level, adopting a well-organized folder structure significantly enhances navigation speed and project scalability.
๐๏ธ Why Use Folders?
- ๐ Easier Navigation: Quickly locate specific resources without sifting through a cluttered root directory.
- ๐ Scalability: Seamlessly manage and expand your project as it grows in complexity.
๐ ๏ธ Recommended Folder Structure
To get the most out of Smart Dev, we recommend organizing your project resources into the following folder structure:
Tip: Tailor the folder names to match the specific needs of your project for optimal organization.
๐ Suggested Structure
Below is an example of how your project directory should look using the recommended structure:
๐ Folder Descriptions
Note: [your_project_path]
can be nested within multiple folders based on your projectโs structure, example:
sub_project/sub_dir/*
.
๐ contracts/
Store all your smart contract files here.
๐ wallets/
Doesnโt lose your wallets anymore! Keep them in this directory.
๐ pools/
Organize your wallets pools in this directory. Keeping these resources together simplifies the management of your pools.
๐ resources/
Store any additional resources, such as documentation, images, or other files that are not directly related to contracts, wallets, or pools.
๐ Best Practices
- Consistent Naming: Use clear and consistent naming conventions for folders and files to avoid confusion (we recommend kebab-case).
- Modularization: Break down large folders into smaller subfolders to manage resources more effectively.
- Documentation: Include README or resources files within each folder to describe the purpose and usage of its contents.
By following this structured approach, youโll ensure that your Smart Dev projects remain organized, scalable, and easy to navigate. Happy building! ๐