Awesome
daohaus-web
Web app for exploring and summoning moloch daos.
Development
- Install dependencies
$ yarn install
- Create an env file and fill out the appropriate varialbles for the network you are using. There are currently factory contracts and subgraphs on mainnet, kovan and rinkeby.
$ cp .env.sample .env.local
- Run a dev server
$ yarn start
Contributions
-
Clone or Fork this repo
-
Create your branch
You will either pull of of the base branch:
develop
or a release branch if working on feature for a bundled releaseRELEASE_<release name>
.Branch naming:
feature/<feature-name>
fix/<bug name>
chore/<chore name>
-
Do your work and create the PR.
Please fetch the base or relase branch you pulled off of and ensure the latest work is merged into your branch before creating the PR.
PR template is TBD, so just be as descriptive as you can.
Deployments
-
Deploy to staging
PR from
develop
or the release branch,RELEASE_<release name>
intostaging
. CD will deploy tostaging.daohaus.club
(kovan) -
Deploy to production
PR from
staging
intoproduction
. CD will deploy todaohaus.club
(mainnet)kovan.daohaus.club
(kovan)rinkeby.daohaus.club
(rinkeby)xdai.daohaus.club
(xdai)Note that our CI/CD will fail if there are eslint code warnings.
Environement variables
Factory contract addresses
mainnet:
0x2840d12d926cc686217bb42B80b662C7D72ee787
kovan:
0x0C60Cd59f42093c7489BA68BAA4d7A01f2468153
Subgraph urls
mainnet:
https://api.thegraph.com/subgraphs/name/odyssy-automaton/daohaus
https://api.thegraph.com/subgraphs/name/odyssy-automaton/daohaus-stats
kovan:
https://api.thegraph.com/subgraphs/name/odyssy-automaton/daohaus-kovan
https://api.thegraph.com/subgraphs/name/odyssy-automaton/daohaus-kovan-stats
<table border="0"><tr> <td><a href="https://gittron.me/bots/0x8f36df85f8e0bf32f2ffd20979d139cc"><img src="https://s3.amazonaws.com/od-flat-svg/0x8f36df85f8e0bf32f2ffd20979d139cc.png" alt="gittron" width="50"/></a></td><td><a href="https://gittron.me/bots/0x8f36df85f8e0bf32f2ffd20979d139cc">HELLO GITTRON</a></td></tr></table>