Skip to content

Truffle Setup

Let's setup Truffle and import the OpenZeppelin Token Library. We are using Truffle 5.3.7 and OpenZeppelin 4.1.0 for this project.

ERC721 Token Prototype

For our token, we will be using Truffle and the OpenZeppelin Contracts. The first step is therefore to initialize a new Truffle Project and add in the OpenZeppelin contracts.

If you haven't installed truffle globally yet, then install truffle first:

npm install -g truffle

Then create a new folder, open VSCode (or PowerShell, or a Terminal), init a new Truffle project and install OpenZeppelin Contracts:

truffle init
npm install @openzeppelin/contracts


Last update: June 23, 2021