Download the latest Daemon here
The SingularityNet Daemon is designed to be deployed as a sidecar proxy alongside the service on a given host. All communication to the daemon needs to be secured using SSL and can be achieved in the following ways
The daemon needs to be configured for it to work with the corresponding AI service. For a detailed list of configurations available , please check here
{
"daemon_end_point": "0.0.0.0:8088",
"ipfs_end_point": "http://ipfs.singularitynet.io:80",
"passthrough_enabled": true,
"passthrough_endpoint": "http://localhost:3000",
"organization_id": "yourorganization",
"service_id": "yourserviceid",
"payment_channel_cert_path": "/home/adminuser/Downloads/ca.pem",
"payment_channel_ca_path": "/home/adminuser/Downloads/ca.pem",
"payment_channel_key_path": "/home/adminuser/Downloads/client-key.pem",
"blockchain_network_selected": "ropsten",
"ethereum_json_rpc_endpoint": "https://ropsten.infura.io/v3/<YourRegisterdinfuraiID>"
}
You could also build a default configuration for Daemon by
$ ./build/snetd-linux-amd64 init
"blockchain_network_selected": "main",
"ssl_cert": "/etc/letsencrypt/live/<daemon_domain>/fullchain.pem",
"ssl_key": "/etc/letsencrypt/live/<daemon_domain>/privkey.pem",
"passthrough_endpoint": "http://localhost:3000",
<host>:<port>
format. This address should be publically accessible
"daemon_end_point": "0.0.0.0:7002",
"organization_id": "snet",
organization_id
and service_id
"service_id": "example-service",
The daemon configuration page has all the available configurations
./snetd-linux-amd64 --config <config_file_name>
Last modified on : 15-Oct-24