Smart Contract...

What is the main purpose of a smart contract?


Options are:


1-        To store cryptocurrency

2-        To automate the execution of an agreement

3-        To mine new blocks

4-        To encrypt messages



Correct Answer is:


To automate the execution of an agreement