Skip to content

AnthonyLaw/nem-steam-store

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

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

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

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).

Setup NEM-Steam-Store (Reactjs)

  1. git clone https://github.com/AnthonyLaw/nem-steam-store.
  2. cd nem-steam-store.
  3. cp .env-sample .env
  4. Configure all required variables in .env
  5. npm install
  6. npm start
  7. Open http://localhost:3000 to view it in the browser.

Setup NEM-Steam-Store-Server (nodejs)

  1. git clone https://github.com/AnthonyLaw/nem-steam-store-server.
  2. cd nem-steam-store-server.
  3. cp .env-sample .env
  4. Configure all required variables in .env
  5. npm install
  6. npm start

Summary

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.

Feedback

Welcome every giving feedback, create issue or pull request. :)

About

A steam game store concept build on NEM blockchain.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published