Skip to content
This repository has been archived by the owner on Jul 22, 2020. It is now read-only.

Commit

Permalink
fix: update SLP cluster endpoint configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
mvines committed Feb 21, 2020
1 parent 3b37000 commit d4d4e1a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/EndpointConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,20 @@ const endpointUrlMap = {

devnet: 'https://devnet.solana.com:8443',
tds: 'https://tds.solana.com:8443',
slp: 'https://api.mainnet-beta.solana.com',
};

const endpointHostnameMap = {
'devnet.solana.com': 'devnet',
'api.cluster.solana.com': 'cluster',
'api.mainnet-beta.solana.com': 'slp',
'tds.solana.com': 'tds',
'explorer.solana.com': 'devnet', // Default endpoint for explorer.solana.com
'edge.explorer.solana.com': 'devnet', // Default endpoint for edge.explorer.solana.com
};

const endpointFriendlyNameMap = {
devnet: 'Developer Testnet',
cluster: 'Soft Launch',
slp: 'Soft Launch',
tds: 'Tour de SOL',
local: 'Local Cluster',
};
Expand Down

0 comments on commit d4d4e1a

Please sign in to comment.