Add breadcrumbs to some other available endpoints

This commit is contained in:
Michael Vines 2018-09-26 14:21:48 -07:00
parent e3703cec29
commit 8ccbe888d3
2 changed files with 5 additions and 3 deletions

View File

@ -14,7 +14,8 @@ const contractState = new solanaWeb3.Account();
let url;
url = 'http://localhost:8899';
//url = 'http://testnet.solana.com:8899';
//url = 'https://api.testnet.solana.com/master';
//url = 'https://api.testnet.solana.com';
const connection = new solanaWeb3.Connection(url);
function showBalance() {

View File

@ -5,8 +5,9 @@ import {Connection} from '../src/connection';
import {SystemProgram} from '../src/system-program';
import {mockRpc} from './__mocks__/node-fetch';
const url = 'http://testnet.solana.com:8899';
//const url = 'http://localhost:8899';
let url = 'http://testnet.solana.com:8899';
//url = 'http://master.testnet.solana.com:8899';
//url = 'http://localhost:8899';
const errorMessage = 'Invalid request';
const errorResponse = {