createservice "servicename" "serviceaddress" "servicetype"
Create a new service on the blockchain. The price of creating a service is 10 SMLY.
"servicename" (string, required)
The service name associated with the service.
"serviceaddress" (string, required)
The smileycoin service address associated with the service.
"servicetype" (numeric, required)
The service type.
Ticket Sales
UBI
Book Chapter
Traceability
Nonprofit Organization
DEX
Survey
Non-profit groups
"transactionid"Β (string) The transaction id.
smileycoin-cli createservice Cinema 1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd 1
smileycoin-cli createservice Dracula 1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd 3
curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "createservice", "params": [UNICEF 1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd 5] }' -H 'content-type: text/plain;' http://127.0.0.1:9332/