Add breadcrumbs to some other available endpoints
This commit is contained in:
@ -14,7 +14,8 @@ const contractState = new solanaWeb3.Account();
|
|||||||
|
|
||||||
let url;
|
let url;
|
||||||
url = 'http://localhost:8899';
|
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);
|
const connection = new solanaWeb3.Connection(url);
|
||||||
|
|
||||||
function showBalance() {
|
function showBalance() {
|
||||||
|
@ -5,8 +5,9 @@ import {Connection} from '../src/connection';
|
|||||||
import {SystemProgram} from '../src/system-program';
|
import {SystemProgram} from '../src/system-program';
|
||||||
import {mockRpc} from './__mocks__/node-fetch';
|
import {mockRpc} from './__mocks__/node-fetch';
|
||||||
|
|
||||||
const url = 'http://testnet.solana.com:8899';
|
let url = 'http://testnet.solana.com:8899';
|
||||||
//const url = 'http://localhost:8899';
|
//url = 'http://master.testnet.solana.com:8899';
|
||||||
|
//url = 'http://localhost:8899';
|
||||||
|
|
||||||
const errorMessage = 'Invalid request';
|
const errorMessage = 'Invalid request';
|
||||||
const errorResponse = {
|
const errorResponse = {
|
||||||
|
Reference in New Issue
Block a user