Thor requires Go
1.19+ and C
compiler to build. To install Go
, follow this link.
Clone the Thor repo:
git clone https://github.com/vechain/thor.git
cd thor
It is recommended to use the latest stable release. To checkout the latest stable release, run:
git checkout $(git describe --tags `git rev-list --tags --max-count=1`)
To see a list of all available commands, run make help
To build the main app thor
, just run
make
or build the full suite:
make all
If no errors are reported, all built executable binaries will appear in folder bin.
./bin/thor help