02 - Introduction part 2
Overview
- Description:: continuation of introduction
Smart contracts (again)
Mere pieces of code!
If you want to invoke a smart contract you use a transaction! (metaphor: cheque)
The blockchain is just a sequence of sliced ladders.
Create a new smart contract
-
To deploy a new smart contract we begin our transaction with our data in a payload to an empty address (pick by a protocol, we don’t handle it).
-
A new smart contract account will be created.
-
From now on, everytime someone wants to execute that code will pay that address.
-
The code needs to be complicated (fees)!
-
The code is half public and half not.
Web3.0
- classic client-server infrastructure with smart contracts behind