Architecture

Registration Factory Contract

When a new Moloch v3 is summoned, one of the initialization actions should reach out to the registration factory and set the initial DAO URI

Ceramic context file

This document contains the JSON-LD fields which should be combined with the response from the subgraph using the client SDK

Ceramic Wrapper

{
  "@context": {
    "@vocab": "<https://daostar.org/>",
    "type": "@type"
  },
  "type": "DAO",
	"name": "%NAME%",
  "proposals": "%PROPOSALS""
	"query": "" // SUBGRAPH URI

}
{
	"source": "", // SUBGRAPH
	"transformation": 
}

Subgraph

https://thegraph.com/hosted-service/subgraph/alexkeating/daostar-moloch?selected=playground