A Subgraph for 20+ DAOs is Powering DAOstack’s Alchemy
Since the release of DAOstack’s alpha in Spring 2018, 24 DAOs have been deployed, with over 6,000 reputation holders participating in decentralized governance. Anyone can visit alchemy.daostack.io to join a DAO and vote, submit new proposals and view ongoing votes.
A few of the most notable DAOstack DAOs include:
Genesis Alpha — a grants DAO built by the DAOstack team with over 200 participants (reputation holders) and several open proposals that focuses on DAOstack projects. If you’re a freelancer and would like to contribute to the protocol, app development or growing the community, join the DAO.
dxDAO — a DAO to manage DutchX, a dutch auction exchange built by Gnosis and maintained by the community, with over 400 participants.
Kyber DAO — a DAO for decision making about the Kyber protocol and applications, such as features and UI for Kyberswap / wallet. Kyber DAO has over 4.5k reputation holders making up 80% of total DAOstack participants.
DAOstack uses holographic consensus to facilitate governance. Holographic consensus allows participants to stake tokens (GEN reputation tokens) to signal their support for a vote. Similar to a prediction market, if the vote moves forward, signallers are rewarded with more reputation tokens or slashed if the vote doesn’t pass.
Regular votes are decided by an absolute majority, however users can also move the proposal to be subject to a relative majority if boosting conditions are met. In addition to the GEN token, DAOs can use their own native tokens for decision making incentives. Learn more about the nuances of holographic consensus here.
Alchemy - DAO dashboard
Alchemy is DAOstack’s first application that gives DAO members a way to interact with DAOs (eg. stake or vote), view statistics like open and past proposals, track activity of participants (or reputation holders who vote on proposals), DAO holdings and engage in discussion on the DAO’s Wall.
Alchemy is the dashboard that every DAO needs to coordinate efforts and aggregate information for the commumity. To index blockchain data like events in DAO contracts, Alchemy utilizes a subgraph that defines the schema for indexing DAO event data from Ethereum and is a better alternative to building an indexer and managing a centralized server.
The subgraph also allows Alchemy to easily display proposals submitted for DutchX, the exchange governed by the dxDAO. Proposals can include exchange upgrades, token listings and even operational decisions.
Ongoing proposals show the proposal’s intent and current voting metrics. We can also differentiate between regular proposals and boosted proposals that have received greater attention and investment. Boosted proposals can expedite decision making and allow for relative majority instead of absolute majority — this means that if turnout is low, votes will be settled based on the majority of voters, not based on the majority of all voting and non-voting participants (reputation holders).
Alchemy uses one of the most complex subgraphs built to date, as it tracks activity of several DAOs. As each DAO is highly interactive with unique proposal types and voting behaviors, the subgraph can give us an abundance of diverse information.
In the query above, we’re looking to return details about DAOs and their proposals. Here we can see Meme DAO, whose native token is MemeToken (MEM) with several meme proposals created, including one for “How GoT should have ended” and “Super Meme boost and crypto pushup”.
The Alchemy subgraph allows us to view data like the DAO’s name, their native token, the number of members and proposals that have been submitted.
Additionally, we can pull data on:
- Proposals and their statistics (votes, stake, number of voters)
- Reputation tokens minted, burned and staked per voter and per proposal
- Other DAO metrics such as the initiation of new schemes (proposal types), proposal fields (eg. DAO incentive tokens, necessary proposal details) and voting conditions
In this query, we’re diving into the voting behavior of Meme DAO proposals, specifically the votes on the “Super Meme boost and crypto pushup” proposal. It appears the proposal failed after one vote against.
The subgraph enables Alchemy to efficiently index all data per DAO and present it cleanly for DAO participants and external parties to watch proposals and votes closely in real-time.
Use The Graph today!
Although DAOstack has been using The Graph for several months, they recently moved over to our hosted service. Instead of having to run Graph Nodes, The Graph does all of that for them! The hosted service is an intermediate milestone on our path to launching the decentralized Graph Network.
If you’re looking to query Ethereum to create a UI that tracks DeFi or to conduct analysis on Ethereum data, query the subgraphs that are live today. Deployed subgraphs include Uniswap, Compound, Synthetix, MakerDAO, MolochDAO and many more!
Or if you’d like to simplify your app’s data indexing, deploy your own subgraph. Check out The Graph docs to learn how you can run a graph node, create a subgraph and query other subgraphs.
You can also join the Discord channel to chat about launching a subgraph and join The Graph community.