kpeluso / gdg

Generalized Decentralized Governance

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GDG: Generalized Decentralized Governance

Create any governance structure (even centralized governance!) using the methodology outlined here.

Installation

  1. Install Python 3
  2. Clone vyper-contracts
$ git clone https://github.com/uniswap/contracts-vyper
$ cd vyper-contracts
  1. Set up virtual environment
$ pip3 install virtualenv
$ virtualenv -p python3 env
$ source env/bin/activate
  1. Install dependencies
pip install -r requirements.txt
  1. Run tests
$ pytest -v tests/

Useful

Use getCode.sh to quickly generate bytecode and abi if you wish to fork and edit any of the contracts.

License

MIT

About

Generalized Decentralized Governance

License:MIT License


Languages

Language:Python 92.4%Language:Shell 7.6%