Git Product home page Git Product logo

poriot_network's Introduction

  • 系统推荐配置

  • Core 8

  • RAM 32G

  • ESSD 300GB

  • CentOS 7.6

  • 前提准备go环境

  • wget https://studygolang.com/dl/golang/go1.15.3.linux-amd64.tar.gz
    
    tar -zxvf go1.15.3.linux-amd64.tar.gz
  • 添加环境变量/etc/profile

  • - export PATH=$PATH:/usr/local/go/bin
    
    - export GOPATH=/usr/local/go
    
      export PATH=$GOPATH/bin:$PATH

    保存退出刷新配置

    source /etc/profile
  • 检查是否成功,显示版本号即为成功

    go version
  • 下载poriot-network.git

  • git clonet https://github.com/zktube123/poriot_network.git
  • 进入目录编译 poriot chain

  • cd poriot_network && make gho
  • 创建节点目录同步数据

    • mkdir data 
      • 初始化目录。(创始文件在源码包. genesis.json )

        • gho init --datadir data/ genesis.json

启动 节点

gho --networkid "52716" --datadir /root/data --port "22022" --http --http.addr "0.0.0.0" --http.corsdomain "*" --http.vhosts "*"  --ws --ws.addr "0.0.0.0" --ws.origins "*" 

端口默认 rpc.http 8545 ws.rpc 8546

poriot_network's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.