On the Ethereum blockchain, smart contracts are account-holding objects that contain code functions and can interact with other contracts, make independent decisions, store data, and send Ether to other participants. You can define contracts yourself, but their execution, and the other services such as the distribution and consensus of transactions, or calling external Oracles (trusted data providers via REST APIs), is provided by the Ethereum network. These contracts are permanently part of the network, and by default will be executable as long as the network exists. Contracts will only disappear if they are programmed to self-destruct.

Get Blockchain across Oracle now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.