This just a POC project for Online game store. Steam game store concept build on NEM blockchain, which mean user allow to using web applicaiton to purchase game (activation code) from the store.
NEM has powerful messaging feature, by using messaging feature, it allow user to purchase a game and received actication code from message in NEM blockchain.
NEM Blockchain is API driven, and with super easy to use SDK, it's easy to build an applicaiton on NEM Blockchain.
This project is build on React App with material-ui theme and using NEM Library SDK.
Server is build on Nodejs.
NEM-Steam-Store is a web base application, it allow user to purchase a game from the store. In the applicaiton you will received NEM's encrypted message after purchased the game from store. But in application it will decrypted the message and show activation code. Tx example: Purchase game
NEM-Steam-Store-Server is host with Store account, which is listening incoming transaction from the account address. When received fund from buyer, the server will trigger a NEM's encrypted message which content of activaiton code to the buyer account address. Tx example: Invoice for the game (encrypted).
git clone https://github.com/AnthonyLaw/nem-steam-store
.cd nem-steam-store
.cp .env-sample .env
- Configure all required variables in .env
npm install
npm start
- Open http://localhost:3000 to view it in the browser.
git clone https://github.com/AnthonyLaw/nem-steam-store-server
.cd nem-steam-store-server
.cp .env-sample .env
- Configure all required variables in .env
npm install
npm start
Always running NEM-Steam-Store-Server first and then using NEM-Steam-Store to make purchase.
Make sure account address have enough (xem) to make transaction.
Welcome every giving feedback, create issue or pull request. :)