Try   HackMD

DevRel Doc Audit


First Round Doc Updates

https://github.com/HausDAO/sdk-docs/pull/55

  • Move manifesto under Community Links
  • Remove unused tools (e.g. Helm charts, ceramci nodes, jobs)
  • Add CTAs using Nextra (following docs.zora.co)
  • Remove warnings and add CTA from Video Walkthrough
  • Fix typos (boostrap => bootstrap)
  • Update copy based on text below

Dev Notes

https://hackmd.io/kdUgijrZQAekE4SWIqiUwg?both


https://staging-haus-toolbox.vercel.app/
https://www.npmjs.com/~daohaus

Top level elements
MolochV3 Contracts
Subgraphs
SDK

  • DAOhaus Connect
    • Uses web3 modal
    • handles some UI and user profiles
  • form builder
  • exoskeleton
  • moloch pack (coolest thing)
    Common Utilities
  • massive bin of utilities other libraries use
    Contract Utilities
    UI Library
  • daohaus component & styling
    DAO Data
  • handles data from the graph, connection data, profile
    Feature Libraries
  • Rapid application development (RAD)
  • Open-sourced DAO game engine
  • Mock things up with our tools to make sure something works

Video Walkthrough Breakdown

https://www.youtube.com/watch?v=HS3XYTdPELc
0:00 DAOhaus V2 to V3 Comparison
3:35 Moloch V2 to V3 Comparison
5:40 Subgraph Overview
7:50 Toolbox Stack Overview
9:06 V3 Data Libraries
10:33 V3 UI Library
11:41 Feature Libraries & Code Legos
13:43 Form Code Demo
16:03 Apps Introduction
17:09 Rapid Dapp Development
17:23 Contribution Opportunities
19:57 Design Space & What's Possible?
21:52 Onboarding Tools

discord.gg/daohaus
summon.daohaus.club
admin.daohaus.club
github.com/orgs/HausDAO
www.npmjs.com/~daohaus-protocol


Libraries

@daohaus/moloch-v3-data

@daohaus/moloch-v3-context //Context to wrap react applications in. Fetch DAO proposal member data related to DAO you're loading. Provides a bunch of hooks you can use throughout proposals. useProposals - paging information, filter proposals, sort proposals, load next page.

@daohaus/contract-utils

@daohaus/ui

@daohaus/connect - Wraps WalletConnect & Web3 Modal

@daohaus/form-builder - Ways to build forms to tailor custom contract interactions.

@daohaus/tx-builder - make a proposal, that proposal has action data to execute functions on other contracts. If proposal passes, execute that.

Old Libraries

NPM packages: https://www.npmjs.com/~daohaus
Libraries: https://github.com/HausDAO/daohaus-monorepo/tree/develop/libs
abi-utilities
baal-contracts
common-utilities
contract-utilities
dao-context
dao-data
daohaus-connect-feature
form-builder
tx-builder-feature
ui

https://www.npmjs.com/package/@daohaus/abi-utilities

https://www.npmjs.com/package/@daohaus/baal-contracts

https://www.npmjs.com/package/@daohaus/common-utilities

https://www.npmjs.com/package/@daohaus/contract-utilities

  • typescript class with autogenerated types for interacting with moloch contracts
  • light way of interacting with contract directly
  • javascript class to interact with .sol contracts
  • handles typescript typing

https://www.npmjs.com/package/@daohaus/dao-context

https://www.npmjs.com/package/@daohaus/dao-data

https://www.npmjs.com/package/@daohaus/daohaus-connect-feature

https://www.npmjs.com/package/@daohaus/haus-form-builder

  • Add your own inputs to factory
  • Orchestrate your own UI
  • Specify your own form parameters

https://www.npmjs.com/package/@daohaus/tx-builder-feature

https://www.npmjs.com/package/@daohaus/ui

@daohaus/dao-context
-molochv3 Context

https://www.npmjs.com/package/@daohaus/abi-utilities

  • Collection of ABIs

https://www.npmjs.com/package/@daohaus/dao-data

  • handles data from the graph, connection data, profile

https://www.npmjs.com/package/@daohaus/baal-contracts

  • Develops types

(docs.zora)
ctas - b

12/28 Meeting

  • Sam Notices through consultation - there is a need to use Admin app
  • DAO scoped starter vs Non-DAO scoped starter
    • Exoskeleton style components for DAO-scoped starter
    • Slog to understand scoping we did in Admin
    • Every time we change a page in Admin it refreshes Connect
  • Hooks in MolochPack or MolochContext
    • Jord has various - useDAO, useMembers, useProposals + 5 more?
    • might be its own package
    • WGMI hooks as a reference (dekan mentioned a few bugs)
  • Check out shapeshift docs
    • Around contributor process

jsdoc example - autodocumentation