Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Coursera

Solidity In-Depth: Arrays, Mappings, and Advanced Structures

Packt via Coursera

Overview

Dive deep into Solidity's core data structures in this advanced course that builds on foundational knowledge of smart contract programming. Starting with constructors, you'll explore how to initialize smart contracts and manage state variables. The course transitions to mastering arrays in Solidity, covering crucial methods like push, pop, and length, as well as array manipulation techniques such as deletion and compacting arrays. Next, you’ll learn to work with enums, structs, and mappings, essential components for creating more complex and efficient smart contracts. The course includes hands-on exercises to practice writing custom data types and associating values with mappings, and you'll solve real-world coding challenges along the way. Enums and structs are covered in detail, showing how to group data and define custom types, preparing you to write more structured and maintainable contracts. Lastly, the course dives into nested mappings and the assignment of structs within mappings, a powerful tool for developing scalable and secure contracts. By the end, you will have mastered the tools needed to work with advanced Solidity data structures, laying a solid foundation for further exploration of blockchain development. This course is designed for developers with a basic understanding of Solidity and blockchain development. Prerequisites include familiarity with smart contracts, basic Solidity syntax, and introductory data structures.

Syllabus

  • Structures and Libraries in Solidity
    • In this module, we will delve into the essential aspects of advanced Solidity structures, including constructors, arrays, and mappings. You’ll gain practical experience through hands-on exercises with these data structures, learning to efficiently manage and store complex data in your smart contracts.
  • Learn Solidity Basics IV (Conversions and Special Variables)
    • In this module, we will dive into conversions in Solidity, covering bit and unit conversions as well as Ether denominations. You'll practice asserting conversions and suffixes through exercises, then explore the significance of global and special variables for efficient contract management.
  • Learn Functions in Solidity
    • In this module, we will explore Solidity functions in depth, starting with modifiers and ending with cryptographic functions. You will learn how to write more efficient code through multiple returns, destructuring, and the use of fallback functions, followed by exercises to solidify these skills.

Taught by

Packt - Course Instructors

Reviews

Start your review of Solidity In-Depth: Arrays, Mappings, and Advanced Structures

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.