From 8738aa8de1efc365d40b33adaa5d681b52e467c3 Mon Sep 17 00:00:00 2001 From: sc0Vu Date: Fri, 15 Dec 2017 11:42:13 +0800 Subject: [PATCH] README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 51bf5d3..e9031e7 100644 --- a/README.md +++ b/README.md @@ -21,14 +21,14 @@ Or you can add this line in composer.json ### New instance ``` -use Web3/Web3; +use Web3\Web3; $web3 = new Web3('http://localhost:8545'); ``` ### Using provider ``` -use Web3/Web3; +use Web3\Web3; use Web3\Providers\HttpProvider; $web3 = new Web3(new HttpProvider('http://localhost:8545')); @@ -65,7 +65,7 @@ $web3->execute(function ($err, $data) { ### Eth ``` -use Web3/Web3; +use Web3\Web3; $web3 = new Web3('http://localhost:8545'); $eth = $web3->eth; @@ -74,7 +74,7 @@ $eth = $web3->eth; Or ``` -use Web3/Eth; +use Web3\Eth; $eth = new Eth('http://localhost:8545'); ```