Home
Softono

Library Management System Blockchain

Open source JavaScript
12
Stars
4
Forks
4
Issues
2
Watchers
8 years
Last Commit

 About Library Management System Blockchain

A community library management system built using ethereum blockchain.

Platforms

Web Self-hosted

Languages

JavaScript

Links

Need Help Installing Library Management System Blockchain?

We provide expert installation service for this software. Our team will install, configure, and secure Library Management System Blockchain on your server. plans start at just $30.

Library Management System Blockchain

View on GitHub

LMS: A community library management system

Build Status

Pool your books to create a virtual library. Implemented on the Ethereum blockchain using Solidity, Truffle, Zeppelin and others.

Usage

TBD

Building and the frontend

  1. First run truffle compile, then run truffle migrate to deploy the contracts onto your network of choice (default "development").
  2. Then run npm start to build the app and serve it on http://localhost:8080

Debugging

$ truffle console
truffle(development)> compile
truffle(development)> lms.new('Owner name')

If getOwner is a constant function, you will get the output immediately on the console

truffle(development)> lms.at("contract address").getOwner()   

if getOwner is not a constant function, use events (say Owner is an event).

truffle(development)> lms.at('contract address').getOwner()
truffle(development)> lms.at('contract address').Owner(function (e, result) { if (!e) {console.log(result)}})

Note: Don't forget to add any new contracts to the migration file.