add rpc for sendalert and makekeypair