DAO Template for Token Engineering Commons.
To deploy a Gardens DAO to a local aragon devchain:
- Install dependencies:
$ npm install
- In a separate console run Aragon Devchain:
$ npx aragon devchain
-
From the output of the above copy the ENS address from "ENS instance deployed at:" to
arapp_local.jsonenvironments.devnet.registry -
In a separate console run start IPFS:
$ npx aragon ipfs start
- In a separate console run the Aragon Client:
$ npx aragon start
- Deploy the template with:
$ npm run deploy:rpc
- Deploy the Conviction Voting app to the devchain as it's not installed by default like the other main apps (Voting, Token Manager, Agent etc):
- Download https://github.com/1Hive/conviction-voting-app
- Run
npm installin the root folder - Run
npm run buildin the root folder - Run
npx aragon apm publish major --files dist --skip-confirmationin the root folder
- Deploy the Dandelion Voting app to the devchain as it's not installed by default like the other main apps (Voting, Token Manager, Agent etc):
- Download https://github.com/1Hive/dandelion-voting-app
- Run
npm installin the root folder - Run
npm run buildin the root folder - Run
npx aragon apm publish major --files dist --skip-confirmationin the root folder
- Deploy the Redemptions app to the devchain as it's not installed by default like the other main apps (Voting, Token Manager, Agent etc):
- Download https://github.com/1Hive/redemptions-app
- Run
npm installin the root folder - Run
npm run buildin the root folder - Run
npx aragon apm publish major --files dist --skip-confirmationin the root folder
- Deploy the Tollgate app to the devchain as it's not installed by default like the other main apps (Voting, Token Manager, Agent etc):
- Download https://github.com/aragonone/tollgate
- Run
npm installin the root folder - Run
npm run buildin the root folder - Run
npx aragon apm publish major --skip-confirmationin the root folder
- Deploy the Fundraising suite Presale app:
- Download https://github.com/1Hive/aragon-fundraising
- Run
npm installin theapps/presalefolder - Run
npx aragon apm publish major --skip-confirmationin theapps/presalefolder
- Update the Fundraising app's UI (using the repo downloaded in the previous step):
- Run
npm installin theapps/aragon-fundraisingfolder - Run
npm run build - Run
npx aragon apm publish major --files app/build --skip-confirmationin theapps/aragon-fundraisingfolder
- Deploy the Fundraising suite Bancor Marker Maker app (using the repo downloaded in step 11):
- Run
npm installin theapps/bancor-market-makerfolder - Run
npx aragon apm publish major --skip-confirmationin theapps/bancor-market-makerfolder
- Deploy the Hooked Token Manager app to the devchain as it's not installed by default like the other main apps (Voting, Token Manager, Agent etc):
- Download https://github.com/1hive/token-manager-app/
- Run
npm installin the root folder - Run
npm run buildin the root folder - Run
npx aragon apm publish major --files dist --skip-confirmationin the root folder
- Create a new Gardens Dao on the devchain:
$ npx truffle exec scripts/new-dao.js --network rpc
- Copy the output DAO address into this URL and open it in a web browser:
http://localhost:3000/#/<DAO address>
To deploy a Gardens DAO to Rinkeby:
- Install dependencies:
$ npm install
- Compile contracts:
$ npx truffle compile
-
Configure your DAO in:
scripts/new-dao.js -
Deploy a DAO to Rinkeby (requires a Rinkeby account accessible by the truffle script as documented here: https://hack.aragon.org/docs/cli-intro#set-a-private-key):
$ npx truffle exec scripts/new-dao.js --network rinkeby
- Copy the output DAO address into this URL and open it in a web browser:
https://rinkeby.aragon.org/#/<DAO address>