Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rohitroy-github/vite-amazon-clone-dapp
A decentralized Amazon.in powered by blockchain.
https://github.com/rohitroy-github/vite-amazon-clone-dapp
dapp ethereum ethersjs hardhat solidity vite
Last synced: about 1 month ago
JSON representation
A decentralized Amazon.in powered by blockchain.
- Host: GitHub
- URL: https://github.com/rohitroy-github/vite-amazon-clone-dapp
- Owner: rohitroy-github
- Created: 2023-08-08T19:13:31.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-07T13:36:07.000Z (7 months ago)
- Last Synced: 2024-07-08T10:15:50.822Z (7 months ago)
- Topics: dapp, ethereum, ethersjs, hardhat, solidity, vite
- Language: JavaScript
- Homepage:
- Size: 1020 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Amazon Clone Dapp (EVM Based)
This is a decentralized version of Amazon.in powered by blockchain and designed using Vite JS.
Snapshots from the project :
Tech Stack :
Frontend :
- Vite JS
Backend :
- Node JS
- Hardhat Development Environment
- Metamask Wallet
- Ethers JS
- Alchemy
Guide for testing on local hardhat network :
Environment variables :
Create a new .env file inside [backend-hardhat] folder taking reference from .env.example file inside the same.
Backend :
Terminal 1:
- Run (Move inside [backend-hardhat] folder) : cd backend-hardhat
- Run (Running Hardhat node locally) : npx hardhat node
Terminal 2:
- Run (Move inside [backend-hardhat] folder) : cd backend-hardhat
- Run (Running tests | Optional) : npx hardhat test
- Run (Running deployment script) : npx hardhat run scripts/deploy[Todo_Contract_Main].js --network localhost
Update the [config.json] file with the updated contract-address under "31337" "address" feild fetched from Terminal 2.
Frontend :
Terminal 1:
- Run (Move inside [frontend-vite] folder) : cd frontend-vite
- Run (Running frontend on browser): npm run dev
The project is complete but I'm making constant modifications to the project. Please don't forget to put a ⭐ if you like the project.