Skip to content

A decentralized photograph auction platform based on Ethereum

Notifications You must be signed in to change notification settings

tianrenz2/PixelLocker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend: React JS:

This project was bootstrapped with Create React App.

File Storage is powered by Interplanetary File System(IPFS):

IPFS Github.

MetaMask: a general wallet for DApps

Make sure your MetaMask is on, this is your wallet on this platform.

Deployment Tool: Truffle

Installation

  1. Install Truffle globally.

    npm install -g truffle
  2. Download the box. This also takes care of installing the necessary dependencies.

    truffle unbox chainskills/chainskills-box
  3. Run the development console.

    truffle develop
  4. Compile and migrate the smart contracts. Note inside the development console we don't preface commands with truffle.

    compile
    migrate
  5. Run the liteserver development server (outside the development console) for front-end hot reloading. Smart contract changes must be manually recompiled and migrated.

    // Serves the front-end on http://localhost:3000
    npm run dev

Ehereum Javascript API: Web3.

Deployment

For testing it locally, make sure the ganache is running and there are accounts with money in the local network.

In src/ directory, do the following things:

  1. Deploy Smart Contracts
    truffle migrate --compile-all --reset --network ganache
  2. Run React
    npm start

About

A decentralized photograph auction platform based on Ethereum

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published