Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Development Environment

martinbtm edited this page Sep 6, 2021 · 1 revision

Set up Development Environment

Requirements for system

Requirements for hardware

  • Requirements for consensus nodes: CPU 8 cores, memory 32G, bandwidth 50M, SSD 3T
  • The minimum requirements for verification nodes: CPU 2 cores, memory 8G, bandwidth 20M, SSD 1T

Requirements for software

Windows、Ubuntu、Centos or MacOS

  • CentOS 7
  • Ubuntu 18.04
  • Windows 10

Development environment

Configure Go environment

Assuming you have configured go v1.8 or higher installed, and set GOPATH

Note:you must copy the working directory to $GOPATH/src/github.com/bytom

Because go does not depend on the relative path of import, putting the project in any directory has no effect, because the import path will be appended to $GOPATH/src, If the lib does not exist, it will be downloaded from the master HEAD.

Download project from Github

get project from Github

`git clone https://github.com/Bytom/bytom.git