These changes add a custom RPC service. It is a very simple sample taken from a tutorial for now, but we should enhance it so that it can actually sign things.
To test it, use curl -H "Content-Type: application/json" -d '{"id":1, "jsonrpc":"2.0", "method": "template_getValue"}' http://localhost:9933/ while the node is running.
These changes add a custom RPC service. It is a very simple sample taken from a tutorial for now, but we should enhance it so that it can actually sign things.
To test it, use
curl -H "Content-Type: application/json" -d '{"id":1, "jsonrpc":"2.0", "method": "template_getValue"}' http://localhost:9933/
while the node is running.