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

Advanced Drizzle Tutorial: Create your own Dapp components with React and Context API

In the last episode I gave you an introduction to Drizzle and we built a simple Dapp using Drizzle, Truffle…

Read Story

Simple smart contract

Starting with Solidity smart contract is a bit overwhelming... the tools, the Ethereum Blockchain, the Solidity language... that's a lot…

Read Story

How To Use Ganache GUI With Truffle? | Episode 14

https://www.youtube.com/watch?v=aRJA1r1Gwu0&t=1s Ganache CLI is an Ethereum client used for developing smart contracts and dapps. It is a command-line tool but…

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