From 5e90134dbc8133cd6a42442a62d4d27f84c9a2bc Mon Sep 17 00:00:00 2001 From: sc0Vu Date: Tue, 19 Dec 2017 12:07:56 +0800 Subject: [PATCH] README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d7863e2..439f480 100644 --- a/README.md +++ b/README.md @@ -30,8 +30,9 @@ $web3 = new Web3('http://localhost:8545'); ``` use Web3\Web3; 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: