Skip to content

Commit 2292352

Browse files
Update README.md
1 parent 413f38f commit 2292352

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import Web3 from 'https://deno.land/x/web3/mod.ts'
1919

2020
const providerURL = Deno.args[0]
2121

22-
const web3 = new Web3.providers.HttpProvider(providerURL))
22+
const web3 = new Web3(new Web3.providers.HttpProvider(providerURL))
2323

2424
const balance = await web3.eth.getBalance("0x7a915e362353d72570dcf90aa5baa1c5b341c7aa")
2525

0 commit comments

Comments
 (0)