Lesson Overview

Welcome

In this tutorial, we will learn about the developing smart contracts in Cadence.

What are Smart Contracts?

A contract in Cadence is a collection of type definitions of interfaces, structs, resources, data (its state), and code (its functions) that lives in the contract storage area of an account in Flow. Contracts are where all composite types like structs, resources, events, and interfaces for these types in Cadence have to be defined. Therefore, an object of one of these types cannot exist without having been defined in a deployed Cadence contract.

How to use this tutorial ?

This tutorial is designed to be interactive. You will be presented with a series of lessons, each of which will introduce you to a new concept in Cadence. You can know more about Cadence from here

Each lesson will include a short explanation of the concept, followed by a quiz. The quiz will present you with a series of questions about the concept. You will be able to answer the questions by writing Cadence code in the editor on the right side of the screen.

You can also try Flow Playground to write and test your code. After completion of the course you will be awarded with a NFT.