PHP code example of tectiv3 / monero_address
1. Go to this page and download the library: Download tectiv3/monero_address library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
tectiv3 / monero_address example snippets
tectiv3\MoneroAddress;
$m = new MoneroAddress('4LZerFMFcVxfdJA19zHBNa94x6KLTDGMZ8eyWBNz8wYt6nSScuLKUvPNW6h3hasuZK6JYFjYCigEUWupwBScV1e4Ldw4wbvi1ma9egjCxU');
$m->print();
$m = new MoneroAddress('4AryqSXm1ESfdJA19zHBNa94x6KLTDGMZ8eyWBNz8wYt6nSScuLKUvPNW6h3hasuZK6JYFjYCigEUWupwBScV1e4EDqFbr8');
$m->print();
echo $m->makeIntegrated('668927f1bd69114c');