/wetonomy-aragon

Opinionated DAO framework on top of aragonOS

Primary LanguageJavaScript

Wetonomy Build Status

Toolkit built on top of AragonOS that will give teams, companies, and organizations the ability to collaborate, share profits, finance ideas and award contributions, all governed by smart contracts on the blockchain.

Wetonomy implements an innovative solution called High-Risk Automated Debt, allowing for a proper incentivizing system for contributors to the future success of the DAO.

Apps (In progress)

This repository contains the following apps:

  • Tasks: The assembly point of the tasks in the organization. This is the place where each member can follow the activities inside the DAO, get a task or reward it. The dashboard contains separate screens:

    • News Feed: the place to follow all recent activities and act on them:
      alt text
    • Board: visualization of the status of all tasks in the organization:
      alt text
  • Time Tracking: Management of the tasks each member has. He/she will be able to add new tasks to the project: alt text

  • Members: Management of the members of an organization. Each member's pay rate is set based on his/her seniority. The reputation is gained based on everyone's performance: alt text

Prerequisites

  • Aragon: Aragon Dapp to create and manage decentralized organizations on Ethereum.
  • Lerna: A tool for managing JavaScript projects with multiple packages.
  • Solhint: Open source project for linting Solidity code.
  • Truffle: Used to build and test the contracts

Develop

Kit Usage

These are the steps required to build and run the Wetonomy Kit as a whole.

  1. Install separate package dependencies through Lerna:
npm run bootstrap
  1. Start a local Devchain with:
npm run devchain
  1. In new Terminal run the following command in order to build the separate apps and run them as a Kit:
npm run start

Run tests

truffle develop
test

NPM Scripts

  • bootstrap: Use lerna to bootstrap the apps into packages
  • build: Compiles the contracts and builds the front-end
  • build:apps: Build only the apps
  • compile: Use Solhint to lint the smart contracts
  • lint: Run lint on contracts
  • publish: Builds the apps and the contracts and publishes them to IPFS and APM
  • publish:apps: Publishes the separate apps
  • start:kit: Run the whole Kit locally
  • test: Runs tests for the contracts
  • devchain: Starts a local Ganache-CLI devchain

Libraries

Wiki

  • check out the Wiki for more info on Wetonomy