diff --git a/README_DEPLOYMENT.md b/README_DEPLOYMENT.md index 2bfa806..4f1d54f 100644 --- a/README_DEPLOYMENT.md +++ b/README_DEPLOYMENT.md @@ -79,7 +79,7 @@ Back to this repository: ```sh cd packages/contracts yarn build -npx hardhat deploy --network +yarn deploy --network ``` #### 3) Install a governance plugin to the Managing DAO @@ -109,12 +109,12 @@ MGMT_DAO_PROPOSAL_SUPPORT_THRESHOLD="500000" # 50% MGMT_DAO_INITIAL_EDITORS="0x1234,0x2345,0x3456,0x4567..." # Comma separated addresses 3) Run the following command: -$ npx ts-node scripts/managing-dao-setup.ts +$ yarn managing-dao-setup ``` By running the `managing-dao-setup.ts` script, you will be: 1. Asking the [PSP from OSx](#1-deploy-osx) to run `prepareInstallation()` and deploy a new Governance plugin instance -2. Ask the Managing DAO to `execute()` an action that calls `applyInstallation()` of the deployed plugin -3. Calling `execute()` on the Managing DAO so that the deployment wallet can no longer execute actions on the DAO +2. Ask the Managing DAO to call `applyInstallation()` on the PSP for the deployed plugin +3. Make the Managing DAO revoke the remaining deployment wallet permissions 4. Checking that the Managing DAO's permissions are correctly configured diff --git a/packages/contracts/package.json b/packages/contracts/package.json index c1eb9bd..4d0a45f 100644 --- a/packages/contracts/package.json +++ b/packages/contracts/package.json @@ -63,6 +63,7 @@ "build": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat compile", "coverage": "hardhat coverage --solcoverjs ./.solcover.js --temp artifacts --testfiles \"test/**/*.ts\" && yarn typechain", "deploy": "hardhat deploy", + "managing-dao-setup": "ts-node scripts/managing-dao-setup.ts", "lint": "yarn lint:sol && yarn lint:ts", "lint:sol": "solhint \"src/**/*.sol\"", "lint:ts": "eslint --ignore-path ./.eslintignore --ext .js,.ts .",