Truffle is an integrated development framework of Ethereum smart contract. Truffle uses Ethereum Virtual Machine (EVM) to provide a development environment, test framework and asset pipeline for blockchain, aiming to make the work of developers easier. Let's start with a Truffle example to quickly understand the basic knowledge of using Truffle to develop blockchain projects, including the creation of Truffle projects, the compilation and deployment of smart contracts, and the interaction between Truffle and smart contracts to achieve blockchain transactions.
Truffle:区块链开发框架
Ganache:本地区块链开发节点
Node.js:JavaScript 运行环境
solc:Solidity 编译器
web3.js:以太坊 API 接口