Skip to content
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

Convert to NextJS #696

Open
wants to merge 117 commits into
base: dev2
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
117 commits
Select commit Hold shift + click to select a range
79cac10
update file structure
totop716 Mar 13, 2023
1ec8c4d
update pages and structure of app
totop716 Mar 15, 2023
95f2b48
update icons
totop716 Mar 15, 2023
d9120be
update import
totop716 Mar 15, 2023
5fc9f8e
update import
totop716 Mar 15, 2023
9885cda
Fix pages
totop716 Mar 16, 2023
e612d4e
update components and pages
totop716 Mar 17, 2023
2aa85f3
update styles
totop716 Mar 17, 2023
d637978
update components
totop716 Mar 17, 2023
52bb50a
Fix import
totop716 Mar 19, 2023
66b3ccb
Fix import and images
totop716 Mar 20, 2023
268940c
fix translation
totop716 Mar 20, 2023
ee0bd96
Fix i18n translation and style of landing page
totop716 Mar 22, 2023
da314e4
fix landing page
totop716 Mar 28, 2023
9952aa6
Merge branch 'dev2' into feature/convert-nextjs
totop716 Mar 31, 2023
d124156
add token logos
totop716 Mar 31, 2023
54c1122
fix errors in components and pages
totop716 Mar 31, 2023
94d2cab
Merge branch 'dev2' into feature/convert-nextjs
totop716 Mar 31, 2023
003c9dd
fix modals
totop716 Mar 31, 2023
45a0e12
fix swap and pools page
totop716 Apr 3, 2023
4f60b4c
fix pools and farms page
totop716 Apr 3, 2023
8f34a83
fix components in swap page
totop716 Apr 4, 2023
095521a
Merge branch 'dev2' into feature/convert-nextjs
totop716 Apr 28, 2023
617b181
fix web3 provider and components
totop716 Apr 28, 2023
973cc50
remove npmrc
totop716 Apr 28, 2023
fbc3e67
Merge branch 'testing/orbs' into feature/convert-nextjs
totop716 May 1, 2023
302e687
fix merge conflict
totop716 May 1, 2023
cb53ece
fix errors
totop716 May 1, 2023
cfcaafc
fix network selection modal
totop716 May 1, 2023
6950146
fix components and pages
totop716 May 1, 2023
ce346a9
fix components and lists
totop716 May 1, 2023
0508b19
fix state and error page
totop716 May 2, 2023
1efaf6b
fix analytics pages and deploy workflow
totop716 May 2, 2023
1d8efed
update pages and components
totop716 May 9, 2023
29b4213
Merge branch 'dev2' into feature/convert-nextjs
totop716 May 16, 2023
f4f4241
add missing token icons
totop716 May 16, 2023
ffb02fd
fix menu and pages
totop716 May 16, 2023
c358ea8
Merge branch 'dev2' into feature/convert-nextjs
totop716 May 18, 2023
c6db1b6
Merge branch 'dev2' into feature/convert-nextjs
totop716 May 24, 2023
7a9c748
Merge branch 'dev2' into feature/convert-nextjs
totop716 Jul 5, 2023
7d6f693
fix header and backend url
totop716 Jul 6, 2023
19fa1be
revert intract script to page layout
totop716 Jul 6, 2023
1ae34eb
add intract package
totop716 Jul 6, 2023
a46e759
fix header
totop716 Jul 6, 2023
388aaa9
fix backend url in the hook for farms
totop716 Jul 6, 2023
7bb4c11
update leaderboard page and header
totop716 Jul 6, 2023
262c8ee
fix farms page and hook to get usd price
totop716 Jul 7, 2023
8b1dcd5
Merge branch 'dev2' into feature/convert-nextjs
totop716 Jul 7, 2023
ad6212e
fix google analytics and some UI issues
totop716 Jul 12, 2023
8bc64cb
Merge branch 'dev2' into feature/convert-nextjs
totop716 Jul 19, 2023
85b0087
Merge branch 'dev2' into feature/convert-nextjs
totop716 Jul 20, 2023
a335ec9
fix styles in home and swap pages
totop716 Jul 20, 2023
6b136c7
fix warnings for build
totop716 Jul 20, 2023
119b003
fix warning
totop716 Jul 20, 2023
b3e3f73
fix build
totop716 Jul 21, 2023
f6bdcca
fix components and pages
totop716 Jul 21, 2023
d7ea5da
fix styles on pools page
totop716 Jul 22, 2023
4e8f0df
fix images and swap page
totop716 Jul 23, 2023
3c28b3e
update farm and pools page
totop716 Jul 24, 2023
6ceaeeb
Merge branch 'dev2' into feature/convert-nextjs
totop716 Jul 25, 2023
015cdb4
fix images and pools page
totop716 Jul 25, 2023
4424fb0
fix breakpoints
totop716 Jul 25, 2023
7d002dc
fix redirects
totop716 Jul 26, 2023
789e3de
fix swap and farms pages
totop716 Jul 26, 2023
c468e6b
update migrate pages
totop716 Jul 26, 2023
90c6bf0
fix farms and pools pages
totop716 Jul 28, 2023
0ad54c0
fix components and pages
totop716 Jul 29, 2023
6083d85
fix intract attribution and background
totop716 Jul 29, 2023
56fd55c
fix style import
totop716 Jul 29, 2023
2ec9cd7
Merge branch 'dev2' into feature/convert-nextjs
totop716 Aug 1, 2023
1250f62
Testing for CI
sameepsi Aug 4, 2023
40648a7
v3.6.1
sameepsi Aug 4, 2023
8df689f
Updated yarn lock file
sameepsi Aug 4, 2023
a03bc2c
Testing CI
sameepsi Aug 7, 2023
d76ddf1
Fixing CI
sameepsi Aug 11, 2023
557fcf9
Fixing CI
sameepsi Aug 11, 2023
05798ee
Fixing CI
sameepsi Aug 11, 2023
cc17f7c
Merge branch 'dev2' into feature/convert-nextjs
totop716 Aug 22, 2023
ef0352f
fix analytics and pools page
totop716 Aug 22, 2023
2506aca
update unipilot pools page
totop716 Aug 22, 2023
c4e4dcf
fix analytics page
totop716 Aug 23, 2023
3ce1410
update file structure
totop716 Aug 29, 2023
4dc0a9f
fix styles
totop716 Aug 30, 2023
7904280
Merge branch 'dev2' into feature/convert-nextjs
totop716 Sep 1, 2023
1e49944
fix unipilot farm card
totop716 Sep 1, 2023
ac45972
Merge branch 'dev2' into feature/convert-nextjs
totop716 Sep 15, 2023
7cee6f2
fix unstoppable domains connection and dragon lair card on landing page
totop716 Sep 15, 2023
5f434bf
fix buttons
totop716 Oct 5, 2023
56e23d0
Merge branch 'dev2' into feature/convert-nextjs
totop716 Jan 14, 2024
e965dc9
Changed nextjs version to 13.4.2
sameepsi Jan 15, 2024
8125bc1
Fix components and build errors
totop716 Jan 15, 2024
d2abcf6
fix config for next js
totop716 Jan 17, 2024
6791bb1
fix route of pages
totop716 Jan 17, 2024
df57880
fix packages
totop716 Jan 18, 2024
6a39617
upgrade material ui version
totop716 Jan 18, 2024
2bc5952
fix border radius of buttons
totop716 Jan 19, 2024
d58bbf2
fix i18n config
totop716 Jan 19, 2024
4336714
Added image in preload to improve LCP
sameepsi Jan 22, 2024
b98f68f
change image type in preload
sameepsi Jan 22, 2024
fb74310
Changed image element to support preload
sameepsi Jan 22, 2024
f063ba5
Added speed insights
sameepsi Jan 22, 2024
f40fc29
Added speed insights
sameepsi Jan 22, 2024
c1f86aa
Removed getInitialProps
sameepsi Jan 22, 2024
60081d8
Removed getInitialProps
sameepsi Jan 22, 2024
ff73506
hide disclaim and password in next js domain
totop716 Jan 22, 2024
b1095f3
Fix steer api url
totop716 Jan 22, 2024
ffdf06d
Fix styles
totop716 Jan 22, 2024
c06739b
optimize images
totop716 Jan 23, 2024
590c7c8
fix build error
totop716 Jan 23, 2024
ade12c6
remove unused packages and files
totop716 Jan 23, 2024
e83e849
update image config
totop716 Jan 23, 2024
5e9aa5c
fix images
totop716 Jan 23, 2024
b37294b
fix routing and styles
totop716 Jan 25, 2024
ceb8297
fix css styles
totop716 Jan 25, 2024
3bf4012
optimize font
totop716 Jan 26, 2024
d659cec
fix arcx sdk
totop716 Jan 26, 2024
e3382ef
fix image for LCP warning
totop716 Jan 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
101 changes: 50 additions & 51 deletions .env
Original file line number Diff line number Diff line change
@@ -1,55 +1,54 @@
REACT_APP_GOOGLE_ANALYTICS_ID="G-L7F0MLF9R2"
NEXT_PUBLIC_GOOGLE_ANALYTICS_ID="G-L7F0MLF9R2"
IPFS_DEPLOY_PINATA__API_KEY=16f568d2ab3bbb712be5
IPFS_DEPLOY_PINATA__SECRET_API_KEY=d17f8f50c3e6a633b12843890a8fb537908f0632f642bc9b97e54f3ac321ecbb
REACT_APP_PORTIS_ID="e086c1f2-2d26-4443-804f-3398bbab069e"
REACT_APP_FORTMATIC_KEY="pk_live_F937DF033A1666BF"
NEXT_PUBLIC_PORTIS_ID="e086c1f2-2d26-4443-804f-3398bbab069e"
NEXT_PUBLIC_FORTMATIC_KEY="pk_live_F937DF033A1666BF"

