Configuration file (.origintrail_noderc) should be located in your "ot-node" directory. Inside of your .origintrail_noderc file you can configure certain parameters such as:
"blockchainTitle":
Title of the blockchain your node will use.
โ
"networkId":
Network/Blockchain identity you wish your node to connect to.
โ
"rpcEndpoints":
Endpoint/URL which your node will use in order to communicate with blockchain. OriginTrail v6 Beta node is currently running on Polygon Mumbai (testnet) network.
Polygon Mumbai RPC: https://matic-mumbai.chainstacklabs.com/.
โ
"publicKey":
Operational wallet address which your node will use. At this time, it needs MATIC test tokens for Polygon Mumbai (testnet) so please make sure it is funded in order for your node to function properly.
โ
"graphDatabase":
Currently, OriginTrail v6 Beta node is supporting two graph databases: GraphDB and Blazegraph
Check the following documentation in order to setup the database of your choice.
Please make sure that your configuration is properly set based on the installed graph database.
For GraphDB:
1
"graphDatabase":{
2
"username":"admin",
3
"password":""
4
},
Copied!
For Blazegraph:
1
"graphDatabase": {
2
"implementation": "Blazegraph",
3
"url": "http://localhost:9999/blazegraph",
4
"username": "admin",
5
"password": ""
6
},
Copied!
โ
"networkId":
When you start your node for the first time, it will generate its network identity and populate the "network" block automatically. Leave it blank as shown in the example file at the end of this page. When the network identity for your node is generated, your configuration file will look as shown below: