Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ VITE_FEATURE_CHAINFLIP_SWAP_DCA=true
VITE_FEATURE_COWSWAP=true
VITE_FEATURE_THOR_SWAP=true
VITE_FEATURE_ZRX_SWAP=true
VITE_FEATURE_FYND_SWAP=false
VITE_FEATURE_MAYA_SWAP=true
VITE_FEATURE_AVNU_SWAP=true
VITE_FEATURE_DYNAMIC_LP_ASSETS=false
Expand Down Expand Up @@ -251,7 +252,6 @@ VITE_MTPELERIN_INTEGRATION_KEY=954139b2-ef3e-4914-82ea-33192d3f43d3
VITE_ONRAMPER_WIDGET_URL=https://buy.onramper.com/
VITE_ONRAMPER_API_URL=https://api.onramper.com/
VITE_ONRAMPER_API_KEY=pk_prod_01HWMA66BYRB2271G08XDZVVCX
VITE_ONRAMPER_SIGNING_KEY=01JQZZQ5HM3R6X58EWFFWDQTYV

# banxa
VITE_BANXA_API_URL=https://api.banxa.com/shapeshift/
Expand Down Expand Up @@ -290,6 +290,9 @@ VITE_ZERION_BASE_URL=https://api.proxy.shapeshift.com/api/v1/zerion
# 0x
VITE_ZRX_BASE_URL=https://api.proxy.shapeshift.com/api/v1/zrx/

# Fynd
VITE_FYND_BASE_URL=https://api.proxy.shapeshift.com/api/v1/fynd

# Bebop
VITE_BEBOP_API_KEY=b4a7ffa9-2abb-45ae-8ddd-ec33bc377939

Expand Down
6 changes: 6 additions & 0 deletions .env.development
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ VITE_FEATURE_SEI=true
VITE_FEATURE_AGENTIC_CHAT=true
VITE_FEATURE_MM_NATIVE_MULTICHAIN=true
VITE_FEATURE_NOTIFICATIONS_WEBSERVICES=true
VITE_FEATURE_FYND_SWAP=true

# mixpanel
VITE_MIXPANEL_TOKEN=a867ce40912a6b7d01d088cf62b0e1ff
Expand Down Expand Up @@ -95,5 +96,10 @@ VITE_PUBLIC_API_URL=https://dev-api.shapeshift.com
# Proxy API
VITE_PROXY_API_BASE_URL=https://dev-api.proxy.shapeshift.com

# Fynd
VITE_FYND_BASE_URL=https://dev-api.proxy.shapeshift.com/api/v1/fynd

# Agentic Chat
# VITE_AGENTIC_SERVER_BASE_URL=http://localhost:4111

VITE_ONRAMPER_SIGNING_URL=https://dev-api.user-service.shapeshift.com
2 changes: 2 additions & 0 deletions .env.production
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# feature flags
VITE_ENABLE_HYPELAB=true

VITE_ONRAMPER_SIGNING_URL=https://api.user-service.shapeshift.com

# mixpanel
VITE_MIXPANEL_TOKEN=9d304465fc72224aead9e027e7c24356
6 changes: 5 additions & 1 deletion headers/csps/fiatRamps/onRamper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,9 @@ const mode = process.env.MODE ?? process.env.NODE_ENV ?? 'development'
const env = loadEnv(mode, process.cwd(), '')

