Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tezos-commons/baseDAO

BaseDAO - a generic smart contract framework for DAOs on Tezos
https://github.com/tezos-commons/baseDAO

Last synced: about 2 months ago
JSON representation

BaseDAO - a generic smart contract framework for DAOs on Tezos

Awesome Lists containing this project

README

        

# BaseDAO

BaseDAO is a generic smart contract on Tezos that enables a community to collectively govern resources, registries, or rules.

The contract enables the creator to customize their DAO based on a number of attributes, and uses a ‘decision callback’ to specify arbitrary code that can be governed by a DAO’s proposals.
BaseDAO also includes Permit (TZIP-17) to enable off-chain voting.

## Documentation and configurations

The [specification](docs/specification.md) document contains more details and is used as a basis for the smart contract development.

BaseDAO uses a build time configuration to generate the required
variant of the BaseDAO.

Aside from the specification, that contains detail about the configuration as
well, there are also the [included DAOs](#included-daos) below.

## Getting/Building

BaseDAO is implemented in [LIGO](https://ligolang.org), you can obtain the
compiled contract as well as the initial storage for all the [included DAOs](#included-daos)
from the [latest release](https://github.com/tezos-commons/baseDAO/releases/latest)
or build them from source by following the [building instructions](docs/building.md).

## Included DAOs

### [TrivialDAO](docs/trivial.md)

The simplest DAO, has no real logic configured but what's common to every DAO.
This has only demonstration purposes.

### [RegistryDAO](docs/registry.md)

Registry DAO is a decentralized key-value storage of arbitrary data.
Much like [Treasury DAO](#treasurydao) it can also hold XTZ and FA2 tokens that
its users can decide on how to spend.

### [TreasuryDAO](docs/treasury.md)

Treasury DAO is a DAO that holds XTZ and FA2 tokens and lets its users decide
how to spend its XTZ and tokens.

## Deploying/Originating

The contract can be originated with `tezos-client`:

```sh
tezos-client originate contract baseDAO transferring 0 from alice running BaseDAO.tz --init "$(