Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Commit

Permalink
Use new usdc mint address
Browse files Browse the repository at this point in the history
  • Loading branch information
rickyrombo committed Jul 14, 2023
1 parent 6d009ae commit bc80c8d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/common/src/services/audius-backend/AudiusBackend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ type AudiusBackendSolanaConfig = Partial<{
solanaFeePayerAddress: string
solanaTokenAddress: string
waudioMintAddress: string
usdcMintAddress: string
wormholeAddress: string
}>

Expand Down Expand Up @@ -317,6 +318,7 @@ export const audiusBackend = ({
solanaFeePayerAddress,
solanaTokenAddress,
waudioMintAddress,
usdcMintAddress,
wormholeAddress
},
userNodeUrl,
Expand Down Expand Up @@ -768,6 +770,7 @@ export const audiusBackend = ({
solanaWeb3Config: AudiusLibs.configSolanaWeb3({
solanaClusterEndpoint,
mintAddress: waudioMintAddress,
usdcMintAddress,
solanaTokenAddress,
claimableTokenPDA: claimableTokenPda,
feePayerAddress: solanaFeePayerAddress,
Expand Down
1 change: 1 addition & 0 deletions packages/web/.env/.env.dev
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ REACT_APP_OPENSEA_API_URL=https://rinkeby-api.opensea.io/api/v1
REACT_APP_SOLANA_WEB3_CLUSTER=devnet
REACT_APP_SOLANA_CLUSTER_ENDPOINT=http://audius-protocol-solana-test-validator-1
REACT_APP_WAUDIO_MINT_ADDRESS=37RCjhgV1qGV2Q54EHFScdxZ22ydRMdKMtVgod47fDP3
REACT_APP_USDC_MINT_ADDRESS=26Q7gP8UfkDzi7GMFEQxTJaNJ8D2ybCUjex58M5MLu8y
REACT_APP_SOLANA_TOKEN_PROGRAM_ADDRESS=TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA
REACT_APP_SOLANA_FEE_PAYER_ADDRESS=HunCgdP91aVeoh8J7cbKTcFRoUwwhHwqYqVVLVkkqQjg
REACT_APP_CLAIMABLE_TOKEN_PROGRAM_ADDRESS=testHKV1B56fbvop4w6f2cTGEub9dRQ2Euta5VmqdX9
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ export const audiusBackendInstance = audiusBackend({
solanaFeePayerAddress: process.env.REACT_APP_SOLANA_FEE_PAYER_ADDRESS,
solanaTokenAddress: process.env.REACT_APP_SOLANA_TOKEN_PROGRAM_ADDRESS,
waudioMintAddress: process.env.REACT_APP_WAUDIO_MINT_ADDRESS,
usdcMintAddress: process.env.REACT_APP_USDC_MINT_ADDRESS,
wormholeAddress: process.env.REACT_APP_WORMHOLE_ADDRESS
},
userNodeUrl: process.env.REACT_APP_USER_NODE,
Expand Down

0 comments on commit bc80c8d

Please sign in to comment.