-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into sd-stem-upload-row
- Loading branch information
Showing
147 changed files
with
1,182 additions
and
1,197 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,80 @@ | ||
import { Nullable } from 'utils/typeUtils' | ||
|
||
export type Environment = 'development' | 'staging' | 'production' | ||
|
||
export type Env = { | ||
AAO_ENDPOINT?: string | ||
EAGER_DISCOVERY_NODES?: string | ||
EXPLORE_CONTENT_URL?: string | ||
ENVIRONMENT?: Environment | ||
ORACLE_ETH_ADDRESSES?: string | ||
SUGGESTED_FOLLOW_HANDLES?: string | ||
GENERAL_ADMISSION?: string | ||
IDENTITY_SERVICE?: string | ||
PUBLIC_HOSTNAME?: string | ||
AAO_ENDPOINT: string | ||
AMPLITUDE_API_KEY: Nullable<string> | ||
AMPLITUDE_PROXY: Nullable<string> | ||
AMPLITUDE_WRITE_KEY: Nullable<string> | ||
AUDIUS_URL: string | ||
BITSKI_CALLBACK_URL: string | ||
BITSKI_CLIENT_ID: string | ||
CACHE_PRUNE_MIN: string | ||
CLAIM_DISTRIBUTION_CONTRACT_ADDRESS: Nullable<string> | ||
CLAIMABLE_TOKEN_PDA: string | ||
CLAIMABLE_TOKEN_PROGRAM_ADDRESS: string | ||
COINFLOW_APP_ID: string | ||
COINFLOW_MERCHANT_ID: string | ||
COINFLOW_PARTNER_ID: string | ||
COGNITO_KEY: Nullable<string> | ||
COGNITO_TEMPLATE_ID: Nullable<string> | ||
EAGER_DISCOVERY_NODES: string | ||
ENTITY_MANAGER_ADDRESS: string | ||
ENVIRONMENT: Environment | ||
ETH_BRIDGE_ADDRESS: Nullable<string> | ||
ETH_NETWORK_ID: string | ||
ETH_OWNER_WALLET: Nullable<string> | ||
ETH_PROVIDER_URL: string | ||
ETH_REGISTRY_ADDRESS: string | ||
ETH_TOKEN_ADDRESS: string | ||
ETH_TOKEN_BRIDGE_ADDRESS: Nullable<string> | ||
EXPLORE_CONTENT_URL: string | ||
FCM_PUSH_PUBLIC_KEY: Nullable<string> | ||
FINGERPRINT_ENDPOINT: Nullable<string> | ||
FINGERPRINT_PUBLIC_API_KEY: Nullable<string> | ||
GA_HOSTNAME: string | ||
GA_MEASUREMENT_ID: string | ||
GENERAL_ADMISSION: string | ||
HCAPTCHA_BASE_URL: string | ||
HCAPTCHA_SITE_KEY: string | ||
IDENTITY_SERVICE: string | ||
INSTAGRAM_APP_ID: string | ||
INSTAGRAM_REDIRECT_URL: string | ||
METADATA_PROGRAM_ID: string | ||
OPENSEA_API_URL: string | ||
OPTIMIZELY_KEY: string | ||
ORACLE_ETH_ADDRESSES: string | ||
PAYMENT_ROUTER_PROGRAM_ID: string | ||
PUBLIC_HOSTNAME: string | ||
PUBLIC_PROTOCOL: string | ||
BASENAME: string | ||
REACHABILITY_URL: string | ||
STRIPE_CLIENT_PUBLISHABLE_KEY: string | ||
RECAPTCHA_SITE_KEY: string | ||
REGISTRY_ADDRESS: string | ||
REWARDS_MANAGER_PROGRAM_ID: string | ||
REWARDS_MANAGER_PROGRAM_PDA: string | ||
REWARDS_MANAGER_TOKEN_PDA: string | ||
SAFARI_WEB_PUSH_ID: string | ||
SCHEME: string | ||
SENTRY_DSN: string | ||
SOL_BRIDGE_ADDRESS: Nullable<string> | ||
SOL_TOKEN_BRIDGE_ADDRESS: Nullable<string> | ||
SOLANA_CLUSTER_ENDPOINT: string | ||
SOLANA_FEE_PAYER_ADDRESS: string | ||
SOLANA_RELAY_ENDPOINT: string | ||
SOLANA_TOKEN_PROGRAM_ADDRESS: string | ||
SOLANA_WEB3_CLUSTER: string | ||
SUGGESTED_FOLLOW_HANDLES: string | ||
TIKTOK_APP_ID: string | ||
TRPC_ENDPOINT: string | ||
USDC_MINT_ADDRESS: string | ||
USER_NODE: string | ||
USE_HASH_ROUTING: boolean | ||
WAUDIO_MINT_ADDRESS: string | ||
WEB3_NETWORK_ID: string | ||
WEB3_PROVIDER_URL: string | ||
WORMHOLE_ADDRESS: Nullable<string> | ||
WORMHOLE_RPC_HOSTS: Nullable<string> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,4 @@ | ||
# For testing staging locally (ie, npm run stage) | ||
VITE_ENV_OVERRIDE=sandbox | ||
VITE_NODE_TYPE_OVERRIDE=discovery | ||
VITE_NODE_URL_OVERRIDE=https://localhost:5000 | ||
VITE_AUDIUS_URL_OVERRIDE= | ||
|
||
VITE_ETH_NETWORK_ID_OVERRIDE=5 | ||
VITE_ETH_TOKEN_ADDRESS_OVERRIDE=0x855FA758c77D68a04990E992aA4dcdeF899F654A | ||
VITE_ETH_REGISTRY_ADDRESS_OVERRIDE=0xABbfF712977dB51f9f212B85e8A4904c818C2b63 | ||
VITE_ETH_PROVIDER_URL_OVERRIDE=http://localhost:8546 | ||
VITE_ETH_OWNER_WALLET_OVERRIDE=0x855FA758c77D68a04990E992aA4dcdeF899F654A # it's blank in other stage configs | ||
|
||
VITE_QUERY_PROPOSAL_START_BLOCK_OVERRIDE=1 | ||
VITE_GQL_URI_OVERRIDE= | ||
VITE_GQL_BACKUP_URI_OVERRIDE= | ||
|
||
VITE_ENTITY_MANAGER_ADDRESS_OVERRIDE=0x254dffcd3277C0b1660F6d42EFbB754edaBAbC2B | ||
|
||
VITE_IDENTITY_SERVICE_ENDPOINT_OVERRIDE=localhost:7000 | ||
|
||
# not found in local | ||
VITE_WORMHOLE_CONTRACT_ADDRESS_OVERRIDE=0xf6f45e4d836da1d4ecd43bb1074620bfb0b7e0d7 | ||
|
||
VITE_CLAIM_DISTRIBUTION_CONTRACT_ADDRESS_OVERRIDE=0x74b89B916c97d50557E8F944F32662fE52Ce378d | ||
VITE_SOLANA_CLUSTER_ENDPOINT_OVERRIDE=http://localhost:8899 | ||
VITE_WAUDIO_MINT_ADDRESS_OVERRIDE=37RCjhgV1qGV2Q54EHFScdxZ22ydRMdKMtVgod47fDP3 | ||
VITE_USDC_MINT_ADDRESS_OVERRIDE=26Q7gP8UfkDzi7GMFEQxTJaNJ8D2ybCUjex58M5MLu8y | ||
VITE_SOLANA_TOKEN_PROGRAM_ADDRESS_OVERRIDE=TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | ||
VITE_CLAIMABLE_TOKEN_PDA_OVERRIDE=testHKV1B56fbvop4w6f2cTGEub9dRQ2Euta5VmqdX9 | ||
VITE_SOLANA_FEE_PAYER_ADDRESS_OVERRIDE=HunCgdP91aVeoh8J7cbKTcFRoUwwhHwqYqVVLVkkqQjg | ||
VITE_CLAIMABLE_TOKEN_PROGRAM_ADDRESS_OVERRIDE=testHKV1B56fbvop4w6f2cTGEub9dRQ2Euta5VmqdX9 | ||
VITE_REWARDS_MANAGER_PROGRAM_ID_OVERRIDE=testLsJKtyABc9UXJF8JWFKf1YH4LmqCWBC42c6akPb | ||
VITE_REWARDS_MANAGER_PROGRAM_PDA_OVERRIDE=DJPzVothq58SmkpRb1ATn5ddN2Rpv1j2TcGvM3XsHf1c | ||
VITE_REWARDS_MANAGER_TOKEN_PDA_OVERRIDE=FRk4j95RG2kSk3BHXBPVgKszFc2rLQ8K6RS83k3dmzvQ | ||
VITE_OPTIMIZELY_SDK_KEY_OVERRIDE=MX4fYBgANQetvmBXGpuxzF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,5 @@ | ||
# For testing staging locally (ie, npm run stage) | ||
VITE_ENV_OVERRIDE=stage | ||
VITE_NODE_TYPE_OVERRIDE=discovery | ||
VITE_NODE_URL_OVERRIDE=https://discoveryprovider2.staging.audius.co | ||
VITE_AUDIUS_URL_OVERRIDE=https://staging.audius.co | ||
|
||
VITE_DDEX_KEY_OVERRIDE=388c38db7bae770d5f371f9d02bebcac4da5e1e9 | ||
|
||
VITE_ETH_NETWORK_ID_OVERRIDE=5 | ||
VITE_ETH_TOKEN_ADDRESS_OVERRIDE=0x5375BE4c52fA29b26077B0F15ee5254D779676A6 | ||
VITE_ETH_REGISTRY_ADDRESS_OVERRIDE=0xF27A9c44d7d5DDdA29bC1eeaD94718EeAC1775e3 | ||
VITE_ETH_PROVIDER_URL_OVERRIDE=https://eth-goerli.g.alchemy.com/v2/OeXKHus0Nn5z_O7VZjzbprNtKjrYCdUX | ||
VITE_ETH_OWNER_WALLET_OVERRIDE= # 0x5375BE4c52fA29b26077B0F15ee5254D779676A6 # it's blank in other stage configs | ||
|
||
VITE_QUERY_PROPOSAL_START_BLOCK_OVERRIDE=1 | ||
VITE_GQL_URI_OVERRIDE=https://api.thegraph.com/subgraphs/name/audius-infra/audius-network-goerli | ||
VITE_GQL_BACKUP_URI_OVERRIDE= # it's staging so having a backup isn't as important | ||
|
||
VITE_ENTITY_MANAGER_ADDRESS_OVERRIDE=0x1Cd8a543596D499B9b6E7a6eC15ECd2B7857Fd64 | ||
|
||
VITE_IDENTITY_SERVICE_ENDPOINT_OVERRIDE=https://identityservice.staging.audius.co | ||
|
||
VITE_WORMHOLE_CONTRACT_ADDRESS_OVERRIDE=0xf6f45e4d836da1d4ecd43bb1074620bfb0b7e0d7 | ||
VITE_CLAIM_DISTRIBUTION_CONTRACT_ADDRESS_OVERRIDE=0x74b89B916c97d50557E8F944F32662fE52Ce378d | ||
VITE_SOLANA_CLUSTER_ENDPOINT_OVERRIDE=https://solana-mainnet.g.alchemy.com/v2/N_o4w4Lgk2afO8uho9uuZu0LNi6gldVz | ||
VITE_WAUDIO_MINT_ADDRESS_OVERRIDE=BELGiMZQ34SDE6x2FUaML2UHDAgBLS64xvhXjX5tBBZo | ||
VITE_USDC_MINT_ADDRESS_OVERRIDE=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v | ||
VITE_SOLANA_TOKEN_PROGRAM_ADDRESS_OVERRIDE=TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | ||
VITE_CLAIMABLE_TOKEN_PDA_OVERRIDE=Aw5AjygeMf9Nvg61BXvFSAzkqxcLqL8koepb14kvfc3W | ||
VITE_SOLANA_FEE_PAYER_ADDRESS_OVERRIDE=E3CfijtAJwBSHfwFEViAUd3xp7c8TBxwC1eXn1Fgxp8h | ||
VITE_CLAIMABLE_TOKEN_PROGRAM_ADDRESS_OVERRIDE=2sjQNmUfkV6yKKi4dPR8gWRgtyma5aiymE3aXL2RAZww | ||
VITE_REWARDS_MANAGER_PROGRAM_ID_OVERRIDE=CDpzvz7DfgbF95jSSCHLX3ERkugyfgn9Fw8ypNZ1hfXp | ||
VITE_REWARDS_MANAGER_PROGRAM_PDA_OVERRIDE=GaiG9LDYHfZGqeNaoGRzFEnLiwUT7WiC6sA6FDJX9ZPq | ||
VITE_REWARDS_MANAGER_TOKEN_PDA_OVERRIDE=HJQj8P47BdA7ugjQEn45LaESYrxhiZDygmukt8iumFZJ | ||
VITE_NODE_URL_OVERRIDE=https://audius-ddex.staging.audius.co | ||
VITE_DDEX_KEY_OVERRIDE=49d5e13d355709b615b7cce7369174fb240b6b39 | ||
VITE_OPTIMIZELY_SDK_KEY_OVERRIDE=MX4fYBgANQetvmBXGpuxzF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.