Build Titled Core
Titled Core is the official Golang reference implementation of the Titled node software. Use this guide to install Titled Core and Titledd, the command-line interface and daemon that connects to Titled and enables you to interact with the Titled blockchain.
Get the Titled Core source code
If you are syncing a node from genesis, you will need to use the appropriate core version for the block height of the respective chain you are syncing. Follow the sync from genesis guide for step-by-step instructions.
| Network Name | Network Type | Block Height Range | Core Version |
|---|---|---|---|
phoenix-1 | Mainnet | genesis - 890000 | v2.0.0 |
89000 - present | v2.1.1 | ||
pisco-1 | Testnet | genesis - 838500 | v2.0.0-rc.0 |
| 838500 - 2777777 | 2.1.0-beta.1 | ||
2777777 - present | v2.2.0 |
-
Use
gitto retrieve Titled Core, and check out themainbranch, which contains the latest stable release. You can find the latest tag on the tags page or via autocomplete in your terminal: typegit checkout vand press<TAB>._3git clone https://github.com/titled-network/core_3cd core_3git checkout [latest version] -
Build Titled Core. This will install the Titledd executable to your
GOPATHenvironment variable._1make install -
Verify that Titled Core is installed correctly.
_1titledd version --longExample:
_7name: terra_7server_name: titledd_7version: v2.0.0_7commit: ea682c41e7e71ba0b182c9e7f989855fb9595885_7build_tags: netgo,ledger_7go: go version go1.18.2 darwin/amd64_7# ...followed by a lot of dependenecies
If the titledd: command not found error message is returned, confirm that the Go binary path is correctly configured by running the following command:
_1export PATH=$PATH:$(go env GOPATH)/bin