https://github.com/onlyforward0613/kioskprotocal-contract
https://github.com/onlyforward0613/kioskprotocal-contract
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/onlyforward0613/kioskprotocal-contract
- Owner: OnlyForward0613
- License: gpl-3.0
- Created: 2024-05-06T11:52:54.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-06T12:01:23.000Z (about 2 years ago)
- Last Synced: 2024-05-06T14:01:15.458Z (about 2 years ago)
- Language: JavaScript
- Size: 1.77 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Kiosk
Kiosk is a decentralized e-commerce platform built on Ethereum.
**For Merchants:**
* Register a globally unique product identifier (DIN) for each of your products
* Manage product information and pricing off-chain using your existing e-commerce backend
* Sell products directly to buyers with no middlemen and no transaction fees
* Create your own loyalty token to incentivize repeat purchases
**For Buyers:**
* Purchase products online with Ether and ERC20 loyalty tokens
* Earn loyalty tokens from merchants
**For Affiliates:**
* Earn Market Tokens from merchants for successful referrals
**For Developers:**
* Earn Market Tokens for contributions to the core protocol
* Build your own e-commerce client
## Testing
Requirements:
* Install [Node.js](https://nodejs.org/en/)
* Install [Truffle](http://truffleframework.com/)
Download the project and install its dependencies.
```
git clone https://github.com/kioskprotocol/contracts.git
npm install
```
In a separate terminal tab, create an in-memory blockchain with Truffle.
```
truffle develop
```
Then, in the root directory of the project, run the tests with Truffle.
```
truffle test
```