Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

Commit

Permalink
example - add more example rpcUrls
Browse files Browse the repository at this point in the history
  • Loading branch information
kumavis committed Apr 10, 2018
1 parent d6a52da commit 69cabc3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion example.js
Expand Up @@ -7,7 +7,9 @@ const providerEngine = ZeroClientProvider({
// supports http and websockets
// but defaults to infura's mainnet rest api
// rpcUrl: 'https://mainnet.infura.io',
rpcUrl: 'wss://mainnet.infura.io/ws',
// rpcUrl: 'http://localhost:8545',
// rpcUrl: 'wss://mainnet.infura.io/ws',
// rpcUrl: 'ws://localhost:8545/ws',
})

// use the provider to instantiate Ethjs, Web3, etc
Expand Down

0 comments on commit 69cabc3

Please sign in to comment.