A self-executing protocol that triggers when specific conditions are met on the Blockchain.
while(true){
if (condition){
//then perform some action
}
}
They are:
- Immutable. If you want to change a smart contract you need to make a new one and then tell all users to migrate to using the new one
- Distributed. All users have the same smart contract