Important
|
The Starknet Book is a work in progress, and its content is rapidly evolving as the community contributes to its development. As a result, some sections may be incomplete or contain information that is still green. We highly encourage readers to contribute by suggesting improvements, providing feedback, or submitting new content to help us expand and refine the book. Your contributions are invaluable in making The Starknet Book a comprehensive and reliable resource for the community. |
The Starknet Book offers a structured curriculum, designed to equip individuals with the essential skills for Starknet development. It is collaboratively assembled by the Starknet community, with each chapter serving as a step on your journey to mastering the Starknet ecosystem.
The foundation of Starknet development rests heavily on understanding Cairo - the programming language pivotal for crafting Starknet smart contracts. To this end, The Starknet Book is intrinsically linked with the Cairo Book, another community-driven guide. The Cairo Book delves deep into the nuances of Cairo programming and can be accessed here.
For clarity: mastering Cairo is achieved through the Cairo Book, while Starknet’s intricacies are unfolded in The Starknet Book. An aspiring Starknet developer would greatly benefit from a thorough engagement with both resources. Within these pages, you will uncover insights on tooling, architecture, account abstractions, STARKs, and Starknet-specific applications.
Chapter | Description |
---|---|
1: Starknet Introduction |
Delve into the fundamental concepts of Starknet and acquaint yourself with the deployment of smart contracts. |
2: Starknet Tooling |
Familiarize yourself with vital tools, such as Protostar and Hardhat, and explore how languages like Javascript, Python, and Rust can be leveraged for Starknet interactions. |
3: Starknet Architecture |
Uncover Starknet’s core structure, gaining insights into the transaction lifecycle and the interplay between the Sequencer, Prover, and Nodes. |
4: Account Abstraction |
Delve deep into Starknet’s unique approach to user accounts, and master the art of crafting custom accounts. |
5: Pioneering Applications |
Investigate the frontier of Starknet’s capabilities, including On-Chain AI and Storage Proofs. |
6: STARKs |
Dive into the intricacies of STARKs and their pivotal role in shaping Starknet’s landscape. |
Depending on your goals and interests, you can choose different paths through the Starknet Book. Here are some recommendations based on various objectives:
-
If you’re a complete beginner and want to start learning about Cairo and Starknet from scratch, follow the book in its entirety, starting with Introduction to Starknet.
-
If you’re an experienced developer looking to quickly dive into writing scalable and decentralized smart contracts, focus on the Cairo Book, particularly chapter 12: Starknet Smart Contracts (link).
-
If you’re a frontend developer wanting to integrate Starknet with a React frontend using Javascript, prioritize the starknet-js and starknet-react subchapters in Starknet Tooling
-
If you’re a DevOps engineer or node operator interested in running a Starknet node and indexer, head straight to Starknet Architecture.
-
If you’re a security researcher or smart contract auditor wanting to learn about the Account Abstraction feature and its implications, go for Account Abstraction.
-
If you’re a blockchain enthusiast curious about the underlying architecture and mechanics of Starknet and Cairo, explore Starknet Architecture.
-
If you’re a cryptography expert or researcher eager to understand the fundamentals of STARKs and their connection to the Starknet ecosystem, delve into STARKs.
Feel free to mix and match these paths based on your unique interests and requirements.
We’re thrilled to have you join us on this incredible journey to create the ultimate resource for Cairo and Starknet development. By contributing to the Starknet Book, you’re not only sharing your knowledge and expertise with the world, but you’re also helping shape the future of decentralized technology. Together, we’ll build a comprehensive, accessible, and engaging curriculum that will empower developers everywhere to harness the full potential of Starknet.
As a contributor, you’ll be part of a vibrant and growing community dedicated to pushing the boundaries of what’s possible with decentralized technology. You’ll have the opportunity to collaborate with like-minded individuals from around the globe, share your unique insights, and learn from one another. Your contributions will not only enrich the Starknet community but also leave a lasting impact on the broader field of blockchain technology.
So, are you ready to embark on this epic adventure? Let’s dive in and explore the vast and exciting world of Starknet together. Here’s to the countless discoveries, breakthroughs, and innovations that await us!
Please refer to the existing Contributors Guide for detailed instructions on how to contribute. Remember, every contribution, no matter how small, makes a difference. Your expertise and passion are invaluable in helping us create a truly exceptional resource for the Starknet community. Let’s make history together!
Here are things you can do to help:
-
In most sections there is a message for builders who want to collaborate with content.
-
Empty section in a Chapter? Go for it!
-
Do you think the Starknet Book needs an additional section? Propose it.
-
Can a section be improved? Feel free to modify it.
-
Do you want to add an alternative programming language for the examples? Yes please.
-
Correct the bugs if you find any.
-
Please add an explanation in the exercise comments if you feel they need them.
-
Add exercises that show your favorite feature of Cairo.
We’ve compiled a list of valuable educational resources that will help deepen your understanding and enhance your skills in coding with Cairo and staying abreast with Starknet developments:
-
Starklings: A resource specifically designed to guide you through learning Cairo programming, ensuring that you reach a proficient level. You can access it here.
-
Starknet Community Forum: An online platform where you can engage in discussions about the latest developments in Starknet. Join the conversation here.
-
Starknet Documentation: You can browse through the documentation here.
-
Cairo Documentation: Explore it here.
-
Starknet Developer Telegram (English): A community for English-speaking Starknet developers. This is a great platform for networking, sharing ideas, and troubleshooting together. Join us on Telegram here.
We extend our sincere gratitude to these exceptional individuals who have made invaluable contributions to the Starknet Book: