© Shashank Mohan Jain 2023
S. M. JainA Brief Introduction to Web3https://doi.org/10.1007/978-1-4842-8975-4_6

6. Truffle

Shashank Mohan Jain1  
(1)
Bangalore, India
 

So far, we have seen how to use the Remix integrated development environment (IDE) to create smart contracts, compile them, and then deploy them to the blockchain network. In our example, we deployed our contracts to the Ropsten test network. Apart from Remix, there are standalone frameworks that allow us to create, compile, test, and deploy contracts. Truffle is one such framework available to us.

6.1 Truffle Installation

Before we use Truffle, we need to install the following software. We will install everything on a Windows machine, but steps will be similar for a Linux system.

6.1.1

Get A Brief Introduction to Web3: Decentralized Web Fundamentals for App Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.