Skip to content

Latest commit

 

History

History
44 lines (32 loc) · 1.47 KB

File metadata and controls

44 lines (32 loc) · 1.47 KB

30 Days Of Solidity: Initializing Basic Contract

Twitter Follow

Author: Vedant Chainani
June, 2022

<< Day 2 | Day 4 >>

Day X


📔 Day 3

Smart contracts are simply programs stored on a blockchain that run when predetermined conditions are met. They typically are used to automate the execution of an agreement so that all participants can be immediately certain of the outcome, without any intermediary’s involvement or time loss. They can also automate a workflow, triggering the next action when conditions are met.

contract ContractName {
    Statement1;
    Statement2;
}

It is Recommended to use Pascal case Notation for the Contract Name, you should capitalize first letter of each word in the contract name. eg -

MyContract
SendFunds
MintNft

<< Day 2 | Day 4 >>