how to build your first dapp

How to Build your First Dapp (in Minutes)

I know many people out there are curious on how to actually build on the Ethereum network. I decided to learn how to do it so I could help everyone else out. Plus it will further the ecosystem if more knowledge is out there. Believe it or not the process isn’t terrible and the front end is just like developing a website on the internet today.

Here are the steps to do it:

  • Go to Ubuntu.com
  • Hit the download button (this will download the iso)
  • Go to VirtualBox
  • Install and open it up when done
  • Click New at the top of VirtualBox
  • Give it whatever name you want
  •  The type will be Linux and the version will be Ubuntu (64 Bit)

developing on ethereum network

  • Click next and put 2048 for memory size
  • Click next and click create
  • Right click on the VM and go to settings
  • Go to storage and click on where it says empty and insert iso you downloaded from Ubuntu.com

build first dapp

  • Open the VM and run through install
  • Once the install is done restart the VM
  • Log in and right click to select “open terminal”
  • Type sudo apt-get install git build-essential g++
  •  After that is done type (two separate commands):
    curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
    
    sudo apt-get install -y nodejs
  • Next type these commands
    sudo apt-get install software-properties-common
    sudo add-apt-repository -y ppa:ethereum/ethereum
    sudo apt-get update
    sudo apt-get install ethereum
  • Then install embark with the following command
    sudo npm -g install embark
  • It is easy to build your first dapp. All you have to do is type “embark new testapp”
  • This will create an app so if you type “ls” you will see the app you just created

embark first application

  • Once all of this is done you can follow the second half of instructions in the video to build a simple dapp.

 

Leave a Reply