Altcoins Talks - Cryptocurrency Forum

Cryptocurrency Ecosystem => Ethereum Forum => Solidity => Topic started by: Fireworx on May 08, 2019, 11:51:50 PM

Title: Solidity For Ecommerce
Post by: Fireworx on May 08, 2019, 11:51:50 PM
Hello.
On a Marketplace-type website, when a customer buys an item belonging to one of the sellers on the marketplace, a payment gateway, such as Paypal, manages the transaction and sends a small percentage of the transaction to the Marketplace itself. This small percentage is the marketplace's fee to the seller for enabling the seller to be able to list the item they want to sell on the marketplace.

Can an Ethereum smart contract be written to perform this transaction function, using cryptocurrency, on an ecommerce marketplace website?
Is there such a thing as a smart contract template that provides this function?
Title: Re: Solidity For Ecommerce
Post by: TheCBF on July 09, 2019, 02:49:47 PM
Hi Fireworx,

Yes, using Web3.js it's possible to have an interface between the Solidity based Smart Contract that is providing the Ethereum blockchain functionality and the web page.

A good example is the course by Zastrin dot com (sorry, can't post links yet), called: "Decentralized eBay on Ethereum and IPFS".
He has a demo of how the blockchain based ecommerce site can be set up.

CBF