orzFly / php-ripple-rest

Ripple REST Client for PHP

Home Page:http://orzfly.github.io/php-ripple-rest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RippleRest PHP Client

This is a client that interacts with the Ripple network using the Ripple REST APIs.

This library can be used directly by include all classes directly, or by Composer: PHP version

RippleRest::setup("http://localhost:5990");

var_dump(RippleRest::isServerConnected());
var_dump(RippleRest::getServerInfo());
var_dump(RippleRest::createUUID());

$account = new RippleRestAccount("rES1hSkoWauMk3r6sgh7zfjpTCnwGbqaxA", "sSECRET");
var_dump($account->getBalances());
var_dump($account->getSettings());
var_dump($account->getNotification("DD9F40516152090612B12F1CCD5A88828AEA8813FEBD56D9D6B39ED918F4CCCA"));

$payment = $account->createPayment("rES1hSkoWauMk3r6sgh7zfjpTCnwGbqaxA", "5+XRP");
$account->submitPayment($payment);

About

Ripple REST Client for PHP

http://orzfly.github.io/php-ripple-rest/

License:MIT License


Languages

Language:PHP 70.2%Language:JavaScript 20.4%Language:CSS 5.1%Language:Ruby 4.3%