Now, let's focus on the interesting part. To examine how we can compile and deploy a contract using Truffle, we will use a simple introductory example. Don’t worry! We will start building the game soon. We will use the hello world example we built in the previous chapter, Peer-to-Peer Auctions in Ethereum. Copy the contract code into a hello.sol file and put it into Truffle’s contracts/ folder.
Let's see how can we use Truffle to compile and deploy this first contract.