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.json
environments.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 install
in the root folder - Run
npm run build
in the root folder - Run
npx aragon apm publish major --files dist --skip-confirmation
in 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 install
in the root folder - Run
npm run build
in the root folder - Run
npx aragon apm publish major --files dist --skip-confirmation
in 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 install
in the root folder - Run
npm run build
in the root folder - Run
npx aragon apm publish major --files dist --skip-confirmation
in 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 install
in the root folder - Run
npm run build
in the root folder - Run
npx aragon apm publish major --skip-confirmation
in the root folder
- Deploy the Fundraising suite Presale app:
- Download https://github.com/1Hive/aragon-fundraising
- Run
npm install
in theapps/presale
folder - Run
npx aragon apm publish major --skip-confirmation
in theapps/presale
folder
- Update the Fundraising app's UI (using the repo downloaded in the previous step):
- Run
npm install
in theapps/aragon-fundraising
folder - Run
npm run build
- Run
npx aragon apm publish major --files app/build --skip-confirmation
in theapps/aragon-fundraising
folder
- Deploy the Fundraising suite Bancor Marker Maker app (using the repo downloaded in step 11):
- Run
npm install
in theapps/bancor-market-maker
folder - Run
npx aragon apm publish major --skip-confirmation
in theapps/bancor-market-maker
folder
- 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 install
in the root folder - Run
npm run build
in the root folder - Run
npx aragon apm publish major --files dist --skip-confirmation
in 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>