A modern full-stack Ethereum development starter boilerplate integrating:
- Hardhat for smart contract development & testing
- Vite + React for fast frontend development
- Tailwind CSS & Bootstrap for styling
- Ethers.js v6 for blockchain interactions
- Ethereum smart contract compilation, deployment, and testing with Hardhat
- React frontend scaffolded with Vite for lightning-fast refresh & build
- Responsive UI using Tailwind CSS + Bootstrap styles
- Ethers.js integration for easy contract calls and wallet connection
- Preconfigured PostCSS and Tailwind setup
- Git-ready boilerplate for quick start
- Node.js >= 18.x
- npm or yarn
- MetaMask or other Web3 wallet (for frontend interactions)
git clone https://github.com/Adz30/hardhat-viteReact-starter.git
cd hardhat-viteReact-starter
npm install
Running Locally
Start the frontend dev server:
npm run dev
Start Hardhat local node & tests:
npx hardhat node
npx hardhat test
Project Structure
/frontend # React + Vite frontend
/contracts # Solidity smart contracts
/scripts # Deployment and utility scripts
/tests # Hardhat tests in TypeScript
Usage
Develop & test smart contracts with Hardhat
Build React components for dApp frontend
Use Tailwind & Bootstrap CSS for UI styling
Interact with contracts via Ethers.js