export const csp: Csp = {
'connect-src': [env.VITE_ONRAMPER_API_URL, env.VITE_ONRAMPER_WIDGET_URL],
'connect-src': [
env.VITE_ONRAMPER_API_URL,
env.VITE_ONRAMPER_WIDGET_URL,
...(env.VITE_ONRAMPER_SIGNING_URL ? [env.VITE_ONRAMPER_SIGNING_URL] : []),
],
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@
"translations:count-words-invalidate-since": "pnpm exec tsx ./scripts/translations/countWordsInvalidateSince.ts",
"translations:update-path": "pnpm exec tsx ./scripts/translations/updateTranslationPath.ts",
"type-check": "NODE_OPTIONS=--max-old-space-size=8192 pnpm exec tsc --noEmit",
"type-check-watch": "pnpm exec tsc --noEmit --watch"
"type-check-watch": "pnpm exec tsc --noEmit --watch",
"onramper:local": "VITE_ONRAMPER_SIGNING_KEY= VITE_ONRAMPER_API_KEY=local-test-only VITE_ONRAMPER_SIGNING_URL=http://localhost:3002 VITE_ONRAMPER_API_URL=http://localhost:3999/ VITE_ONRAMPER_WIDGET_URL=http://localhost:3999/ vite --host 127.0.0.1 --port 5173 --strictPort --mode development"
},
"browserslist": {
"production": [
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"eip155:10/erc20:0x94b008aa00579c1307b0ef2c499ad98a8ce58e58":"tether","eip155:10/erc20:0x0b2c639c533813f4aa9d7837caf62653d097ff85":"usd-coin","eip155:10/erc20:0x1f32b1c2345538c0c6f582fcb022739c4a194ebb":"lido-finance-wsteth","eip155:10/erc20:0x350a791bfc2c21f9ed5d10980dad2e2638ffa7f6":"chainlink","eip155:10/erc20:0x68f180fcce6836688e9084f035309e29bf0a2095":"wrapped-bitcoin","eip155:10/erc20:0x4200000000000000000000000000000000000006":"weth","eip155:10/erc20:0x5a7facb970d094b6c7ff1df0ea68d99e6e73cbff":"wrapped-eeth","eip155:10/erc20:0x6fd9d7ad17242c41f7131d257212c54a0e816691":"uniswap","eip155:10/erc20:0xdc6ff44d5d932cbd77b52e5612ba0529dc6226f1":"worldcoin-org","eip155:10/erc20:0x9bcef72be871e61ed4fbbc7630889bee758eb81d":"rocket-pool-eth","eip155:10/erc20:0x6985884c4392d348587b19cb9eaaf157f13271cd":"layerzero","eip155:10/erc20:0x0994206dfe8de6ec6920ff4d779b0d950605fb53":"curve-dao-token","eip155:10/erc20:0x4200000000000000000000000000000000000042":"optimism-ethereum","eip155:10/erc20:0x33800de7e817a70a694f31476313a7c572bba100":"derive","eip155:10/erc20:0x2e3d870790dc77a83dd1d18184acc7439a53f475":"frax","eip155:10/erc20:0xc6bdfc4f2e90196738873e824a9efa03f7c64176":"vicicoin","eip155:10/erc20:0x80eede496655fb9047dd39d9f418d5483ed600df":"frax-usd","eip155:10/erc20:0xb0ffa8000886e57f86dd5264b9582b2ad87b2b91":"wormhole","eip155:10/erc20:0x3eaeb77b03dbc0f6321ae1b72b2e9adb0f60112b":"sushiswap","eip155:10/erc20:0x8700daec35af8ff88c16bdf0418774cb3d7599b4":"synthetix-network-token","eip155:10/erc20:0xaeaeed23478c3a4b798e4ed40d8b7f41366ae861":"ankr","eip155:10/erc20:0x4f8a84c442f9675610c680990eddb2ccddb8ab6f":"frankencoin","eip155:10/erc20:0x5a5fff6f753d7c11a56a52fe47a177a87e431655":"synapse-2","eip155:10/erc20:0x03569cc076654f82679c4ba2124d64774781b01d":"liquity-v2","eip155:10/erc20:0x9923db8d7fbacc2e69e87fad19b886c81cd74979":"hyperlane","eip155:10/erc20:0xa00e3a3511aac35ca78530c85007afcd31753819":"kyber-network","eip155:10/erc20:0xec6adef5e1006bb305bb1975333e8fc4071295bf":"cartesi","eip155:10/erc20:0x14778860e937f509e651192a90589de711fb88a9":"cyberconnect","eip155:10/erc20:0xe05a08226c49b636acf99c40da8dc6af83ce5bb3":"ankreth","eip155:10/erc20:0xaf9fe3b5ccdae78188b1f8b9a49da7ae9510f151":"dhedge-dao","eip155:10/erc20:0xd6909e9e702024eb93312b989ee46794c0fb1c9d":"biconomy","eip155:10/erc20:0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9":"susd","eip155:10/erc20:0xef4461891dfb3ac8572ccf7c794664a8dd927945":"walletconnect-token","eip155:10/erc20:0xbfd5206962267c7b4b4a8b3d76ac2e1b2a5c4d5e":"osaka-protocol","eip155:10/erc20:0x4e200fe2f3efb977d5fd9c430a41531fb04d97b8":"orderly-network","eip155:10/erc20:0xfc2e6e6bcbd49ccf3a5f029c79984372dcbfe527":"autonolas","eip155:10/erc20:0x528cdc92eab044e1e39fe43b9514bfdab4412b98":"giveth","eip155:10/erc20:0x6a661312938d22a2a0e27f585073e4406903990a":"mahadao","eip155:10/erc20:0x5f8d72676e37197b5011afc64d8641af2fe41fdb":"measurable-data-token","eip155:10/erc20:0xc7edf7b7b3667a06992508e7b156eff794a9e1c8":"persistence","eip155:10/erc20:0xe453d6649643f1f460c371dc3d1da98f7922fe51":"fuse-network","eip155:10/erc20:0x1da650c3b2daa8aa9ff6f661d4156ce24d08a062":"dentacoin"}
{"eip155:10/erc20:0x94b008aa00579c1307b0ef2c499ad98a8ce58e58":"tether","eip155:10/erc20:0x0b2c639c533813f4aa9d7837caf62653d097ff85":"usd-coin","eip155:10/erc20:0x1f32b1c2345538c0c6f582fcb022739c4a194ebb":"lido-finance-wsteth","eip155:10/erc20:0x350a791bfc2c21f9ed5d10980dad2e2638ffa7f6":"chainlink","eip155:10/erc20:0x68f180fcce6836688e9084f035309e29bf0a2095":"wrapped-bitcoin","eip155:10/erc20:0x4200000000000000000000000000000000000006":"weth","eip155:10/erc20:0x5a7facb970d094b6c7ff1df0ea68d99e6e73cbff":"wrapped-eeth","eip155:10/erc20:0x6fd9d7ad17242c41f7131d257212c54a0e816691":"uniswap","eip155:10/erc20:0xdc6ff44d5d932cbd77b52e5612ba0529dc6226f1":"worldcoin-org","eip155:10/erc20:0x6985884c4392d348587b19cb9eaaf157f13271cd":"layerzero","eip155:10/erc20:0x9bcef72be871e61ed4fbbc7630889bee758eb81d":"rocket-pool-eth","eip155:10/erc20:0x0994206dfe8de6ec6920ff4d779b0d950605fb53":"curve-dao-token","eip155:10/erc20:0x33800de7e817a70a694f31476313a7c572bba100":"derive","eip155:10/erc20:0x4200000000000000000000000000000000000042":"optimism-ethereum","eip155:10/erc20:0x2e3d870790dc77a83dd1d18184acc7439a53f475":"frax","eip155:10/erc20:0xb0ffa8000886e57f86dd5264b9582b2ad87b2b91":"wormhole","eip155:10/erc20:0xc6bdfc4f2e90196738873e824a9efa03f7c64176":"vicicoin","eip155:10/erc20:0x80eede496655fb9047dd39d9f418d5483ed600df":"frax-usd","eip155:10/erc20:0x3eaeb77b03dbc0f6321ae1b72b2e9adb0f60112b":"sushiswap","eip155:10/erc20:0x8700daec35af8ff88c16bdf0418774cb3d7599b4":"synthetix-network-token","eip155:10/erc20:0xaeaeed23478c3a4b798e4ed40d8b7f41366ae861":"ankr","eip155:10/erc20:0x5a5fff6f753d7c11a56a52fe47a177a87e431655":"synapse-2","eip155:10/erc20:0x4f8a84c442f9675610c680990eddb2ccddb8ab6f":"frankencoin","eip155:10/erc20:0x03569cc076654f82679c4ba2124d64774781b01d":"liquity-v2","eip155:10/erc20:0x9923db8d7fbacc2e69e87fad19b886c81cd74979":"hyperlane","eip155:10/erc20:0xec6adef5e1006bb305bb1975333e8fc4071295bf":"cartesi","eip155:10/erc20:0x14778860e937f509e651192a90589de711fb88a9":"cyberconnect","eip155:10/erc20:0xa00e3a3511aac35ca78530c85007afcd31753819":"kyber-network","eip155:10/erc20:0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9":"susd","eip155:10/erc20:0xaf9fe3b5ccdae78188b1f8b9a49da7ae9510f151":"dhedge-dao","eip155:10/erc20:0xe05a08226c49b636acf99c40da8dc6af83ce5bb3":"ankreth","eip155:10/erc20:0xef4461891dfb3ac8572ccf7c794664a8dd927945":"walletconnect-token","eip155:10/erc20:0xd6909e9e702024eb93312b989ee46794c0fb1c9d":"biconomy","eip155:10/erc20:0xbfd5206962267c7b4b4a8b3d76ac2e1b2a5c4d5e":"osaka-protocol","eip155:10/erc20:0xfc2e6e6bcbd49ccf3a5f029c79984372dcbfe527":"autonolas","eip155:10/erc20:0x4e200fe2f3efb977d5fd9c430a41531fb04d97b8":"orderly-network","eip155:10/erc20:0x528cdc92eab044e1e39fe43b9514bfdab4412b98":"giveth","eip155:10/erc20:0x6a661312938d22a2a0e27f585073e4406903990a":"mahadao","eip155:10/erc20:0x5f8d72676e37197b5011afc64d8641af2fe41fdb":"measurable-data-token","eip155:10/erc20:0xc7edf7b7b3667a06992508e7b156eff794a9e1c8":"persistence","eip155:10/erc20:0xe453d6649643f1f460c371dc3d1da98f7922fe51":"fuse-network","eip155:10/erc20:0x1da650c3b2daa8aa9ff6f661d4156ce24d08a062":"dentacoin"}

Large diffs are not rendered by default.

Loading
Loading