This guide will walk you through everything you need to add Time Lock app to an existing Aragon DAO.


TL;DR

Time Lock app has been published to the following locations:

To deploy to an organization you can use the Aragon CLI.

aragon dao install <dao-address> time-lock.aragonpm.eth --app-init-args <token-address> <lock-duration> <lock-amount> <spam-penalty-factor>

Detailed Installation Guide


1. Deploy a fresh DAO

This step is if you don't already have a DAO to install Time Lock app on, or want to test it on a demo first.

First, make sure that you have the Aragon CLI installed. Then run aragon devchain in a terminal. This should show you two Ethereum addresses. The first one has the most permissions and is used to execute commands on the Aragon CLI. Import the private key of that account into Metamask. Then head over to the Rinkeby DAO launcher and create a DAO with the democracy kit. Make sure that the Metamask account that is active is the first account created by your aragon devchain.

Once your Democracy DAO is deployed (the voting params don't matter as you'll be the only one voting right now), go to the settings tab where you will find the addresses for the DAO and its apps. For legibility of subsequent commands will set bash environment variable for these addresses:

dao=0x6604f9fe9Db1D3F6a45d8F0ab79e8a4B05968816
tokens=0x7F42cEB659B944cBB9F3D5ED637f66818C1bAcbf
voting=0x41CA57d1e65Cdcd3A68A0e9f8E835F3a1FeDc655
anyEntity=0xffffffffffffffffffffffffffffffffffffffff

2. Install Time Lock app to the DAO

Time Lock app has been published to the APM on Rinkeby and Mainnet at time-lock.aragonpm.eth

aragon dao install $dao time-lock.aragonpm.eth --app-init-args <token-address> <lock-duration> <lock-amount> <spam-penalty-factor> --environment aragon:rinkeby