This project is an e-commerce platform with added Web3 features, allowing users to purchase products using cryptocurrency.
Clone the project
git clone https://github.com/tiagogalvao7/eCommerce-Web3-Project.gitGo to the project directory
cd eCommerceInstall dependencies
npm install
or
npm install react-material-ui-carousel --save --legacy-peer-depsConfigure environment variables
๐ Create a .env file in the root of the project:
REACT_APP_RECIPIENT_WALLET_ADDRESS=YOUR_ETHEREUM_WALLET_ADDRESSReplace YOUR_ETHEREUM_WALLET_ADDRESS with the public Ethereum wallet address that will receive ETH payments.
The application is configured to use the Sepolia testnet.
Start the server
npm startThe server should now be running. You can access the application by opening a web browser and entering the following URL:
http://localhost:3000- Wallet Connection: Integration with the user's Web3 wallet (e.g., MetaMask).
- Cryptocurrency Payments: Allows the purchase of products directly with Ethereum (ETH) on the Sepolia testnet.
- Transaction Status Handling: Real-time feedback for pending, successful, and error transactions.
- Billing Form: Complete billing form with validation before initiating the blockchain transaction.
- Dynamic โBuy with ETHโ Button: Button enabled only after wallet connection and form completion, with loading status during transaction.
| Screenshot | Description |
|---|---|
![]() |
Product Page with โConnect Wallet to Buyโ button |
![]() |
Wallet connected |
![]() |
Checkout Page with form and โConnect Wallet to Buyโ button |
![]() |
Transaction confirmation pop-up in MetaMask |



