DA0-DA0 / dao-contracts

CosmWasm smart contracts for Interchain DAOs.
https://docs.daodao.zone
BSD 3-Clause "New" or "Revised" License
202 stars 132 forks source link

Instantiate DAOs with initial storage keys #785

Closed JakeHartnell closed 2 months ago

JakeHartnell commented 6 months ago

Every DAO has a built in governance controlled key / value store which has a large number of uses, including enabling UI features in the DAO DAO UI.

As a user, I would like to create a DAO with all of the features I need already setup and without having to pass a proposal to enable them. This allows for much quicker setup and better UX.

To enable this, we need to update the dao_dao_core to take a storage_items: Option<Vec<(String, String)>> field, which is used to initialize the key / value store.

hard-nett commented 2 months ago

It seems this has already been implemented in #190

JakeHartnell commented 2 months ago

@hard-nett, indeed you're right.