Skip to content

Commit

Permalink
Update default RPCs (#6639)
Browse files Browse the repository at this point in the history
  • Loading branch information
raymondjacobson authored Nov 9, 2023
1 parent 6b0e9a3 commit 62de2d4
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 17 deletions.
2 changes: 1 addition & 1 deletion packages/discovery-provider/default_config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ eth_provider_url = http://localhost:8546
[solana]
track_listen_count_address = 7K3UpbZViPnQDLn2DAM853B9J5GBxd1L1rLHy4KqSmWG
signer_group_address = FbfwE8ZmVdwUbbEXdq4ofhuUEiAxeSk5kaoYrJJekpnZ
endpoint = https://audius.rpcpool.com
endpoint =
user_bank_min_slot = 0
user_bank_program_address = Ewkv3JahEFRKkcJmpoKB7pXbnUHwjAyXiwEo4ZY2rezQ
waudio_mint = 9LzCMqDgTKYz9Drzqnpgee3SGa89up3a247ypMj2xrqM
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ setDefaultWasm('node')
// Please provide an eth RPC provider endpoint here
// For example https://mainnet.infura.io/v3/<your-key-here>
const ETH_PROVIDER = process.env.ethProvider
const SOLANA_CLUSTER_ENDPOINT = 'https://audius.rpcpool.com/'
const SOLANA_CLUSTER_ENDPOINT = 'https://solana-mainnet.g.alchemy.com/v2/LC5JMm2frfCssi_lVc5Fip_wrEy4B3fP'
const ETH_BRIDGE_ADDRESS = '0x98f3c9e6E3fAce36bAAd05FE09d375Ef1464288B'
const SOL_BRIDGE_ADDRESS = 'worm2ZoG2kUd4vFXhvjh93UUH596ayRfgQ2MgjNMTth'
const ETH_TOKEN_BRIDGE_ADDRESS = '0x3ee18B2214AFF97000D974cf647E7C347E8fa585'
Expand Down Expand Up @@ -72,7 +72,7 @@ const ethAccount = web3.eth.accounts.wallet.add(TEST_PRIVATE_KEY)
const arbiterFee = 0
const nonce = 2 // this is just some random number atm

async function getGasPrice () {
async function getGasPrice() {
try {
const gasPrices = await axios.get(
'https://ethgasstation.info/json/ethgasAPI.json'
Expand Down Expand Up @@ -135,7 +135,7 @@ const getReceipt = async (txHash, numRetries) => {
return txReceipt
}

async function run () {
async function run() {
try {
const gasPrice = await getGasPrice()
console.log({ gasPrice })
Expand Down
2 changes: 1 addition & 1 deletion protocol-dashboard/.env.prod
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ VITE_IDENTITY_SERVICE_ENDPOINT=https://identityservice.audius.co
VITE_WORMHOLE_ADDRESS=0x6E7a1F7339bbB62b23D44797b63e4258d283E095
VITE_CLAIM_DISTRIBUTION_CONTRACT_ADDRESS=0x683c19E621A0F107a291fdAB38f80179809d61B5
VITE_SOLANA_WEB3_CLUSTER=mainnet-beta
VITE_SOLANA_CLUSTER_ENDPOINT=https://audius.rpcpool.com
VITE_SOLANA_CLUSTER_ENDPOINT=https://solana-mainnet.g.alchemy.com/v2/fCWqhO4QJ7X8XqXvi213Mzclmn-30-ie
VITE_WAUDIO_MINT_ADDRESS=9LzCMqDgTKYz9Drzqnpgee3SGa89up3a247ypMj2xrqM
VITE_USDC_MINT_ADDRESS=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
VITE_SOLANA_TOKEN_PROGRAM_ADDRESS=TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA
Expand Down
2 changes: 1 addition & 1 deletion protocol-dashboard/.env.stage
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ VITE_IDENTITY_SERVICE_ENDPOINT=https://identityservice.staging.audius.co
VITE_WORMHOLE_ADDRESS=0xf6f45e4d836da1d4ecd43bb1074620bfb0b7e0d7
VITE_CLAIM_DISTRIBUTION_CONTRACT_ADDRESS=0x74b89B916c97d50557E8F944F32662fE52Ce378d
VITE_SOLANA_WEB3_CLUSTER=mainnet-beta
VITE_SOLANA_CLUSTER_ENDPOINT=https://audius.rpcpool.com
VITE_SOLANA_CLUSTER_ENDPOINT=https://solana-mainnet.g.alchemy.com/v2/N_o4w4Lgk2afO8uho9uuZu0LNi6gldVz
VITE_WAUDIO_MINT_ADDRESS=BELGiMZQ34SDE6x2FUaML2UHDAgBLS64xvhXjX5tBBZo
VITE_USDC_MINT_ADDRESS=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
VITE_SOLANA_TOKEN_PROGRAM_ADDRESS=TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA
Expand Down
11 changes: 0 additions & 11 deletions protocol-dashboard/.env.staging.stash

This file was deleted.

0 comments on commit 62de2d4

Please sign in to comment.