• R

    EtherWorld is all about The Blockchain Revolution.

    This is an initiative by Avarch group to create awareness about the changing world with the new technology called Blockchain.

    At EtherWorld, we share crypto news, technical blogs, project update, ICO and events calendar. Basically, it is a hub of all sort of information to cater every user group of crypto-space. Our weekly newsletter includes news of other publishing house also which covers news related to blockchain technology, so user shouldn't miss anything going around the world.

    This is an open forum of all technology lover. If you are willing to learn blockchain technology and share your knowledge with our users in form of blogs, join us as a contributor today.

    Please follow us @ether_world (Twitter), EtherWorld (Facebook) and EtherWorld_co (reddit). You may also reach us at Email (contact@etherworld.co).

    Your feedback is highly appreciated.

    posted in About Us read more
  • R

    Geth is the the command line interface for running a full ethereum node implemented in Go. I am going to be talking about how to install geth on ubuntu on 16.10.

    Lets check out the ubuntu version....


    It is good to avoid root user to install or run the softwares on linux for security reasons. So i have setup an exclusive user to carry out the installation of geth and run it.

    0_1483841969379_Screenshot at 2017-01-07 19-59-05.png

    Now lets prepare the dependency required to run geth. As i mentioned above geth is written in GO. So i am going to install GO run time

    Download Go anywhere you like on your system , in my case i have downloaded in my home folder

    curl -O https://storage.googleapis.com/golang/go1.7.3.linux-amd64.tar.gz

    0_1483886933641_Screenshot at 2017-01-08 09-48-29.png

    Unpack it to folder where you want to install it, in my case i have created a directory where i am going to install geth and Go.

    tar -C /ethereum -xzf go1.7.3.linux-amd64.tar.gz

    0_1483887440788_Screenshot at 2017-01-08 09-56-52.png

    set GOPATH and PATH

    export GOPATH=/{your geth home directory}

    export PATH=$PATH:{your geth home directory}/bin

    in my case its

    export GOPATH=/ethereum/go

    export PATH=$PATH:/ethereum/go/bin

    Building geth requires Go and C compilers to be installed:

    sudo apt-get install -y build-essential golang

    Now all the dependencies takes care off, lets clone the Geth software and build it.
    switch to directory where you want to install geth , in my case its
    0_1483888818865_Screenshot at 2017-01-08 10-19-59.png

    After cloning is complete

    cd go-ethereum

    make geth

    After build id complete you can go to "/go-ethereum/build/bin" and start geth node ..


    I have put together a script that will ensure all the required variables are set before starting the node and generate the blocks in the directory you like.
    open the editor of your choice and put this code, modify the paths according to your local installation.

    export GOPATH=/ethereum/go
    export PATH=$PATH:/ethereum/go/bin
    echo "strating............."
    /ethereum/go-ethereum/build/bin/geth  --rpc --rpccorsdomain "*" --datadir /ethereum/blocks 2>> /ethereum/logs/ethereum.log

    Do not forget to give execute permission on file

    chmod +x script_name.sh

    I am going to run geth as background process, i have installed daemon for me to be able to run the process in background.

    you can install "daemon" on ubuntu

    apt-get install daemon

    Now all set to start the geth node...................................................................

    daemon /home/ethereum/start-geth.sh

    and you can tail the log to see the progress of start process....

    0_1483892946273_Screenshot at 2017-01-08 11-28-11.png

    Since we are running geth as background process, if we need to attach to geth in interactive mode , use the following command

    /ethereum/go-ethereum/build/bin/geth attach ipc:/ethereum/blocks/geth.ipc

    0_1483893581322_Screenshot at 2017-01-08 11-39-16.png

    posted in Blogs read more
  • R

    In this post, we are going to setup a testnet of ethereum using Geth. Testnet is use full in many cases like when we want to do some transactions on ethereum network without spending actual ethers. we will still need ethers to do transactions on testnet but generating ether on test is very easy and can be done on your laptop and may be within in 10 minutes we will have enough ethers to do some transactions. I am going to run this on ubuntu 10.06. you should have already geth installed on your system which i have covered in this post

    You can start the testnode by simply passing parameter " --testnet" while starting geth.

    ./geth --testnet

    I am going to run geth node as background process. I have a small start up script here which set all the required parameters while starting geth and redirect the output to a logfile.

    vi testnet-start-geth.sh

    export GOPATH=/ethereum/go
    export PATH=$PATH:/ethereum/go/bin
    /ethereum/go-ethereum/build/bin/geth --testnet --rpc --rpccorsdomain "*" --datadir /ethereum/blocks-test 2>> /ethereum/logs/test-ethereum.log

    --rpc use if you want to access geth over RPC

    --rpccorsdomain you can restrict the access of RPC using this flag

    --datadir use this to download blockchian block in the directory of choice

    set execute permission on script and start it

    daemon /home/ethereum/testnet-start-geth.sh

    and you can watch the log to see the progress of startup...it will take sometime to synch the entire blockchain.

    0_1483927485629_Screenshot at 2017-01-08 21-04-21.png

    To start the geth in mining mode you will have to pass an additional parameter "--mine"

    /ethereum/go-ethereum/build/bin/geth --testnet --mine --rpc --rpccorsdomain "*" --datadir /ethereum/blocks-test 2>> /ethereum/logs/test-ethereum.log

    modify the startup script and start it with daemon

    daemon /home/ethereum/testnet-start-geth.sh

    you can not start actual mining until your node download all the blocks, This site site will give you the last block number mined on the testnet. you can watch the log to compare with the number given by above site to see your node if fully synced.

    Or, you can attach to geth to use the interactive mode

    /ethereum/go-ethereum/build/bin/geth attach ipc:/ethereum/blocks-test/testnet/geth.ipc

    0_1483929595546_Screenshot at 2017-01-08 21-39-35.png

    After the node is fully synced and you start mining , an account need to be created where you want to store the mined ether.

    0_1483930561618_Screenshot at 2017-01-08 21-55-52.png

    And now mining can be started...

    0_1483930848395_Screenshot at 2017-01-08 22-00-21.png

    After you issuie the mining command you will see "Generating DAG" in the log , actual mining will not start until generating DAG is 100% complete..

    0_1483931070731_Screenshot at 2017-01-08 22-01-35.png

    As soon as mining start , all the cpus utilizations will go to 100% and it will start hashing hard to win the ethers.
    0_1483931477036_Screenshot at 2017-01-08 22-11-04.png

    and here you go , we have already mined some ethers within 10 minutes..
    0_1483931785292_Screenshot at 2017-01-08 22-16-10.png

    posted in Blogs read more

Looks like your connection to EtherWorld - Ethereum News was lost, please wait while we try to reconnect.