Skip to content
Thndr edited this page Jan 20, 2017 · 16 revisions

Requirements

  • git, g++
sudo apt-get install git build-essential g++
  • NodeJS (node(4, 5, or 6), npm)
sudo apt-get install nodejs npm

Recommended: Node v5

If you wish you can use Node Version Manager instead of basic Apt-Get nodejs

1. Go-Ethereum

sudo apt-get install software-properties-common
sudo add-apt-repository -y ppa:ethereum/ethereum
sudo apt-get update
sudo apt-get install ethereum

2. Embark

npm install -g embark

See the Quick Guide

3. EthereumJs-TestRPC

Recommended: @2.0.9

npm install -g [email protected]

EthereumJs-TestRPC github

4. IPFS

  • GO-IPFS

GO-IPFS

You will need to install GO and build IPFS locally to ensure it's using the latest features

Once installed and setup you will need to make sure the headers are setup properly for your app

ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin "[\"http://example.com\"]"
ipfs config --json API.HTTPHeaders.Access-Control-Allow-Credentials "[\"true\"]"
ipfs config --json API.HTTPHeaders.Access-Control-Allow-Methods "[\"PUT\", \"POST\", \"GET\"]"

You would want to launch it with: ipfs daemon --enable-pubsub-experiment

  • JSIPFS - As a Node.js Daemon Uses port 5002 by default

While it's not 100% on parity with GO-IPFS, it seems to work and supports orbit.

npm i -g ipfs

To launch you would need to use jsipfs instead ipfs

5. Mocha

npm i --save mocha

Original Instructions

go-ethereum

Clone this wiki locally