O'Reilly logo

Ethereum Smart Contract Development by Mayukh Mukhopadhyay

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Project smartCV

In this section, we are going to develop smart-contract-based curriculum vitae. Originally designed by Ryan Hendricks, a New-York based smart contract developer, this basic contract has two crucial modules:

  • Library (cvSection)
  • Contract (cvContract)

The contract can be further subdivided into three parts:

  1. Contract definition and constructors
  2. New profile data module
  3. Edit profile data module

Figure 10.7 depicts the library function, which is made up of various Struct datatypes:

Figure 10.7: Library definition

Each structure definition inside the library has different set of arguments. Next, we see Figure 10.8, which depicts ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required