// Mini course

Lesson 02: Create the MetaCoin Project

In this lesson, you create a project folder, configure VS Code, and unbox the sample MetaCoin application included with Truffle. The PDF identifies MetaCoin.sol and ConvertLib.sol as the two key Solidity files in the sample project. fileciteturn0file0

📦 Download the complete MetaCoin project used in this tutorial from GitHub:

Download the MetaCoin Truffle Project


Step 1: Create the folder

mkdir TruffleTest cd TruffleTest code .

The final command opens Visual Studio Code directly in the project folder.

Step 2: Prepare VS Code

Step 3: Unbox the sample cryptocurrency

truffle unbox metacoin

This downloads a sample Truffle project containing smart contracts, migrations, tests, and configuration files.

contracts/ ConvertLib.sol MetaCoin.sol migrations/ test/
MetaCoin is a teaching example. It is useful for learning project structure, contract compilation, testing, and interactions from the Truffle console.
← PreviousNext →