Switch testnet url

This commit is contained in:
Michael Vines
2018-09-12 17:11:05 -07:00
parent 29148ef898
commit ad5390bbae
3 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ const account = new solanaWeb3.Account();
let url;
url = 'http://localhost:8899';
//url = 'http://master.testnet.solana.com:8899';
//url = 'http://testnet.solana.com:8899';
const connection = new solanaWeb3.Connection(url);
connection.getBalance(account.publicKey)