Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/parthjohri/full-stack-dapp
This is a basic decentralized application (DApp) that demonstrates the integration of Solidity, React, Hardhat, and the Sepolia testnet. The DApp allows users to interact with a simple smart contract deployed on the Sepolia testnet.
https://github.com/parthjohri/full-stack-dapp
dapp hardhat react solidity vite web3
Last synced: 26 days ago
JSON representation
This is a basic decentralized application (DApp) that demonstrates the integration of Solidity, React, Hardhat, and the Sepolia testnet. The DApp allows users to interact with a simple smart contract deployed on the Sepolia testnet.
- Host: GitHub
- URL: https://github.com/parthjohri/full-stack-dapp
- Owner: ParthJohri
- Created: 2024-01-30T19:01:04.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-30T19:30:47.000Z (about 1 year ago)
- Last Synced: 2024-11-10T20:07:33.291Z (3 months ago)
- Topics: dapp, hardhat, react, solidity, vite, web3
- Language: JavaScript
- Homepage: https://web3-dapp-wave.netlify.app/
- Size: 422 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Full-Stack-Dapp 🚀
This repository contains a basic decentralized application (DApp) that demonstrates the integration of Solidity, React, Hardhat, and the Sepolia testnet. The DApp allows users to interact with a simple smart contract deployed on the Sepolia testnet.
Visit [https://web3-dapp-wave.netlify.app/](https://web3-dapp-wave.netlify.app/) in your web browser to interact with the DApp.
## Prerequisites 🛠️
Make sure you have the following tools installed on your machine:
- Node.js 📦
- npm (Node Package Manager) 📦
- Hardhat ⚙️
- React ⚛️## Installation 🚧
1. Clone the repository:
```bash
git clone https://github.com/your-username/simple-dapp.git
```2. Navigate to the project directory:
```bash
cd simple-dapp
```3. Install dependencies:
```bash
npm install
```## Configuration ⚙️
1. Create a `.env` file in the project root and add your Sepolia testnet API key, also your metamask private key in your env:
```env
SEPOLIA_API_KEY=your_sepolia_api_key
PRIVATE_KEY=metamask_api_key
```Replace `your_sepolia_api_key` with your actual Sepolia testnet API key.
## Usage 🚀
1. Compile the smart contract:
```bash
npx hardhat compile
```2. Deploy the smart contract to Sepolia testnet:
```bash
npx hardhat run scripts/deploy.js --network sepolia
```3. Start the React app:
```bash
npm run dev
```