Template for futarchy DAOs
npm install @levelk/futarchy-templaterun npm run newFutarchyDAO:staging to deploy to rinkeby
look for the DeployDAO event in the output to get the address of the newly deployed rinkeby DAO:
```
...
event: 'DeployDao',
args: { dao: '
...
go to rinkeby.aragon.org/#/
#### Things to watch out for...
The template deploys the latest versions of Futarchy and Oracle Manager published to the open.aragonpm.eth APM on rinkeby.
If the apps are not showing up in the DAO, the front-end code might not be propagated to aragon's IPFS node ipfs.eth.aragon.network. Propagate latest versions by adding to aragon/deployments via scripts/save and submitting a PR.
Copy config.default.json to config.local.json.
pull the aragon/aragon repo locally (the aragon front-end). Checkout latest release (currently 0.8.0-hotifx). Run npm install.
run npm run compile
run npm run devchain:reset and clear application cache for localhost:3000 (Aragon client)
deploy github.com/levelkdev/token-price-oraclesnpm run deploy:local
* tokenPriceDataFeed
* Copy the address to the oracleManagerSettings.dataFeedSources array
deploy github.com/levelkdev/futarchy-app:npm run deploy:lib_workaround:local
* aragon apm publish major --files dist --environment local
*
deploy github.com/levelkdev/oracle-manager-app:aragon apm publish major --files dist --environment local
*
run npm run deploy:rpc to deploy the template to the local devchain
Copy the deployed template address to "futarchyTemplateAddress" in config.local.json
run npm run newFutarchyDAO:local to deploy a futarchy DAO to the local devchain. Save the DAO address that is output in the event logs.
from the aragon/aragon repo, run npm run start:local
go to localhost:3000/#/
Use this script to set a decision to YES or NO
npm run setDecision:local