Skip to content

SmartLease/Ethereum

Repository files navigation

Known Vulnerabilities

Smart Lease

Welcome

Our SmartLease project will stipulate the minimum components of an Ethereum smart contract for Property leases between Landlords and Tenants.

Demo

Demo

Table of Contents

Requirements

  • Ubuntu (v14.04 LTS)
  • Solidity (v0.4.21): language used to program smart contracts
  • Node: Javascript interpreter
  • NPM, Yarn: package management
  • Truffle: smart contract management and deployment
  • MetaMask: Address and private key management for Ethereum
  • Gananche: Local, private test blockchain
  • Geth: Go-ethereum client
  • Ropsten: Public ethereum test network
  • Browserify: package node libraries for use on the web
  • Web3js (v1.0): javascript library to wrap JSON-RPC calls to Ethereum
  • Javascript

Installation

  1. Install Nodejs, NPM, Docker, MetaMask (for Chrome or Firefox)
  2. git clone https://github.com/SmartLease/Ethereum.git
  3. $ truffle develop
  4. truffle(develop)$ compile --all
  5. truffle(develop)$ migrate --reset
  6. $ docker run -dit --name smartlease --mount type=bind,src="${pwd}"/docs,dst=/usr/share/nginx/html,ro -p 8080:80 nginx:latest
  7. In your browser, unlock MetaMask (save your secret words!)
  8. Go to: localhost:8080
  9. Import your accounts from Truffle develop using their private keys to have access to the ether (not real Ether)
  10. Enjoy!

Usage

Open the SmartLease webpage in a browser, (https://smartlease.github.io/Ethereum/)

Credits

SmartLease is owned and maintained by

Andrew Birnbera (@birnbera)

Holden Grissett (@holdengs)

Felicia Hsieh (@feliciahsiehsw)

Wendy Segura (@wendysegura)

Tope Agboola (@topea_)

You can reply to us and to @holbertonschool on Twitter for more updates on this project & our forked projects.

License

SmartLease is released under the MIT license.

Releases

No releases published

Packages

No packages published