diff --git a/web3.js/examples/account.html b/web3.js/examples/account.html index dcd3386aad..32eb6d3acc 100644 --- a/web3.js/examples/account.html +++ b/web3.js/examples/account.html @@ -9,7 +9,7 @@ diff --git a/web3.js/examples/get-balance.js b/web3.js/examples/get-balance.js index a8dc5e632a..0290564987 100644 --- a/web3.js/examples/get-balance.js +++ b/web3.js/examples/get-balance.js @@ -9,8 +9,8 @@ const solanaWeb3 = require('..'); const account = new solanaWeb3.Account(); let url; -url = 'http://localhost:8899'; -//url = 'http://testnet.solana.com:8899'; +url = 'https://api.testnet.solana.com'; +//url = 'http://localhost:8899'; const connection = new solanaWeb3.Connection(url); connection.getBalance(account.publicKey).then(balance => {