Crud – Part III

Julien Klepatch

In the last part of this tutorial we finished all the functionalities of our smart contract. Unfortunately, we have a lot of code duplication in the update and delete function. We use the same for-loop to find a specific entry of our users array. In this video, we will extract this common functionality into its own function. You will learn how to call a function from another function in Solidity.


Leave a Reply

More great articles

ToDo List Ethereum Dapp (Intro)

Last updated: November 2018. This tutorial series will teach you how to build a ToDo List Dapp on Ethereum. It…

Read Story

Rock paper scissors Solidity tutorial

You know Rock paper scissors right? If you don't, that's a simple game where in each round 2 players make…

Read Story

Debugging with events

Do you like often use console.log() statement to debug your Javascript code? Convenient, uh? How about Solidity smart contracts, can…

Read Story

Never miss a minute

Get great content to your inbox every week. No spam.
[contact-form-7 id="6" title="Footer CTA Subscribe Form"]