docs: update examples

This commit is contained in:
Michael Vines
2018-11-07 08:52:01 -08:00
parent f20013a010
commit 64658c33ee
4 changed files with 9 additions and 9 deletions

View File

@ -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 => {