Skip to content

Commit

Permalink
added NPM modules - express
Browse files Browse the repository at this point in the history
  • Loading branch information
mruv committed Apr 16, 2019
1 parent 7fe77f8 commit b714c21
Show file tree
Hide file tree
Showing 4 changed files with 385 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/web-app/node_modules
12 changes: 12 additions & 0 deletions sc/smtsbusiness/smtsbusiness.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,18 @@ using eosio::symbol_code;

namespace SmtsBusiness {

// Scrap Metals Business EOS Smart Contract.
//
// A platform on which a scrap metal merchant can interact with a scrap metal customer
// in a secure and efficient way.
//
// A scrap metal, in the context of this smart contract, is a EOS token / asset (in this case a Commodity) that can be transfered
// from one EOS acct to another, in exchange for another EOS token / asset (a Currency).
//
// The units for all Commodities (EOS tokens representing a basic good used in commerce) is pounds (lbs).
// Therefore, "10.0 IRON" means 10.0 lbs of IRON.
//
// A currency, in the context of this smart contract, is a EOS token that
class [[eosio::contract("smtsbusiness")]] SmtsBusiness : public contract {

public:
Expand Down
358 changes: 358 additions & 0 deletions web-app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions web-app/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "web-app",
"version": "1.0.0",
"description": "Telos EOS SC Wed Interface",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Mwendwa Vincent",
"license": "ISC",
"dependencies": {
"express": "^4.16.4"
}
}

0 comments on commit b714c21

Please sign in to comment.