Getting started with Drizzle
Drizzle is a collection of frontend libraries based on the Redux store to make writing DApps easier. You have complete access to various development tools that are provided by Redux. Drizzle provides fully reactive contract data, including state, events, and transactions. In this recipe, you will learn about installing and using Drizzle in your application.
Getting ready
Drizzle is distributed via npm
, and you need to have Node.js installed on your machine to get it. You also need to have a working Ethereum network for testing and deployment purposes.
How to do it...
- Drizzle is based on JavaScript and is distributed via npm. Use the npm install command to get the library:
npm install --save drizzle
If you are already using React, you can get the react flavored drizzle to use with your application. Use the npm install --save drizzle-react command to get the library. If you are starting from scratch, it is recommended to get the drizzle box using truffle unbox drizzle...