Summary
Keywords
Full Transcript
#solidity #ethereum #blockchain Solidity Programming Course - Part 13 β€οΈ This video (0:00 - 17:58) covers the fundamentals of using arrays in Solidity programming. It explains how to define both dynamic and fixed-size arrays, and demonstrates various built-in functions for managing them within a smart contract. Key Topics Covered: Array Definition (0:32): Explaining syntax for dynamic arrays (uint[]) and fixed-size arrays (uint[10]). Functions for Manipulation (2:56 - 10:35): setArray to add data using the push keyword. getArray to read all elements. getArrayLength to check the current size using the length operator. getItemById to access specific elements via index. deleteArrayById to remove elements using the delete keyword. Creating Arrays in Memory (10:36): Using the new operator to create a dynamic array within a function. Code Execution (13:55): A practical demonstration of deploying the contract in the Remix IDE and testing all functionalities. β€οΈβ€οΈ Resources πβ€οΈβ€οΈ Github: https://github.com/akshaykurhekar/solidity-programming β€οΈβ€οΈ Topic Covered πβ€οΈ 1. Array definition 2. setArray function 3. getArray function 4. getArrayLength function 5. getItemById function 6. deleteArrayById function 7. createArray function 8. Code execution. Timeline: 0:00 - Intro 0:32 - Array definition 2:56 - setArray function 4:02 - getArray function 5:56 - getArrayLength function 7:28 - getItemById function 8:45 - deleteArrayById function 10:36 - createArray function 13:55 - Code execution. Playlists πβ€οΈ: https://www.youtube.com/playlist?list=PLTqJEAOVD7bpHR2CTaFVd9mJMZQYDF7ah https://www.youtube.com/playlist?list=PLTqJEAOVD7brZG5sLww_XuGEJTYRv1hm1 https://youtube.com/playlist?list=PLTqJEAOVD7boUDVH0WHY6zdY2VpZNQmh5&si=U6X8P3hzIButcslF https://www.youtube.com/playlist?list=PLTqJEAOVD7bqy7ll24DQeS2rs9WtDHQiC https://www.youtube.com/playlist?list=PLTqJEAOVD7bqEUavfK3e2Np2vHhKtBXO- β€οΈπ Social Handleβ€οΈπ You can Follow me on: IinkedIn : https://www.linkedin.com/in/akshay-kurhekar-64438a168/ Instagram: https://www.instagram.com/akshay_kurhekar/ Dev Community: https://dev.to/akshaykurhekar So, what are you waiting for? Hit the subscribe π button, share π this video with your friends, and don't forget to smash that like π button. I'll see you in the next video. Until then, β€οΈJAI HIND! β€οΈ
