validitylabs / daa

decentralized autonomous association

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Decentralised Autonomous Association Switzerland – DAAS

DAAS (or DAA) is a minimum demostrator of a legally compliant DAO for Swiss associations. This document describes the technical setup of the DAAS project.

For further details, see the full project specifications on the DAA wiki.

Setup

Install

git clone https://github.com/validitylabs/daa.git
cd daa
yarn install

This will install all required dependecies in the directory node_modules.

Compile, migrate, test and coverage

To compile, deploy and test the smart contracts, go into the projects root directory and use the task runner accordingly.

# Compile contract
yarn compile

# Migrate contract
yarn migrate

# Test the contract
yarn test

# Run coverage tests
yarn coverage

Deployment

  1. Finished deployment for all the contract instances.
    1. Membership
    2. (TalleyClerk Library)
    3. ProposalManager
    4. GAManager
    5. Wallet
    6. ExternalWallet
    7. Treasury
  2. Transfer ownership of Wallet and ExternalWallet from deployer to Treasury.
  3. Transfer ownership from deployer to DAA contract.
  4. Finished deployment for the DAA
  5. Call finishDeployment function in DAA contract.

Dev tools

  1. Web template: Adminator HTML5 Admin Template
  2. Smart contract dev tool: Truffle

About

decentralized autonomous association

License:MIT License


Languages

Language:HTML 47.8%Language:JavaScript 35.0%Language:CSS 17.2%Language:PowerShell 0.1%Language:Shell 0.0%