Skip to content

Instantly share code, notes, and snippets.

@pythonpete32
Last active February 22, 2020 17:52
Show Gist options
  • Save pythonpete32/965445614c1bfb397afea108cdcbab85 to your computer and use it in GitHub Desktop.
Save pythonpete32/965445614c1bfb397afea108cdcbab85 to your computer and use it in GitHub Desktop.

First things first, update and upgrade your system

sudo apt-get update && sudo apt-get upgrade

Install global libraries

sudo apt install build-essential git python

Install NVM

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

Install Aragon CLI

npm i -g @aragon/cli
aragon ipfs install

Setting up cli

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment