Truffle — world class development environment
Developing web3 platform, dapp, DeFi or DAO can be a little tricky. This process is slightly different than coding the standard app.
The successful tool which helps in implementation of decentralized solutions is truffle. In this material it will be described, how using it can be beneficial and really helpful.
Agenda:
- intro,
- what is it,
- how it works,
- conclusion.
What is it?
Authors of Truffle describe this product as a world class development environment, dedicated for testing framework and asset pipeline for blockchain, using the EVM (Ethereum Virtual machine).
If you want to know more about EVM, follow below material:
Truffle mostly aims for making web3 development lot easier. It has to be considered as a successful tool. The proof is the amount of life time downloads which is above 1.5 millions times. It is a huge number, which constantly grows.
Truffle supports entire development process by providing:
- ganache — the personal blockchain, link below:
- Drizzle — the frontend dApp development tool.
Truffle is described as a set of tools which are capable of building from end to end entire dApp.
How it works?
Truffle suit just provides set of tools for development process. Ganache, the personal local blockchain can be run as a desktop app or cli, it simulates the network like the real one, but totally for free. It is still watched by very competent developers.
More official info about ganache:
Drizzle is a collection as front end libraries, it can be installed by package manager in the project and easy implemented for custom solutions.
Components are supporting typical web3 actions, like connecting with crypto wallet or filling the form in transactions.
Moreover, drizzle is based on redux. It makes complements more functional and provides a store for global variables management throughout all subpages.
Drizzle repo is presented below:
https://github.com/trufflesuite/drizzled
Drizzle page:
The main use cases and advantages of truffle suit:
- end to end development,
- best in class debugging,
- faster, easier and safer ethereum simulation,
- UX centered design,
- security first,
- robust L1 & L2 support.
Conclusion:
Truffle is considered as one of the best tools for building dapps from end to end. Especially for beginners, it can be very safe and free. Moreover, building the frontend part is provided with simple set of components which can be easy customized.