Git Product home page Git Product logo

ipfs-store's Introduction

IPFS-Store

Web shop that does not have a centralized database and uses blockchain for handling list items.

Synpsis

There will be a top menu bar and a footer. On the top menu bar, there will be only 2 items in the beginning, a "Shop" button and an "About" button. If the user clicks on the "Shop" button, the list elements will appear, with pictures. There is a basic picture, if there is no picture uploaded for the item (which will be the case for the first implementation of the smart contracts), then a default picture is used. If the user clicks on the item, the item will appear on full page, with description. There is a "BUY" button, but we don't know what the "BUY" button will do yet, somehow contact with the client and seller should be estabilished. It's clear that payment should be possible through Coinbase and/or MetaMask, but how communication will happen is a different issue. Adamant chat is a decentralized alternative, but it's not free, it is creating barriers for newcomers. Sending out an e-mail without a server is difficult.

With the smart contracts, the owner of the shop can upload new items. The ownership is transferable.

What fields does an item has?

  • name
  • description
  • price | what currency to show? Should we calculate price to fiat or not?
  • quantity | possible special cases like infinite

What functions will we need?

  • createNewItem()
  • changeQuantity()
  • DeleteItem()
  • TransferShopOwnership()
  • DeleteStore()

ipfs-store's People

Contributors

imestin avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.