Content
The Ethereum community refers to applications based on smart contracts as decentralized apps. If we understand the blockchain as an immutable database and the smart contract as the program that interacts with the database, then it is easy to understand Dapp. A Dapp not only has smart contracts, for example, it also needs a friendly user interface and other things.
Truffle
Truffle is a Dapp development framework. It can help us deal with a lot of trivial things, so that we can quickly start the process of writing code-compiling-deploying-testing-packaging DApp.
to sum up
Let’s summarize now. Ethereum is a platform. It allows us to use blockchain technology to develop decentralized applications. In this application, we use Solidity to write smart contracts that interact with the blockchain. After the contract is written After that, we need to use an account with a balance on the Ethereum client to deploy and run the contract (using the Truffle framework can better help us do these things). For development convenience, we can use Geth or testrpc to build a test network.
Note: In this article, in order to facilitate your understanding, some concepts are analogous, some are not strictly accurate, but I also think that for beginners, there is no need to master each concept very meticulously and accurately. Learning is a gradual in-depth study. Process, many times we will find that after a period of time, we will have a different understanding of the same thing.