Skip to content

This repo is an Ecommerce online store build over blockchain network where u can buy courses with Eth

Notifications You must be signed in to change notification settings

MohamadSafi/ecommerce-store

Repository files navigation

E-Commerce Store with Blockchain Payment Integration

E-Commerce Store Banner

📝 Introduction

Welcome to the E-Commerce Store project! This e-commerce platform leverages blockchain technology to provide a secure and transparent payment system for purchasing courses. By utilizing a smart contract, this project ensures that customers receive access to the courses they purchase, all while being deployed on a local private chain using Ganache. Additionally, it integrates the Web3 library for seamless interaction with MetaMask and connects to users' wallets. The user interface is designed with the help of Tailwind CSS, providing a clean and responsive layout.

⚡ Features

  • Blockchain Payments: The project uses blockchain technology for handling payments, providing a secure and tamper-proof payment system.

    E-Commerce Payment

  • Local Private Chain: Ganache is used to deploy the project on a local private Ethereum blockchain just for testing purposes, making development and testing straightforward.

    E-Commerce Ganache

  • MetaMask Integration: Users can interact with the platform through MetaMask, allowing them to make payments using their Ethereum wallets.

    E-Commerce Metamask

  • Responsive Design: The user interface is built with Tailwind CSS, ensuring a responsive and visually appealing layout.

    E-Commerce responsive

Prerequisites

Before getting started with the project, make sure you have the following installed:

  • Ganache - For setting up a local private blockchain.
  • Node.js - To run the project and install dependencies.
  • MetaMask - To interact with the blockchain via the browser.

Getting Started

Follow these steps to get the project up and running on your local machine:

  1. Clone the repository:

    git clone https://github.com/MohamadSafi/ecommerce-store.git
    cd ecommerce-store
  2. Now run npm install to install all the dependencies.

  • This project is using truffle to compile Solidity smart contracts to the local network.
npm install -g truffle
  • Also Dont forget to install Ganache it's needed to creat a private ethereum blockchain network.

Install Ganache

  • Now to compile and deploy the smart contracts:
truffle migrate
  • Run the project:
npm run dev

About

This repo is an Ecommerce online store build over blockchain network where u can buy courses with Eth

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published