🛠️ An Ethereum template to help you get building ASAP with all the necessary tools you'll actually use!
⛓️ This template allows you to build Full-Stack Blockchain Applications.
💥 All the sections below utilize the power of TypeScript.
🎨 Front-end: Next.js (React), Tailwind CSS, Ethers.js, MetaMask, IPFS, Pinata
👷♂️ Smart Contracts: Hardhat, Ethers.js, TypeChain, OpenZeppelin, Mocha, Chai, Waffle
🗃️ Back-end: Node.js, MongoDB, Mongoose, Express, Ethers.js, Joi
NOTE: Required a UNIX terminal like Windows WSL, Bash, ZSH, Fish, Shell, etc.
Using the script will create a new project at my-dapp
in the current working directory.
yarn create ether-dapp my-dapp
cd my-dapp
yarn dev
It's required that you have yarn
installed. If you don't, simply run npm i -g yarn
.
Using yarn create ether-dapp
ensures that you always use the latest version.
Once the app is running using yarn dev
you can view at:
- Frontend http://localhost:3000
- Backend http://localhost:5000
To use this template, all you have to do is select "Use this template" from within the main GitHub repository of this project. This will allow you to create a brand new repo using this template as a starting base.
After creating a new repo by using this one as a template, clone your new repo into your IDE of choice. Once cloned, go into your new cloned repo & run:
yarn install
You can also cd
into all 3 directories (frontend
, backend
, & hardhat
) & run yarn install
.
You can run the backend, frontend, and local blockchain node all from 1 single terminal instance. To do so, run the following command from your project's root directory.
yarn dev
This utilizes a package called concurrently
that allows you to concurrently run all instances from a single terminal.
This project was insipired by:
If you find any issues, please report them in the Issues.
Also, if you see something that could be improved, feel free to contribute!
If for some reason you are getting an error during the installation, try running:
yarn global remove create-ether-dapp
yarn create ether-dapp my-dapp