Truffle Suite

Truffle Suite#

Truffle is a company that has created a set of tools for smart contract development, of which we will be using Truffle and Ganache.

Truffle#

Truffle is a development environment, testing framework, and asset pipeline for blockchains using the Ethereum Virtual Machine. To install truffle on your computer, go to any terminal (yes - even in the folder you just created) and run npm install -g truffle. You may need to run it as a super-user as you are installing a global JavaScript library with the node package manager (by using the command sudo npm install -g truffle).

Ganache#

Ganache lets developers create a personal blockchain for Ethereum development. A developer can use this personal blockchain to deploy contracts, develop applications, and run tests. It is available as a desktop application and a command line tool. In this book we will be using the command line tool. To install ganache on your computer, run npm install -g ganache-cli. Again, as you are installing a global JavaScript library, you may need to run it as a super-user (by using the command sudo npm install -g ganache-cli).

To ensure that Truffle is installed correctly, you can run the following command:

 

This page is a preview of Creating an ERC20 Token on Ethereum

No discussions yet