Overview
The ethereum-boilerplate is a collection of React components and hooks for fast building dApps without the need for running one’s own backend. It is built on react-moralis and Moralis, and provides a context provider for quick access to chainId or ethAddress. The boilerplate includes components that do not require an active web3 provider, as they use Moralis Web3 API. It also supports multiple blockchains and their test networks.
Features
- React components and hooks for fast building of dApps
- No need for running own backend
- Built on react-moralis and Moralis
- Context provider for quick access to chainId or ethAddress
- Components that do not require an active web3 provider
- Support for multiple blockchains and their test networks
Installation
To install the ethereum-boilerplate, you can follow these steps:
- Clone or fork the ethereum-boilerplate repository.
- Install all dependencies.
- Rename the file
.env.local.exampleto.envin the main folder and provide yourappIdandserverUrlfrom Moralis. - Run your App.
Example:
$ git clone <repository-url>
$ cd ethereum-boilerplate
$ npm install
$ mv .env.local.example .env
Summary
The ethereum-boilerplate is a collection of React components and hooks that allow for fast building of dApps without the need for a backend. It is built on react-moralis and Moralis, providing easy access to chainId and ethAddress. The boilerplate includes components that do not require an active web3 provider, using Moralis Web3 API instead. It also supports multiple blockchains and their test networks. With an active and helpful community, the ethereum-boilerplate is a valuable resource for developers looking to build Ethereum dApps quickly.