Install & run node locally
Generate a selfsigned certificate for each node. see guide using open ssl.
Use different authority or wildcard matching authority of each node you intend to run.
In
node/config.yml, set thekeyand thepemyou used to generate the certificate.Give the certificate pem file to data providers for authenticating with your Node. You can also run your own data providers.
Update your organization details in
node/config.yml. Website must match authority used to sign certificate, an example will be if authority is*.origineum.com, website can benode-1.origineum.com. Otherwise, node service will fail to start.In
.env,HOST_IPis the dns for reaching your node. If you're running a docker container, you can override it and otherenvvariable by passing from terminal.In
.envPRIVATE_KEYis your Node signer with enough Klay tokens to pay for request.In
.envCOCKROACH_DNS_URLis your full connection string to https://cockroachlabs.cloud/ cluster. A free account will suffice for a considerable period.In
.envOAUTH_TOKENis the Oauth token given to data providers using your Node.Run
make gomodtidy,make node-tables,make node-server-nolog HOST_IP=0.0.0.0:50054ormake node-server HOST_IP=0.0.0.0:50054on your local machine to test it locally.
Last updated