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
{{ message }}
This repository was archived by the owner on Sep 4, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,9 @@ Please note, this library is by far not completed and but can be used in product
10
10
First you need to setup a new Electrum wallet. Follow the instructions according to your OS at the [Electrum Download Page](https://electrum.org/#download). After the successfull installation you need to set a rpcport by typing:
Then we can create a default wallet, dont forget to note your generated seed, it's nescessary if you want to recover it one day:
15
17
```
16
18
electrum create
@@ -58,7 +60,7 @@ $response->getVersion();
58
60
## Custom Client Configuration
59
61
Every Request/Method takes a `Electrum\Client`-instance as parameter which replaces the default one. A custom instance can be usefull if you want to set custom config params like another Hostname or Port.
60
62
```php
61
-
$client = new \Electrum\Client('http://127.0.0.1', 7777);
63
+
$client = new \Electrum\Client('http://127.0.0.1', 7777, 0, 'RPC_USER_NAME', 'VERY_SECRET_NOT_STARTED_WITH_DIGIT');
62
64
$method = new \Electrum\Request\Method\Version($client);
0 commit comments