These changes make the keystore available in the RPC pallet. In addition, it adds the sign endpoint to sign things using the authority key. To test it, use curl -H "Content-Type: application/json" -d '{"id":1, "jsonrpc":"2.0", "method": "sign", "params": ["any message"]}' http://localhost:9933/
These changes make the keystore available in the RPC pallet. In addition, it adds the
sign
endpoint to sign things using the authority key. To test it, usecurl -H "Content-Type: application/json" -d '{"id":1, "jsonrpc":"2.0", "method": "sign", "params": ["any message"]}' http://localhost:9933/
This PR depends on https://github.com/ambula-labs/ambula/pull/22.