Source code¶
Installation¶
Golang environment¶
Thor requires Go 1.10+ and C compiler to build. To install Go, follow this link.(Thor requires Go
1.10+ and C
compiler to build. To install Go
, follow this link)
Get Thor source code¶
before this step, make sure your Golang can be work on your computer
clone the Thor source code from Github to your
GOPATH
directorygit clone https://github.com/vechain/thor.git cd thor
Import Thor source code to VS Code¶
- Open VSCode and click File -> open
- Open the Thor source code root directory (eg.
GOPATH
/src/thor)