You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+23-24Lines changed: 23 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,13 @@
1
-
# Simple Bitcoin JSON-RPC client based on GuzzleHttp
1
+
# Simple Litecoin JSON-RPC client based on GuzzleHttp
2
2
3
-
[](https://gitter.im/php-bitcoinrpc/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
This project is based on [php-litecoinrpc](https://github.com/denpamusic/php-bitcoinrpc) project - fully unit-tested Litecoin JSON-RPC client powered by GuzzleHttp.
6
5
7
6
## Installation
8
-
Run ```php composer.phar require denpa/php-bitcoinrpc``` in your project directory or add following lines to composer.json
7
+
Run ```php composer.phar require majestic/php-litecoinrpc``` in your project directory or add following lines to composer.json
9
8
```javascript
10
9
"require": {
11
-
"denpa/php-bitcoinrpc":"^2.0"
10
+
"majestic/php-litecoinrpc":"^2.0"
12
11
}
13
12
```
14
13
and run ```php composer.phar update```.
@@ -19,15 +18,15 @@ PHP 7.0 or higher (should also work on 5.6, but this is unsupported)
19
18
## Usage
20
19
Create new object with url as parameter
21
20
```php
22
-
use Denpa\Bitcoin\Client as BitcoinClient;
21
+
use Majestic\Litecoin\Client as LitecoinClient;
23
22
24
-
$bitcoind = new BitcoinClient('http://rpcuser:rpcpassword@localhost:8332/');
23
+
$litecoind = new LitecoinClient('http://rpcuser:rpcpassword@localhost:8332/');
0 commit comments