-
Notifications
You must be signed in to change notification settings - Fork 667
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: use squid to calculate route between two chains and tokens #2042
Conversation
befe907
to
58a6d82
Compare
6b0abab
to
dda8743
Compare
webapp/src/config/env/dev.json
Outdated
"BASE_NAME": "/marketplace", | ||
"NFT_SERVER_URL": "https://nft-api.decentraland.zone/v1", | ||
"MARKETPLACE_SERVER_URL": "https://marketplace-api.decentraland.zone/v1", | ||
"NETWORK": "mainnet", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this will be rollbacked, just for testing purposes and to not have to add the env
query string to each path to override the env.
"select_token": "Selecciona una moneda", | ||
"no_matches": "No hay coincidencias para {search}..." | ||
}, | ||
"price_too_low": "Las transacciones de MANA solo están libres de tarifa de gas si el artículo tiene al menos 1 MANA. Para obtener este artículo, cambia tu red a Polygon para pagar la tarifa del gas con MATIC. {learn_more}", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"price_too_low": "Las transacciones de MANA solo están libres de tarifa de gas si el artículo tiene al menos 1 MANA. Para obtener este artículo, cambia tu red a Polygon para pagar la tarifa del gas con MATIC. {learn_more}", | |
"price_too_low": "Las transacciones de MANA solo están libres de tarifa de gas si el artículo cuesta al menos 1 MANA. Para obtener este artículo, cambia tu red a Polygon para pagar la tarifa del gas con MATIC. {learn_more}", |
"no_matches": "No hay coincidencias para {search}..." | ||
}, | ||
"price_too_low": "Las transacciones de MANA solo están libres de tarifa de gas si el artículo tiene al menos 1 MANA. Para obtener este artículo, cambia tu red a Polygon para pagar la tarifa del gas con MATIC. {learn_more}", | ||
"remember_transaction_fee_covered": "Pague con Polygon MANA para que el DAO cubra las tarifas de gas (el artículo debe tener al menos 1 MANA).", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"remember_transaction_fee_covered": "Pague con Polygon MANA para que el DAO cubra las tarifas de gas (el artículo debe tener al menos 1 MANA).", | |
"remember_transaction_fee_covered": "Pague con Polygon MANA para que el DAO cubra las tarifas de gas (el artículo debe costar al menos 1 MANA).", |
webapp/config-overrides.js
Outdated
] | ||
config.moduleNameMapper = { | ||
'@dcl/single-sign-on-client': 'identity-obj-proxy', | ||
'^react-native$': 'react-native-web', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it required react-native
by @0xsquid
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no but it's the default value that cra
has, so that's why I added.
Instead of doing that, I just updated the logic to spread the default values and andd the one I need (@dcl/single-sign-on-client
)
webapp/src/modules/item/sagas.ts
Outdated
) | ||
} | ||
} catch (error) { | ||
console.log('error: ', error) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wild console.log
appeared!
? order.price | ||
: !isNFT(asset) && +asset.price > 0 | ||
? asset.price | ||
: 1 //TODO: review this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we raise an error/alert if there's no price for the asset?
59b7ead
to
46ade25
Compare
WIP