The piggy bank smart contract#
In this tutorial, you are going to build a simple smart contract modelling a piggy bank. It should allow any account to insert CCD and only the owner to smash it, taking all of the CCD inside.
The second part is about how to test your piggy bank smart contract with unit tests.
The third part is about how to setup your testnet node on a server.
The fourth part is about how to deploy your piggy bank smart contract to the Concordium testnet and interact with it.
The reader is assumed to have basic knowledge of what a blockchain and smart contracts are, and to have some experience with Rust.
To start the tutorial click here.