7.1 Creating a new project
Our initial project involves creating a multiplayer counter contract.
The contract will include a data store that maintains a counter for each principal. It will also have a public function, count-up, which will increase the counter for the transaction sender. Additionally, there will be a public function, get-count, which will return the current counter value for the specified principal. After the contract is completed, we will explore manual project interaction and automated testing.
To begin, create a new folder named 'projects' and open it in Visual Studio Code. Then, access the built-in terminal emulator by selecting 'New Terminal' from the Terminal menu.
Last updated