Coder Social home page Coder Social logo

simplr's Introduction

Simplr

Expense sharing via smart contracts

Simplr is a decentralized Web 3.0 application to simplify splitting bills with friends and family on the blockchain. It is a great way for splitting dinner tabs , sharing expenses with friends on trips or coordinating household purchases with roommates. Simplr keeps track of your contribution in shared expenses , allows you to make combined payments to vendors and ultimately calculates and refunds you back the leftover amount.Users start out by funding the smart contract with Qtum tokens, adding friends to the group,making purchases using the contract and at the end, withdrawing the leftover money owed to them.

How to run :

Run Local Blockchain in regtest mode

docker run -it --rm \
  --name myapp \
  -v `pwd`:/dapp \
  -p 9899:9899 \
  -p 9888:9888 \
  -p 3889:3889 \
  hayeah/qtumportal

Shell Access Into The Container

docker exec -it myapp sh

Generate some initial balance

qcli generate 600

Create owner address

qcli getnewaddress

Configure the deployment tool solar to use this address

export QTUM_SENDER=<owner_address>

Deploy the Simplr contract

solar deploy Simplr/contracts/Simplr.sol

For Web Server of DApp,

sudo npm install
sudo npm start

Then in another terminal window , run

sudo npm run start-ui 

In the browser , visit localhost:3002 for the UI

For authorization UI to Approve/Reject the transaction, visit localhost:9899/ .

simplr's People

Contributors

siddhanjay avatar niharikagupta92 avatar dependabot[bot] avatar

Stargazers

Chia Yong Kang avatar Abdur Rahman avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.