JD999 / go-empow

Blockchain of empow

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EMPOW BLOCKCHAIN - Social Network on Blockchain

How to run full node

  • Machine requirements

    • CPU: 4 cores or more (8 cores recommended)
    • Memory: 8GB or more (16GB recommended)
    • Disk: 1TB or more (5TB HDD recommended)
    • Network: access to Internet with port tcp: 30000 opened (If you want to enable rpc for node, please open port 30001, 30002)
  • Run the boot script to start a full node:

    curl https://raw.githubusercontent.com/empow-blockchain/go-empow/master/script/boot.sh | bash

    INET : mainnet, testnet (default: mainnet)

Build Empow Blockchain

  • Install Golang

  • Install Git LFS

  • Config Environment Variable (GOPATH)

    • Edit file ~/.profile

    • Add these 2 lines to the end of the file

     export GOPATH=$(go env GOPATH)
     export PATH=$PATH:$GOPATH/bin
  • Pull code from github to golang folder

     go get -d github.com/empow-blockchain/go-empow
  • Build code

     cd $GOPATH/src/github.com/empow-blockchain/go-empow
     git lfs pull
     make build install
     cd vm/v8vm/v8/; make deploy; cd ../../..
  • Run blockchain

     iserver  -f ./config/iserver.yml

About

Blockchain of empow

License:GNU Lesser General Public License v3.0


Languages

Language:Go 80.0%Language:JavaScript 13.7%Language:C++ 4.9%Language:Shell 0.8%Language:C 0.3%Language:Makefile 0.2%Language:Dockerfile 0.0%