Transition to Web3 - Course 4 | How Smart Contracts Work
🧠Reminder: For new blocks to be added to the blockchain, they need to be mined.
After the triggers to execute smart contracts go into a block, miners incorporate the block into the mining process.
Miners execute the code (“smart contract”) and then mining takes place. This is how codes are executed in blockchain! After the code is executed, mining starts, and the block is created.