// 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. fileciteturn0file0
📦 Download the complete MetaCoin project used in this tutorial from GitHub:
Download the MetaCoin Truffle Project
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
- Open the Extensions panel.
- Install the Solidity extension.
- Optionally install Material Icon Theme.
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.