I am currently integrating BitsharesX into our crypto exchnage. PTS we could integrate like any other coin - however BitsharesX client is different.
What do I need to enter in the config.json file in order to have the same functionality as walletnotify with a regular coin?
What I have done so far is:
1)
https://github.com/dacsunlimited/bitsharesx installed and compiled btsx client
2) ./bitshares_client --server -> downloaded blockchain and started client as server
3) /home/deploy/.BitSharesX/config.json -> my config looks like this:
{
"rpc": {
"enable": true,
"rpc_user": "myuser",
"rpc_password": "mypass",
"rpc_endpoint": "127.0.0.1:0",
"httpd_endpoint": "127.0.0.1:0",
"htdocs": "./htdocs"
},
....
"growl_notify_endpoint": null,
"growl_password": null,
"growl_bitshares_client_identifier": null
}
I guess I would add the line
walletnotify=/usr/local/sbin/rabbitmqadmin publish routing_key=deposit.coin payload='{"txid":"%s", "channel_key":"bitsharesx"}
to growl_notify_endpoint ?