Setting Up an Ethereum Blockchain Contract
Before we start, we will need to download and install all the necessary libraries.
The Mist browser is the tool of choice to browse and use Dapps (Decentralized Applications).
$ git clone https://github.com/ethereum/mist.git
$ cd mist
If you are getting the message 'yarn: command not found', just install yarn:
Yarn is a package manager for your code.
curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --nightly
Do not forget to restart Terminal/CMD
The Go Ethereum command line client (geth)
Installation on MAC:
If you do not have Homebrew install it first
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Otherwise install Geth with brew
brew tap ethereum/ethereum
brew install ethereum
Installation on WINDOWS:
Extract geth.exe from zip, open a command terminal and type:
chdir path to extracted binary
NodeJS + NPM
Google Chrome browser
Download Chrome if you don't have it on your computer.
MetaMask Chrome extension.
MetaMask is an extension for accessing Ethereum and Dapps.
And finally ...
You can use SOLC compiler via Node.js, you can install it via npm:
npm install solc
Use Remix compiler online, you don’t need to install anything:
Now you are good to go, happy blockchaining!