Skip to content

Commit

Permalink
Change frontend RPC
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacsolo committed May 24, 2024
1 parent 6cd83f9 commit dc3d0ee
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/libs/src/sdk/config/production.ts
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ export const productionConfig: SdkServicesConfig = {
"rewardManagerProgramAddress": "DDZDcYdQFEMwcu2Mwo75yGFjJ1mUQyyXLWzhZLEVFcei",
"rewardManagerStateAddress": "71hWFVYokLaN1PNYzTAWi13EfJ7Xt9VbSWUKsXUT8mxE",
"paymentRouterProgramAddress": "paytYpX3LPN98TAeen6bFFeraGSuWnomZmCXjAsoqPa",
"rpcEndpoint": "https://audius-fe.rpcpool.com",
"rpcEndpoint": "https://solana-mainnet.g.alchemy.com/v2/v-pjHiJSTwzbZ5lAFHQosAHaJf4oi0zR",
"usdcTokenMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"wAudioTokenMint": "9LzCMqDgTKYz9Drzqnpgee3SGa89up3a247ypMj2xrqM"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/libs/src/sdk/config/staging.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export const stagingConfig: SdkServicesConfig = {
"rewardManagerProgramAddress": "CDpzvz7DfgbF95jSSCHLX3ERkugyfgn9Fw8ypNZ1hfXp",
"rewardManagerStateAddress": "GaiG9LDYHfZGqeNaoGRzFEnLiwUT7WiC6sA6FDJX9ZPq",
"paymentRouterProgramAddress": "sp38CXGL9FoWPp9Avo4fevewEX4UqNkTSTFUPpQFRry",
"rpcEndpoint": "https://audius-fe.rpcpool.com",
"rpcEndpoint": "https://solana-mainnet.g.alchemy.com/v2/v-pjHiJSTwzbZ5lAFHQosAHaJf4oi0zR",
"usdcTokenMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"wAudioTokenMint": "BELGiMZQ34SDE6x2FUaML2UHDAgBLS64xvhXjX5tBBZo"
}
Expand Down
6 changes: 4 additions & 2 deletions packages/libs/src/sdk/scripts/generateServicesConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ const productionConfig: SdkServicesConfig = {
rewardManagerProgramAddress: 'DDZDcYdQFEMwcu2Mwo75yGFjJ1mUQyyXLWzhZLEVFcei',
rewardManagerStateAddress: '71hWFVYokLaN1PNYzTAWi13EfJ7Xt9VbSWUKsXUT8mxE',
paymentRouterProgramAddress: 'paytYpX3LPN98TAeen6bFFeraGSuWnomZmCXjAsoqPa',
rpcEndpoint: 'https://audius-fe.rpcpool.com',
rpcEndpoint:
'https://solana-mainnet.g.alchemy.com/v2/v-pjHiJSTwzbZ5lAFHQosAHaJf4oi0zR',
usdcTokenMint: 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v',
wAudioTokenMint: '9LzCMqDgTKYz9Drzqnpgee3SGa89up3a247ypMj2xrqM'
}
Expand All @@ -108,7 +109,8 @@ const stagingConfig: SdkServicesConfig = {
rewardManagerProgramAddress: 'CDpzvz7DfgbF95jSSCHLX3ERkugyfgn9Fw8ypNZ1hfXp',
rewardManagerStateAddress: 'GaiG9LDYHfZGqeNaoGRzFEnLiwUT7WiC6sA6FDJX9ZPq',
paymentRouterProgramAddress: 'sp38CXGL9FoWPp9Avo4fevewEX4UqNkTSTFUPpQFRry',
rpcEndpoint: 'https://audius-fe.rpcpool.com',
rpcEndpoint:
'https://solana-mainnet.g.alchemy.com/v2/v-pjHiJSTwzbZ5lAFHQosAHaJf4oi0zR',
usdcTokenMint: 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v',
wAudioTokenMint: 'BELGiMZQ34SDE6x2FUaML2UHDAgBLS64xvhXjX5tBBZo'
}
Expand Down
2 changes: 1 addition & 1 deletion packages/mobile/src/env/env.prod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export const env: Env = {
SENTRY_DSN: 'https://e26d2b01488f4b538ea235de6466c40a@s.audius.co/1457231',
SOL_BRIDGE_ADDRESS: 'worm2ZoG2kUd4vFXhvjh93UUH596ayRfgQ2MgjNMTth',
SOL_TOKEN_BRIDGE_ADDRESS: 'wormDTUJ6AWPNvk59vGQbDvGJmqbDTdgWgAqcLBCgUb',
SOLANA_CLUSTER_ENDPOINT: 'https://audius-fe.rpcpool.com',
SOLANA_CLUSTER_ENDPOINT: 'https://solana-mainnet.g.alchemy.com/v2/v-pjHiJSTwzbZ5lAFHQosAHaJf4oi0zR',
SOLANA_FEE_PAYER_ADDRESS: 'pqx3fvvh6b2eZBfLhTtQ5KxzU3CginmgGTmDCjk8TPP',
SOLANA_RELAY_ENDPOINT: 'https://discoveryprovider.audius.co',
SOLANA_TOKEN_PROGRAM_ADDRESS: 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA',
Expand Down
2 changes: 1 addition & 1 deletion packages/mobile/src/env/env.stage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export const env: Env = {
SENTRY_DSN: 'https://4b15a7a2f2e2459997408b39a0c4942c@s.audius.co/1851611',
SOL_BRIDGE_ADDRESS: null,
SOL_TOKEN_BRIDGE_ADDRESS: null,
SOLANA_CLUSTER_ENDPOINT: 'https://audius-fe.rpcpool.com',
SOLANA_CLUSTER_ENDPOINT: 'https://solana-mainnet.g.alchemy.com/v2/v-pjHiJSTwzbZ5lAFHQosAHaJf4oi0zR',
SOLANA_FEE_PAYER_ADDRESS: 'E3CfijtAJwBSHfwFEViAUd3xp7c8TBxwC1eXn1Fgxp8h',
SOLANA_RELAY_ENDPOINT: 'https://discoveryprovider.staging.audius.co',
SOLANA_TOKEN_PROGRAM_ADDRESS: 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA',
Expand Down
2 changes: 1 addition & 1 deletion packages/web/src/services/env/env.stage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export const env: Env = {
SOL_BRIDGE_ADDRESS: null,
SOL_TOKEN_BRIDGE_ADDRESS: null,
SOLANA_CLUSTER_ENDPOINT:
process.env.VITE_SOLANA_CLUSTER_ENDPOINT || 'https://audius-fe.rpcpool.com',
process.env.VITE_SOLANA_CLUSTER_ENDPOINT || 'https://solana-mainnet.g.alchemy.com/v2/v-pjHiJSTwzbZ5lAFHQosAHaJf4oi0zR',
SOLANA_FEE_PAYER_ADDRESS: 'E3CfijtAJwBSHfwFEViAUd3xp7c8TBxwC1eXn1Fgxp8h',
SOLANA_RELAY_ENDPOINT: 'https://discoveryprovider.staging.audius.co',
SOLANA_TOKEN_PROGRAM_ADDRESS: 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA',
Expand Down

0 comments on commit dc3d0ee

Please sign in to comment.