README.md
This commit is contained in:
parent
4c32a35f11
commit
5e90134dbc
@ -30,8 +30,9 @@ $web3 = new Web3('http://localhost:8545');
|
|||||||
```
|
```
|
||||||
use Web3\Web3;
|
use Web3\Web3;
|
||||||
use Web3\Providers\HttpProvider;
|
use Web3\Providers\HttpProvider;
|
||||||
|
use Web3\RequestManagers\HttpRequestManager;
|
||||||
|
|
||||||
$web3 = new Web3(new HttpProvider('http://localhost:8545'));
|
$web3 = new Web3(new HttpProvider(new HttpRequestManager('http://localhost:8545')));
|
||||||
```
|
```
|
||||||
|
|
||||||
### You can use callback to each rpc call:
|
### You can use callback to each rpc call:
|
||||||
|
Loading…
Reference in New Issue
Block a user