The first tutorial on the Ethereum website describes how to create the “greeter.”

I followed this tutorial and used the code provided to deploy the smart contract. This particular contract has an interesting part, the “mortal” component.

As explained by the tutorial, a contract that has a “mortal” method can be killed by its owner, normally on the blockchain a contract will remain active for all time, so having a mortal contract can clear it up and keep the blockchain clean.

This is the code I used to deploy the contract:

I used the Remix Web Compiler to compile the code and turn it into a bytecode, this was the result:

Before too long I was able to interact with my smart contract and retrieve the greeting programmed into it:

From there, I sent the kill command to remove the contract from the blockchain, cleaning up after myself.