Safe Hash
Correct way to work on the server, so avoid hacks and secure your funds
walletudrox.notifyServer = "https://mysite.com/app/release_funds";We receive the hash
<?php
$hash = $_POST('hash');
?>Call SafeHash with curl in php
<?php
$hash = $_POST('hash');
$url = 'https://wallet.udrox.com/wallet/app/safehash?hash='.$hash;
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
$jsonSafeHash = curl_exec($ch);
curl_close($ch);
$safeHash = json_decode($jsonSafeHash,true);
$walletFrom = $safeHash["from"];
$walletTo = $safeHash["to"];
?>Objeto
Descripcion
BASIC PHP EXAMPLE
Last updated