Summary
Keywords
Full Transcript
#solidity #ethereum #blockchain Solidity Programming Course - Part 10β€οΈ This video (0:00) is the 10th episode of a Solidity programming series, focusing on explaining and demonstrating the for loop in Solidity with a practical example using the Remix IDE (0:30). Here are the highlights: Introduction to Loops: The speaker introduces the three types of loops available in Solidity: for, while, and do-while (1:36). Contract Setup: A sample smart contract named Loop is created, featuring an array variable named data to be used for demonstration (1:10). For Loop Example: A function is created to return the data array. Within this function, a for loop is implemented to iterate through a range of numbers (0-9) and push them into the data array (3:13). Testing and Execution: The speaker demonstrates compiling and deploying the contract in Remix, showing how to interact with the function to see the results of the loop (4:29). Gas Considerations: The video emphasizes the importance of using bounded loops in Solidity. Since smart contracts require gas for execution, infinite or unbounded loops can lead to transaction failures due to gas limits being exceeded (5:41). β€οΈβ€οΈ Resources πβ€οΈβ€οΈ Github: https://github.com/akshaykurhekar/solidity-programming β€οΈβ€οΈ Topic Covered πβ€οΈ 1. for loop in solidity 2. explanation with example. 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! β€οΈ