REACT_APP_GRAPH_V3_137_API_URL="https://api.thegraph.com/subgraphs/name/sameepsi/quickswap-v3"
REACT_APP_GRAPH_V3_2000_API_URL="https://graph-node.dogechain.dog/subgraphs/name/quickswap/dogechain-info"
REACT_APP_GRAPH_V3_1101_API_URL="https://api.studio.thegraph.com/query/44554/quickswap-v3-02/0.0.7"
NEXT_PUBLIC_GRAPH_V3_137_API_URL="https://api.thegraph.com/subgraphs/name/sameepsi/quickswap-v3"
NEXT_PUBLIC_GRAPH_V3_2000_API_URL="https://graph-node.dogechain.dog/subgraphs/name/quickswap/dogechain-info"
NEXT_PUBLIC_GRAPH_V3_1101_API_URL="https://api.studio.thegraph.com/query/44554/quickswap-v3-02/0.0.7"

REACT_APP_PREDICTIONS_URL="https://quickswap.nexter.fi/"
REACT_APP_GAMEHUB_URL="https://versagames.io/quickswap-gaming-hub"
REACT_APP_TOKEN_LIST_DEFAULT_URL="https://unpkg.com/quickswap-default-token-list@latest/build/quickswap-default.tokenlist.json"
REACT_APP_STAKING_LIST_DEFAULT_URL="https://unpkg.com/quickswap-default-staking-list-address@latest/build/quickswap-default.lpfarms.json"
REACT_APP_DUAL_STAKING_LIST_DEFAULT_URL="https://unpkg.com/quickswap-default-staking-list-address@latest/build/quickswap-default.dualfarms.json"
REACT_APP_SYRUP_LIST_DEFAULT_URL="https://unpkg.com/quickswap-default-staking-list-address@latest/build/quickswap-default.syrups.json"
REACT_APP_ADS_LIST_DEFAULT_URL="https://unpkg.com/quickswap-ads-list@latest/build/quickswap-ads-list.json"
REACT_APP_LEGACY_APP_URL="https://legacy.quickswap.exchange"
REACT_APP_MARKET_API_URL="https://sls.market.xyz/api"
REACT_APP_MARKET_RPC="https://prettiest-greatest-tent.matic.quiknode.pro/"
REACT_APP_V3_APR_API_BASE_URL="https://apiv3.quickswap.exchange/api"
REACT_APP_V3_FARMS_HELP_BASE_URL="https://help.algebra.finance"
REACT_APP_POOL_INIT_CODE_HASH="0x6ec6c9c8091d160c0aa74b2b14ba9c1717e95093bd3ac085cee99a49aab294a4"
REACT_APP_UNI_POOL_INIT_CODE_HASH="0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54"
REACT_APP_HELP_URL="https://t.me/QuickSwapDEX"
REACT_APP_TRUST_WALLET_INSTALL_LINK="https://chrome.google.com/webstore/detail/trust-wallet/egjidjbpglichdcondbcbdnbeeppgdph/related"
REACT_APP_SPRITZ_FINANCE_LINK="https://quickswap.spritz.finance/"
REACT_APP_UNSTOPPABLE_DOMAIN_CLIENT_ID="8902645e-a4f3-486a-99de-e0cda48eb3cf"
REACT_APP_UNSTOPPABLE_DOMAIN_REDIRECT_URI="https://quickswap.exchange"
REACT_APP_CNT_STAKING_LIST_DEFAULT_URL="https://thegraph.com/hosted-service/subgraph/gulshanvas/quickswap-staking-pool"
REACT_APP_APY_VISION_BASE_URL="https://stats.apy.vision"
REACT_APP_APY_VISION_ACCESS_TOKEN="b5be1c64bc08416c878f983ecb64e98e"
REACT_APP_OTHER_LP_CREATE_A_FARM_LINK="https://quickswap.dappfactory.xyz/create/"
REACT_APP_GAMMA_API_ENDPOINT="https://wire2.gamma.xyz"
REACT_APP_GAMMA_API_ENDPOINT_BACKUP="https://wire3.gamma.xyz"
REACT_APP_LEADERBOARD_APP_URL="https://leaderboard.quickswap.exchange"
REACT_APP_LENS_API_URL="https://api.lens.dev/"
REACT_APP_MELD_URL="https://fluidmoney.xyz"
REACT_APP_MELD_KEY="WGv2HQMG8hhtVSLqeBv8qp:PeX9RyVaFvwYZMajtn2rdMySqFkUT6hsVg1ek"
REACT_APP_INTRACT_KEY="64395bfd8bf642baf0147eab"
REACT_APP_SAFE_URL="https://zksafe.quickswap.exchange/"
REACT_APP_PERPS_URL="https://perps.quickswap.exchange/#/trade"
REACT_APP_BOS_URL="https://bos.quickswap.exchange/"
REACT_APP_DAPPOS_URL="https://quickswap.dappos.com/swap"
REACT_APP_TOS_VERSION="1"
REACT_APP_UNIPILOT_API_URL="https://apis.unipilot.io:447"
REACT_APP_BONDS_URL="https://raw.githubusercontent.com/ApeSwapFinance/apeswap-lists/main/config/bills.json"
REACT_APP_MASA_CLIENT_ID="c2697a5e-0456-4a28-81c3-5e656e8428cc"
REACT_APP_WALLETCONNECT_PROJECT_ID="4b8065e47a7572a1b65838e57557f93d"
REACT_APP_ARCX_KEY="d29f17e774ac4e67247a2929a02a806f6787ac6cdbbb0fc41f721c6fc621156a"
REACT_APP_STEER_API_URL="https://ro81h8hq6b.execute-api.us-east-1.amazonaws.com"
REACT_APP_STEER_STAKING_POOLS_URL="https://9i52h964s3.execute-api.us-east-1.amazonaws.com/dev/staking-pools"
REACT_APP_STEER_VAULT_APR_URL="https://ro81h8hq6b.execute-api.us-east-1.amazonaws.com/pool/fee-apr"
REACT_APP_DEFIEDGE_API_URL="https://api.defiedge.io"
REACT_APP_MERKL_API_URL="https://api.angle.money/v2/merkl"
NEXT_PUBLIC_PREDICTIONS_URL="https://quickswap.nexter.fi/"
NEXT_PUBLIC_GAMEHUB_URL="https://versagames.io/quickswap-gaming-hub"
NEXT_PUBLIC_TOKEN_LIST_DEFAULT_URL="https://unpkg.com/quickswap-default-token-list@latest/build/quickswap-default.tokenlist.json"
NEXT_PUBLIC_STAKING_LIST_DEFAULT_URL="https://unpkg.com/quickswap-default-staking-list-address@latest/build/quickswap-default.lpfarms.json"
NEXT_PUBLIC_DUAL_STAKING_LIST_DEFAULT_URL="https://unpkg.com/quickswap-default-staking-list-address@latest/build/quickswap-default.dualfarms.json"
NEXT_PUBLIC_SYRUP_LIST_DEFAULT_URL="https://unpkg.com/quickswap-default-staking-list-address@latest/build/quickswap-default.syrups.json"
NEXT_PUBLIC_ADS_LIST_DEFAULT_URL="https://unpkg.com/quickswap-ads-list@latest/build/quickswap-ads-list.json"
NEXT_PUBLIC_LEGACY_APP_URL="https://legacy.quickswap.exchange"
NEXT_PUBLIC_MARKET_API_URL="https://sls.market.xyz/api"
NEXT_PUBLIC_MARKET_RPC="https://prettiest-greatest-tent.matic.quiknode.pro/"
NEXT_PUBLIC_V3_APR_API_BASE_URL="https://apiv3.quickswap.exchange/api"
NEXT_PUBLIC_V3_FARMS_HELP_BASE_URL="https://help.algebra.finance"
NEXT_PUBLIC_POOL_INIT_CODE_HASH="0x6ec6c9c8091d160c0aa74b2b14ba9c1717e95093bd3ac085cee99a49aab294a4"
NEXT_PUBLIC_UNI_POOL_INIT_CODE_HASH="0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54"
NEXT_PUBLIC_HELP_URL="https://t.me/QuickSwapDEX"
NEXT_PUBLIC_TRUST_WALLET_INSTALL_LINK="https://chrome.google.com/webstore/detail/trust-wallet/egjidjbpglichdcondbcbdnbeeppgdph/related"
NEXT_PUBLIC_SPRITZ_FINANCE_LINK="https://quickswap.spritz.finance/"
NEXT_PUBLIC_UNSTOPPABLE_DOMAIN_CLIENT_ID="8902645e-a4f3-486a-99de-e0cda48eb3cf"
NEXT_PUBLIC_UNSTOPPABLE_DOMAIN_REDIRECT_URI="https://quickswap.exchange"
NEXT_PUBLIC_CNT_STAKING_LIST_DEFAULT_URL="https://thegraph.com/hosted-service/subgraph/gulshanvas/quickswap-staking-pool"
NEXT_PUBLIC_APY_VISION_BASE_URL="https://stats.apy.vision"
NEXT_PUBLIC_APY_VISION_ACCESS_TOKEN="b5be1c64bc08416c878f983ecb64e98e"
NEXT_PUBLIC_OTHER_LP_CREATE_A_FARM_LINK="https://quickswap.dappfactory.xyz/create/"
NEXT_PUBLIC_GAMMA_API_ENDPOINT="https://wire2.gamma.xyz"
NEXT_PUBLIC_GAMMA_API_ENDPOINT_BACKUP="https://wire3.gamma.xyz"
NEXT_PUBLIC_LEADERBOARD_APP_URL="https://leaderboard.quickswap.exchange"
NEXT_PUBLIC_LENS_API_URL="https://api.lens.dev/"
NEXT_PUBLIC_MELD_URL="https://fluidmoney.xyz"
NEXT_PUBLIC_MELD_KEY="WGv2HQMG8hhtVSLqeBv8qp:PeX9RyVaFvwYZMajtn2rdMySqFkUT6hsVg1ek"
NEXT_PUBLIC_INTRACT_KEY="64395bfd8bf642baf0147eab"
NEXT_PUBLIC_SAFE_URL="https://zksafe.quickswap.exchange/"
NEXT_PUBLIC_PERPS_URL="https://perps.quickswap.exchange/#/trade"
NEXT_PUBLIC_BOS_URL="https://bos.quickswap.exchange/"
NEXT_PUBLIC_DAPPOS_URL="https://quickswap.dappos.com/swap"
NEXT_PUBLIC_TOS_VERSION="1"
NEXT_PUBLIC_UNIPILOT_API_URL="https://apis.unipilot.io:447"
NEXT_PUBLIC_BONDS_URL="https://raw.githubusercontent.com/ApeSwapFinance/apeswap-lists/main/config/bills.json"
NEXT_PUBLIC_MASA_CLIENT_ID="c2697a5e-0456-4a28-81c3-5e656e8428cc"
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID="4b8065e47a7572a1b65838e57557f93d"
NEXT_PUBLIC_ARCX_KEY="d29f17e774ac4e67247a2929a02a806f6787ac6cdbbb0fc41f721c6fc621156a"
NEXT_PUBLIC_STEER_API_URL="https://api.steer.finance"
NEXT_PUBLIC_STEER_STAKING_POOLS_URL="https://9i52h964s3.execute-api.us-east-1.amazonaws.com/dev/staking-pools"
NEXT_PUBLIC_DEFIEDGE_API_URL="https://api.defiedge.io"
NEXT_PUBLIC_MERKL_API_URL="https://api.angle.money/v2/merkl"
63 changes: 55 additions & 8 deletions .env.production
Original file line number Diff line number Diff line change
@@ -1,8 +1,55 @@
REACT_APP_CHAIN_ID="1"
REACT_APP_NETWORK_URL="https://mainnet.infura.io/v3/099fc58e0de9451d80b18d7c74caa7c1"
REACT_APP_PORTIS_ID="c0e2bf01-4b08-4fd5-ac7b-8e26b58cd236"
REACT_APP_FORTMATIC_KEY="pk_live_F937DF033A1666BF"
REACT_APP_GOOGLE_ANALYTICS_ID="G-L7F0MLF9R2"
REACT_APP_MOONPAY_KEY="pk_live_72EGoobLnlgc8WB7AaxyiWu2S43dj8eY"
REACT_APP_TRANSAK_KEY="258960cf-1e17-4419-bf7f-77443282f5da"
REACT_APP_GRAPH_V2_API_URL="https://api.fura.org/subgraphs/name/quickswap"
NEXT_PUBLIC_GOOGLE_ANALYTICS_ID="G-L7F0MLF9R2"
IPFS_DEPLOY_PINATA__API_KEY=16f568d2ab3bbb712be5
IPFS_DEPLOY_PINATA__SECRET_API_KEY=d17f8f50c3e6a633b12843890a8fb537908f0632f642bc9b97e54f3ac321ecbb
NEXT_PUBLIC_PORTIS_ID="e086c1f2-2d26-4443-804f-3398bbab069e"
NEXT_PUBLIC_FORTMATIC_KEY="pk_live_F937DF033A1666BF"

