docs
Create a Community from a DAO proposal

Create DAO Edition

Sumart is designed for communities, specially for daos. Our DAOHelper contract makes the process of creating a Community edition from a DAO pretty straighforward, but there are several parameters to pay attention. Let's get started.

Parameters

  • Community Manager Edition (CEM) address.
  • Community metadata.
  • Royalties config.
  • Community admin.
  • Setup actions.
  • Membership config.
  • Zora minter.
  • Sales config.
  • Allow config override by creator.

We are going to go trough all the steps to get and fill every one of these parameters. We only need to visit Sumart and nouns.build sites.

Sumart

  • Go to the Create Community section of Sumart (opens in a new tab).
  • Fill the name, description and image fields.
  • Wait until the metadata gets uploaded, then copy the URI link.

nouns.build

  • Visit nouns.build (opens in a new tab).
  • Navigate to the contracts tab section of your DAO.
  • You will need some addresses from there: nft, governor and treasury addresses.

Submit the proposal

  • Still in nouns.build, go to the Submit Proposal section.
  • Continue by selecting: Add Custom Transaction.
  • Go trough all the 6 steps:
    • Fill the address field with the Sumart DAOHelper address: 0x6673ecbe6D4da99194433b3c4dDaBc91340d34C5
    • Confirm the ABI is there, and press next.
    • Select the createCE function. (there is only one)
    • Fill the function parameters:
      • Paste the URI link you got from the Sumart dapp. string.
      • Fill the name field. string.
      • The next 3 fields will configure the royalties:
        • Royalty Mint Schedule, every n mints one is minted to the royalty address (1 / n). uint32.
        • Royalty BPS, it is a percentage (%) of every secondary sale. uint32.
        • Royalty recipient, the royalties will be sent to this address. Paste the DAO treasury address here. address.
      • The Admin will be able to modify these settings and has permission over the community edition. Paste the DAO Governor address here. address.
      • Setup actions. It will setup some permissions. Paste exactly this: 0x8ec998a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004e2516a2c207e84a1839755675dfd8ef6302f0a00000000000000000000000000000000000000000000000000000000000000048ec998a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a700e3e7322834ee3a0a2e0003f4124b76c1c86f0000000000000000000000000000000000000000000000000000000000000002
      • Membership config. Only holders of X amount of Y will be able to create inside this collection.
        • Token, the address of the membership nft. Address zero to disable. address.
        • Amount, the min amount of the token that any member must hold. Zero to disable. uint256.
        • TokenId, the id of the token, only for ERC1155 tokens. Zero to disable. uint256.
      • Zora Fixed Supply Minter address. 0x04E2516A2c207E84a1839755675dfd8eF6302F0a
      • Default Sales config:
        • Sale start, timestamp in seconds. uint64.
        • Sale end, timestamo in seconds. uint64.
        • Max mints per address, 0 means unlimited. uint64.
        • Token price, 0 to get Zora rewards. uint96.
        • Rewards and sales recipient address. Use DAO treasury here. address.
        • Max supply, per token. uint256. 115792089237316195423570985008687907853269984665640564039457584007913129639935
      • AllowOverrideByCreator, if true, creators can set their own config per token and gets permission over the token. If false, default config will be strictly forced. It unlocks fun things as contests. bool.
    • The value to be sent with the transaction, 0 eth.
    • Last step, review your data.
  • Press continue (or add any other transaction)
  • Add a title and a description for your dao proposal.
  • Submit proposal. Done!

Find your community on the communities section of Sumart (opens in a new tab). Or build the link with the address of your community edition: https://sumart-beta.vercel.app/<your_community_edition_address>/token