First things first, update and upgrade your system
sudo apt-get update && sudo apt-get upgrade
sudo apt install build-essential git python
if you are usinig bash
replace this with zsh
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | zsh
Open a new terminal window and install node
nvm install 10.17.0
npm i -g @aragon/cli
aragon ipfs install
Finally we need to set up a private key for use with the cli.
Warning: DO NOT USE A KEY YOU ALREADY HAVE REAL FUNDS IN
Create a new key and get some test net sth from the rinkeby faucet
Some times the ~/.aragon
file is not included in the installation which is a problem because that's where out private key goes.
cd ~/.aragon
If you get file not found
run the dev chain first aragon devchain
and try again
Once your in the ~/.aragon
folder you need to crate a file that holds your private key.
have a separate key for rinkeby ETH, when interacting with your DAO on the main net, i highly advise using a hardware wallet and frame
Create a new the file for your rinkeby key
nano ~/.aragon/rinkeby_key.json
This will open a blank file, copy and paste the following replacing the text with your private key
{
"rpc": "https://rinkeby.infura.io",
"keys": ["put-your-priv-key-here"]
}
now test out your configuration by launching a DAO on rinkeby
dao new --environment aragon:rinkeby