NEXT_PUBLIC_GRAPH_V3_137_API_URL="https://api.thegraph.com/subgraphs/name/sameepsi/quickswap-v3"
NEXT_PUBLIC_GRAPH_V3_2000_API_URL="https://graph-node.dogechain.dog/subgraphs/name/quickswap/dogechain-info"
NEXT_PUBLIC_GRAPH_V3_1101_API_URL="https://api.studio.thegraph.com/query/44554/quickswap-v3-02/0.0.7"

NEXT_PUBLIC_PREDICTIONS_URL="https://quickswap.nexter.fi/"
NEXT_PUBLIC_GAMEHUB_URL="https://versagames.io/quickswap-gaming-hub"
NEXT_PUBLIC_TOKEN_LIST_DEFAULT_URL="https://unpkg.com/quickswap-default-token-list@latest/build/quickswap-default.tokenlist.json"
NEXT_PUBLIC_STAKING_LIST_DEFAULT_URL="https://unpkg.com/quickswap-default-staking-list-address@latest/build/quickswap-default.lpfarms.json"
NEXT_PUBLIC_DUAL_STAKING_LIST_DEFAULT_URL="https://unpkg.com/quickswap-default-staking-list-address@latest/build/quickswap-default.dualfarms.json"
NEXT_PUBLIC_SYRUP_LIST_DEFAULT_URL="https://unpkg.com/quickswap-default-staking-list-address@latest/build/quickswap-default.syrups.json"
NEXT_PUBLIC_ADS_LIST_DEFAULT_URL="https://unpkg.com/quickswap-ads-list@latest/build/quickswap-ads-list.json"
NEXT_PUBLIC_LEGACY_APP_URL="https://legacy.quickswap.exchange"
NEXT_PUBLIC_MARKET_API_URL="https://sls.market.xyz/api"
NEXT_PUBLIC_MARKET_RPC="https://prettiest-greatest-tent.matic.quiknode.pro/"
NEXT_PUBLIC_V3_APR_API_BASE_URL="https://apiv3.quickswap.exchange/api"
NEXT_PUBLIC_V3_FARMS_HELP_BASE_URL="https://help.algebra.finance"
NEXT_PUBLIC_POOL_INIT_CODE_HASH="0x6ec6c9c8091d160c0aa74b2b14ba9c1717e95093bd3ac085cee99a49aab294a4"
NEXT_PUBLIC_UNI_POOL_INIT_CODE_HASH="0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54"
NEXT_PUBLIC_HELP_URL="https://t.me/QuickSwapDEX"
NEXT_PUBLIC_TRUST_WALLET_INSTALL_LINK="https://chrome.google.com/webstore/detail/trust-wallet/egjidjbpglichdcondbcbdnbeeppgdph/related"
NEXT_PUBLIC_SPRITZ_FINANCE_LINK="https://quickswap.spritz.finance/"
NEXT_PUBLIC_UNSTOPPABLE_DOMAIN_CLIENT_ID="8902645e-a4f3-486a-99de-e0cda48eb3cf"
NEXT_PUBLIC_UNSTOPPABLE_DOMAIN_REDIRECT_URI="https://quickswap.exchange"
NEXT_PUBLIC_CNT_STAKING_LIST_DEFAULT_URL="https://thegraph.com/hosted-service/subgraph/gulshanvas/quickswap-staking-pool"
NEXT_PUBLIC_APY_VISION_BASE_URL="https://stats.apy.vision"
NEXT_PUBLIC_APY_VISION_ACCESS_TOKEN="b5be1c64bc08416c878f983ecb64e98e"
NEXT_PUBLIC_OTHER_LP_CREATE_A_FARM_LINK="https://quickswap.dappfactory.xyz/create/"
NEXT_PUBLIC_GAMMA_API_ENDPOINT="https://wire2.gamma.xyz"
NEXT_PUBLIC_GAMMA_API_ENDPOINT_BACKUP="https://wire3.gamma.xyz"
NEXT_PUBLIC_LEADERBOARD_APP_URL="https://leaderboard.quickswap.exchange"
NEXT_PUBLIC_LENS_API_URL="https://api.lens.dev/"
NEXT_PUBLIC_MELD_URL="https://fluidmoney.xyz"
NEXT_PUBLIC_MELD_KEY="WGv2HQMG8hhtVSLqeBv8qp:PeX9RyVaFvwYZMajtn2rdMySqFkUT6hsVg1ek"
NEXT_PUBLIC_INTRACT_KEY="64395bfd8bf642baf0147eab"
NEXT_PUBLIC_SAFE_URL="https://zksafe.quickswap.exchange/"
NEXT_PUBLIC_PERPS_URL="https://perps.quickswap.exchange/#/trade"
NEXT_PUBLIC_BOS_URL="https://bos.quickswap.exchange/"
NEXT_PUBLIC_DAPPOS_URL="https://quickswap.dappos.com/swap"
NEXT_PUBLIC_TOS_VERSION="1"
NEXT_PUBLIC_UNIPILOT_API_URL="https://apis.unipilot.io:447"
NEXT_PUBLIC_BONDS_URL="https://raw.githubusercontent.com/ApeSwapFinance/apeswap-lists/main/config/bills.json"
NEXT_PUBLIC_MASA_CLIENT_ID="c2697a5e-0456-4a28-81c3-5e656e8428cc"
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID="4b8065e47a7572a1b65838e57557f93d"
NEXT_PUBLIC_ARCX_KEY="d29f17e774ac4e67247a2929a02a806f6787ac6cdbbb0fc41f721c6fc621156a"
NEXT_PUBLIC_STEER_API_URL="https://ro81h8hq6b.execute-api.us-east-1.amazonaws.com"
NEXT_PUBLIC_STEER_STAKING_POOLS_URL="https://9i52h964s3.execute-api.us-east-1.amazonaws.com/dev/staking-pools"
NEXT_PUBLIC_STEER_VAULT_APR_URL="https://ro81h8hq6b.execute-api.us-east-1.amazonaws.com/pool/fee-apr"
NEXT_PUBLIC_DEFIEDGE_API_URL="https://api.defiedge.io"
NEXT_PUBLIC_MERKL_API_URL="https://api.angle.money/v2/merkl"
48 changes: 48 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
var prettierOptions = {
trailingComma: 'all',
tabWidth: 2,
singleQuote: true,
jsxBracketSameLine: false,
jsxSingleQuote: true,
arrowParens: 'always',
};

