fbpx

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.

0 Comments

Leave a Reply

More great articles

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

Basic testing workflow with Truffle – Part 2

In this video, we will go through the whole process of test-driven-development (TDD) for Solidity smart contracts: writing the tests…

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"]
Arrow-up