tectiv3/monero_address

Monero address create/verify library for PHP

v1.1 2018-02-07 14:19 UTC

This package is auto-updated.

Last update: 2024-12-07 16:47:42 UTC


README

Small library to create/verify monero addresses

Usage

<?php
require_once('vendor/autoload.php');

use tectiv3\MoneroAddress;

$m = new MoneroAddress('4LZerFMFcVxfdJA19zHBNa94x6KLTDGMZ8eyWBNz8wYt6nSScuLKUvPNW6h3hasuZK6JYFjYCigEUWupwBScV1e4Ldw4wbvi1ma9egjCxU');
$m->print();

$m = new MoneroAddress('4AryqSXm1ESfdJA19zHBNa94x6KLTDGMZ8eyWBNz8wYt6nSScuLKUvPNW6h3hasuZK6JYFjYCigEUWupwBScV1e4EDqFbr8');
$m->print();
echo $m->makeIntegrated('668927f1bd69114c');

Special thanks to luigi1111 and this answer on SE