Skip to content

Commit

Permalink
feat: update dev.json
Browse files Browse the repository at this point in the history
  • Loading branch information
juanmahidalgo committed Nov 29, 2023
1 parent dc25f64 commit 59b7ead
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ import {
DEFAULT_CHAINS,
estimateTransactionGas,
formatPrice,
getDefaultChains,
getMANAToken,
getShouldUseMetaTx,
isToken
Expand Down Expand Up @@ -99,7 +100,7 @@ export const BuyWithCryptoModal = (props: Props) => {

// useStates
const [providerChains, setProviderChains] = useState<ChainData[]>(
DEFAULT_CHAINS
getDefaultChains()
)
const [providerTokens, setProviderTokens] = useState<Token[]>([])
const [selectedChain, setSelectedChain] = useState(asset.chainId)
Expand Down Expand Up @@ -319,8 +320,10 @@ export const BuyWithCryptoModal = (props: Props) => {
.filter(c => DEFAULT_CHAINS.every(dc => dc.chainId !== c.chainId))
] // keep the defaults since we support MANA on them natively
setProviderChains(
supportedChains.filter(c =>
CROSS_CHAIN_SUPPORTED_CHAINS.includes(+c.chainId)
supportedChains.filter(
c =>
CROSS_CHAIN_SUPPORTED_CHAINS.includes(+c.chainId) &&
getDefaultChains().find(t => t.chainId === c.chainId)
)
)
setProviderTokens(
Expand Down
52 changes: 26 additions & 26 deletions webapp/src/config/env/dev.json
Original file line number Diff line number Diff line change
@@ -1,45 +1,45 @@
{
"NETWORK": "mainnet",
"CHAIN_ID": "1",
"NFT_SERVER_URL": "https://nft-api.decentraland.org/v1",
"MARKETPLACE_SERVER_URL": "https://marketplace-api.decentraland.org/v1",
"BUILDER_SERVER_URL": "https://builder-api.decentraland.org/v1",
"ATLAS_SERVER_URL": "https://api.decentraland.org",
"PEER_URL": "https://peer.decentraland.org",
"SIGNATURES_SERVER_URL": "https://signatures-api.decentraland.org/v1",
"MARKETPLACE_FAVORITES_SERVER_URL": "https://marketplace-favorites-api.decentraland.org/v1",
"NETWORK": "sepolia",
"CHAIN_ID": "11155111",
"NFT_SERVER_URL": "https://nft-api.decentraland.zone/v1",
"MARKETPLACE_SERVER_URL": "https://marketplace-api.decentraland.zone/v1",
"BUILDER_SERVER_URL": "https://builder-api.decentraland.zone/v1",
"ATLAS_SERVER_URL": "https://api.decentraland.zone",
"PEER_URL": "https://peer-ue-2.decentraland.zone",
"SIGNATURES_SERVER_URL": "https://signatures-api.decentraland.zone/v1",
"MARKETPLACE_FAVORITES_SERVER_URL": "https://marketplace-favorites-api.decentraland.zone/v1",
"DEFAULT_FAVORITES_LIST_ID": "70ab6873-4a03-4eb2-b331-4b8be0e0b8af",
"DECENTRALAND_BLOG": "https://decentraland.org/blog",
"REFRESH_SIGNATURES_DELAY": "10000",
"TRANSACTIONS_API_URL": "https://transactions-api.decentraland.org/v1",
"TRANSAK_API_URL": "https://api.transak.com/partners/api",
"TRANSAK_KEY": "cb87de5f-add2-48a1-bab4-6a9409b811b1",
"TRANSAK_ENV": "PRODUCTION",
"TRANSACTIONS_API_URL": "https://transactions-api.decentraland.zone/v1",
"TRANSAK_API_URL": "https://api-stg.transak.com/partners/api",
"TRANSAK_KEY": "273ac855-3472-40eb-8ee8-840e317f98e6",
"TRANSAK_ENV": "STAGING",
"TRANSAK_POLLING_DELAY": "6000",
"TRANSAK_PUSHER_APP_KEY": "1d9ffac87de599c61283",
"TRANSAK_PUSHER_APP_CLUSTER": "ap2",
"MOON_PAY_API_URL": "https://api.moonpay.com",
"MOON_PAY_API_KEY": "pk_live_3PEJQj5NyvQBdit7phd48cCyzDSZFGsg",
"MOON_PAY_API_KEY": "pk_test_WVS2xVSCnSnR7A7qIueWwCtcKnrGb55p",
"MOON_PAY_POLLING_DELAY": "6000",
"MOON_PAY_WIDGET_URL": "https://buy.moonpay.io",
"BUILDER_URL": "https://decentraland.org/builder",
"MOON_PAY_WIDGET_URL": "https://buy-staging.moonpay.io",
"BUILDER_URL": "https://decentraland.zone/builder",
"COINGECKO_API_URL": "https://api.coingecko.com/api/v3",
"DOCS_URL": "https://docs.decentraland.org",
"MARKETPLACE_ADAPTER_FEE_PER_MILLION": "25000",
"MAX_PRICE_INCREASE_PERCENTAGE": "15",
"MANA_ADDRESS": "0x0f5d2fb29fb7d3cfee444a200298f468908cc942",
"CONVERTER_ADDRESS": "0x2859581da59bd4e16a866dd06b461b76d8e489a4",
"MANA_ADDRESS": "0x2a8fd99c19271f4f04b1b7b9c4f7cf264b626edb",
"CONVERTER_ADDRESS": "0x2782eb28Dcb1eF4E7632273cd4e347e130Ce4646",
"CONVERTER_EXCHANGE": "uniswap_v2",
"INTERCOM_APP_ID": "z0h94kay",
"SEGMENT_API_KEY": "WijgHCmOGJjV04XBGghZGEadMD4454R3",
"SEGMENT_API_KEY": "gMnkewUBzA6J879kAtMvp2WhohEk36uy",
"DISCORD_URL": "https://dcl.gg/discord",
"ENVIRONMENT": "production",
"ENVIRONMENT": "development",
"MIN_SALE_VALUE_IN_WEI": "1000000000000000000",
"EXPLORER_URL": "https://play.decentraland.org",
"MARKETPLACE_URL": "https://decentraland.org/marketplace",
"PROFILE_URL": "https://decentraland.org/profile",
"SSO_URL": "https://id.decentraland.org",
"SUBGRAPH_WORKER": "https://subgraph.decentraland.org",
"EXPLORER_URL": "https://play.decentraland.zone",
"MARKETPLACE_URL": "https://decentraland.zone/marketplace",
"PROFILE_URL": "https://decentraland.zone/profile",
"SSO_URL": "https://id.decentraland.zone",
"SUBGRAPH_WORKER": "https://subgraph.decentraland.zone",
"SENTRY_DSN": "https://1dc401149e1c819b8477565c9cdd9b70@o4504361728212992.ingest.sentry.io/4505743351676928",
"SQUID_API_URL": "https://v2.api.squidrouter.com"
"SQUID_API_URL": "https://testnet.v2.api.squidrouter.com/"
}

0 comments on commit 59b7ead

Please sign in to comment.