module.exports = {
extends: ['next', 'prettier'],
plugins: ['prettier', '@typescript-eslint'],
parser: '@typescript-eslint/parser',
rules: {
'prettier/prettier': ['error', prettierOptions],
'@next/next/no-html-link-for-pages': 'off',
'@typescript-eslint/no-unused-vars': [
'error',
{
argsIgnorePattern: '^_',
varsIgnorePattern: '^_',
caughtErrorsIgnorePattern: '^_',
},
],
'react-hooks/exhaustive-deps': [
'warn',
{
additionalHooks: 'useDebouncedEffect',
},
],
},
overrides: [
{
files: ['**/*.ts?(x)'],
rules: { 'prettier/prettier': ['warn', prettierOptions] },
},
{
files: ['**/*.js?(x)'],
rules: { 'prettier/prettier': ['warn', prettierOptions] },
},
{
files: ['**/*.stories.*'],
rules: {
'import/no-anonymous-default-export': 'off',
},
},
],
};
32 changes: 0 additions & 32 deletions .eslintrc.json

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/cf-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
node-version: 16
registry-url: https://registry.npmjs.org
- name: Install dependencies
run: npm install --legacy-peer-deps
run: yarn install
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
/node_modules
/.pnp
.pnp.js
.next

# testing
/coverage
Expand Down
32 changes: 0 additions & 32 deletions config-overrides.js

This file was deleted.

5 changes: 5 additions & 0 deletions next-env.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
11 changes: 11 additions & 0 deletions next-i18next.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module.exports = {
i18n: {
defaultLocale: 'en',
locales: ['en'],
},
localePath:
typeof window === 'undefined'
? require('path').resolve('./public/locales')
: '/public/locales',
ns: ['common'],
};
Loading
Loading