👁️Pact Overview

A typical Pact smart contract executes some top-level setup code by defining one or more keysets and entering namespaces. Then, it defines a module and/or interface that other modules can reference. Finally, it executes more top-level code to initialize data required by the module, such as creating new tables. Each of these steps introduces critical concepts for Pact development.

We’ll take all these steps in our smart contract. We’ll begin by exploring namespaces, keysets, interfaces, and modules. Then we’ll implement the “nucredit-faucet-faucet” module and finish up by initializing some data.

Last updated