The way to entry Electrum remotely by way of the remainder api?


I’m able to execute calls on the server from the server. Once I say calls, I imply like this. I.e. I can get the most recent addresses doing one thing like this:

$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, "");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, "{"id":"curltext","technique":"listaddresses"}");
curl_setopt($ch, CURLOPT_POST, 1);

$headers = array();
$headers[] = "Content material-Kind: software/x-www-form-urlencoded";
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

$consequence = curl_exec($ch);
if (curl_errno($ch)) {
    echo 'Error:' . curl_error($ch);
curl_close ($ch);
print '<pre>';

The issue is, I do not need to need to execute this on the server. I hoped there could be a safe solution to execute this remotely.

Can somebody please inform me if that is potential? I attempted opening port 7777, however nonetheless cannot entry it. Is it maybe on goal? As I can think about this being a safety downside.


Supply hyperlink

Leave a reply