Skip to content

Commit

Permalink
update address of solana (#385)
Browse files Browse the repository at this point in the history
  • Loading branch information
domechn authored Apr 28, 2024
1 parent 96905ea commit d8d415e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,5 @@ Thanks for these platform who provide powerful APIs without API Key. Fuck API Ke
- https://blockchain.info
- https://blockcypher.com
- https://ankr.com
- https://phantom.app
- https://solflare.network
- https://coingecko.com
2 changes: 1 addition & 1 deletion src/middlelayers/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ async function loadPortfoliosByConfig(config: CexConfig & TokenConfig, addProgre
if (userInfo.isPro) {
console.debug("pro license, use pro analyzers")
anas = [ERC20ProAnalyzer, CexAnalyzer, SOLAnalyzer, OthersAnalyzer, BTCAnalyzer, DOGEAnalyzer, TRC20ProUserAnalyzer, TonAnalyzer]
// anas = [CexAnalyzer]
// anas = [SOLAnalyzer]
} else {
console.debug("not pro license, fallback to normal analyzers")
}
Expand Down
2 changes: 1 addition & 1 deletion src/middlelayers/datafetch/coins/sol.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { getAddressList } from '../utils/address'
export class SOLAnalyzer implements Analyzer {
private readonly config: Pick<TokenConfig, 'sol'>

private readonly queryUrl = "https://solana-mainnet.phantom.app/YBPpkkN4g91xDiAnTE9r0RcMkjg0sKUIWvAfoFVJ"
private readonly queryUrl = "https://mainnet-beta.solflare.network"

constructor(config: Pick<TokenConfig, 'sol'>) {
this.config = config
Expand Down

0 comments on commit d8d415e

Please sign in to comment.