Crud – Part I

Julien Klepatch

We will start a CRUD smart contract in Solidity. Crud stands for Create, Read, Update and Delete, and represent a very standard set of data operation that most application needs to do. Once you know these 4 operations, you are well-equipped to develop a large range of smart contracts. In this video, you will learn to:

  • Represent complex piece of data with Solidity struct, similar to Javascript objects
  • Create array of structs
  • Find a specific entry of an array with a for-loop
  • Create and Read in CRUD

0 Comments

Leave a Reply

More great articles

Testing integers in smart contract with Truffle and bn.js (Big Number)

In Solidity smart contract, you might have to deal with huge numbers, especially when doing financial transfers. Don't forget that…

Read Story

Lottery in Solidity

This video is a tutorial to build a lottery smart contract in Solidity. The rules are simples. In each round…

Read Story

Install Truffle 5.0

Before we can continue in our course on Solidity smart contract testing, we need to install Truffle 5.0, so that…

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