Introduction to Smart Contracts
Prerequisites
Install the
koinos-sdk-as-cli
from MODULE 4: YOUR FIRST CONTRACT WITH KOINOS-SDK-AS-CLIReview databases from MODULE 6: LAUNCH A TOKEN WITH THE KOINOS-SDK-AS-CLI.
Review the usage of
google protocol buffers
(akaprotobuf
).
Outline of What to Expect:
Here is how we should generally approach the development of our code for our dApp smart contract:
Determine our contract entry points and use them to develop our
.proto
file.Generate a boilerplate using our entry points.
Copy the boilerplate file and begin developing our entry point logic.