It is decentralized Online Auction platform built on the top of Ethereum Blockchain. It provides blockchain security over the bidding process and removes the third party in the online bidding system and provides trust and transparency to the users. All the functionalities are defined the Smart Contract which is written in the solidity.
- Users can place bid in Ether by connecting their blockchain address with wallet. As bid is placed the amount is deducted from the account.
- Users have to join auction before place bid, Otherwise bid will not be placed.
- Any user can create auction who want to set his product for auction
- Users and auctioneer can see what is the highest Bid and who is the winner at current time.
- Winner should confirm the product is delivered to him, then his bidding amount will send to auctioneer account. Otherwise the amount will remain in the contract balance. This add more security and trust to the application.
Before installation, please make sure you have already installed the following tools:
- Clone this repo
https://github.com/jaswindersingh2601/eAuction-Dapp.git
- Go to cloned project directory, type
cd client
press enter and then runnpm install
in the terminal. - Now in the root of the project run
npm i -g truffle
in terminal - Create a new project in ganache setup port, host, and current project truffle-config.js file by importing the project in ganache.
- Add the Same port and host in the truffle-configfile as added in the ganache project.
- Run truffle migrate --reset at root project level in cmd or in the shell.
- Open the ganache project and in see in the contract tab where the contract is deployed, then copy the address of Auction Factory contract.
- Pick deployed contract address and update
const factoryAddress
with picked address in./client/src/ABI.js
file. - Connect or import opened ganache project addresses to the browser by meta mask wallet.
- now in terminal make sure you are in client folder and run
npm start
Now you will see the application at localhost:3000.
If you are new to Git and GitHub then must check out git-github-practice repository first and contribute to it before you contributing to other open-source projects.