This guide will walk you though everything you need to add Redemptions to an existing DAO.


TL;DR

Redemptions has been published to APM on Rinkeby and Mainnet at redemptions.aragonpm.eth

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

aragon dao install <dao-address> redemptions.aragonpm.eth --app-init-args <vault-address> <token-manager-address> ["'<tokenAddress1>', '<tokenAddress2>', ..."].

The Redemptions app must have the TRANSFER_ROLE permission on Vault and the BURN_ROLE permission on the Token Manager.


Detailed Installation Guide


1. Deploy a fresh DAO

This step is if don't already have a DAO to install Redemptions 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. The token address is not the same as the tokens app address, to get the token address go to the tokens app and it will be shown on the right hand side. For legibility of subsequent commands will set bash environment variable for these addresses:

dao=[dao-address]
tokenManager=[token-manager-address]
voting=[voting-app-address]
vault=[vault-or-agent-app-address]
ANY_ADDRESS=0xffffffffffffffffffffffffffffffffffffffff

2. Install Redemptions App

Redemptions has been published to APM on Rinkeby and Mainnet at redemptions.aragonpm.eth

aragon dao install $dao redemptions.aragonpm.eth --app-init-args $vault $tokenManager ["'0x0527e400502d0cb4f214dd0d2f2a323fc88ff924', '0x4f394DE93392C98fCF4C942b5F621E3B89069183'"] --environment aragon:rinkeby

The default setup of the democracy DAO is for a vote of the token holders to take place before actions are executed. Head over to the voting app and you will see a new vote