Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/tezos-commons/baseDAO
- Owner: tezos-commons
- Created: 2020-08-17T15:40:32.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-08-01T17:14:24.000Z (about 1 year ago)
- Last Synced: 2024-06-30T22:35:02.994Z (3 months ago)
- Language: Haskell
- Homepage:
- Size: 2.67 MB
- Stars: 57
- Watchers: 10
- Forks: 15
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSES/LicenseRef-MIT-TC.txt
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 "$(