Where does a smart contract live?

The contract is stored on the ledger on the Blockchain . So, whenever a transaction happens, a function is invoked that calls the smart contract and the processing is done. Smart Contracts are stored on the Blockchain because it is important for the contract to be available to the people making transactions.

Read more