This app is a fork of alchemy, an app to work with DAOstack DAOs, this fork is focused on providing a more simple, autonomous and decentralized experience than https://alchemy.daostack.io/ and just for one DAO.
This is an open-source project under GPL 3.0 License, we invite you to fork it and collaborate :).
- The app is designed to work only for one DAO.
- No analytics.
- No disqus widget.
- Simpler UI.
- Hash reactjs router-dom.
- Less components in source code.
- More optimized builds.
- No cookies warning.
- No terms and conditions.
- NVM can be helpful to manage different versions of node
- NodeJS 12.6.2 or greater + NPM
sudo apt-get install -y libsecret-1-dev
git clone https://github.com/AugustoL/voting-dapp-daostack.git
cd voting-dapp-daostack
npm ci
npm run start-dxdao
The easiest way to start developing is to work with docker. Here is a quick setup; there are more detailed instructions in here.
After you have installed docker, run the following command to spin up ganache (with the migrated contracts), the graph-node server:
docker-compose up graph-node
Now, in a separate terminal run the following command to run dxdao-alchemy:
npm run start
At this point you should be able to access dxdao-alchemy on http://127.0.0.1:3000.
See working with docker for details and troubleshooting.
- Install and enable MetaMask extension in Chrome
- Click on the MetaMask extension icon in the toolbar and log in
- Click on the avatar icon in the top right, and choose "Import Account"
- Choose "Private Key" and paste the string
0x4f3edf983ac636a65a842ce7c78d9aa706d3b113bce9c46f30d7d21715b23b1d
and click "Import" - Give it a name like "Alchemy Test Account" so you won't get confused later
- If you need more than one test account you can also import these private keys:
0x6cbed15c793ce57650b9877cf6fa156fbef513c4e6134f022a85b1ffdd59b2a1
,0x6370fd033278c143179d81c5526140625662b8daa446c22ee2d73db3707e620c
and0x646f1ce2fdad0e6deeeb5c7e8e5543bdde65e86029e2fd9fc169899c440a7913
. Make sure to give them all differnent names. - Make sure that Metamask is connected to
127.0.0.1:8545
(choose from the "Networks" picklist in Metamask) - Go to http://127.0.0.1:3000 to load Alchemy