newearthmartin / hacktravel

Winding Tree - Hacktravel Lisbon 2019

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Organization Portal/Explorer

Application that allows browsing of organizations registered with winding tree

Team Members

Repository

https://github.com/newearthmartin/hacktravel

Description

Running the frontend

Requires node v10.x.x and npm 6.4.1

cd explorer_frontend
nvm use 10.16
npm install
npm run serve

Then access the explorer at http://localhost:8080/

Setting up the scanner

cd explorer_backend
. setup.sh

Requires python3.6 and virtualenv

Running the scanner (development)

In the same explorer_backend folder

. run_dev.sh

Then access the scanner API http://localhost:8000/orgs

Running the scanner in production

For production you need to set up

  • the django app via wsgi for the webserver.
  • The scanner process in crontab

You can set the scan process every 10 minutes in crontab like this:

*/10 * * * * cd ~/hacktravel/explorer_backend && bash scan.sh

Problem

We need UI tools to easily see information about organizations in WT directory. Currently we only have console tools and require a considerable degree of hackerdom.

Solution

We created tools related to ORG.ID.The ORG.ID explorer let's you:

  • see information about an ORG.ID
  • see how much Lif they have (for trusting purposes)
  • veriy if a message is effectively signed by an organization
  • create a new Organization from a JSON URL.

We also are presenting information from the trust service created by another hack-team.

We learned

  • To work as an ecosystem, integrating with tools from another hack-team
  • To access the WT contracts blockchain from different languages, with helpers like wt-js-libs and calling contracts directly with web3
  • Smart contracts, abi, etc
  • Truffle, metamask, etc
  • WT mission: leveling the playfield to let small companies and independent developers (like us!) access the travel industry players
  • Travel industry concepts
  • Trust problems in decentralized ecosystem

Extra resources

  • link to presentation (and/or)
  • link to running instance

About

Winding Tree - Hacktravel Lisbon 2019

License:Apache License 2.0


Languages

Language:Python 66.8%Language:Vue 25.9%Language:JavaScript 4.9%Language:Shell 1.3%Language:HTML 1.1%