Skip to content

Commit d5a57a2

Browse files
committed
wallet data and filter updates
1 parent 5b949bc commit d5a57a2

File tree

4 files changed

+64
-12
lines changed

4 files changed

+64
-12
lines changed

src/components/Layer2NetworksTable/index.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,12 @@ const Layer2NetworksTable = ({
2323
const [filters, setFilters] = useState<FilterOption[]>(networkFilterOptions)
2424

2525
const filteredData = useMemo(() => {
26-
const filteredData = layer2Data
26+
const networks = [mainnetData, ...layer2Data]
27+
28+
const filteredData = networks
2729
.filter((network) => {
30+
if (network === mainnetData) return true
31+
2832
const maturityFilter = filters[1].items.find(
2933
(item) => item.filterKey === network.networkMaturity
3034
)
@@ -37,7 +41,7 @@ const Layer2NetworksTable = ({
3741
)
3842
})
3943

40-
return [mainnetData, ...filteredData]
44+
return filteredData
4145
}, [layer2Data, mainnetData, filters])
4246

4347
const resetFilters = () => {

src/data/wallets/wallet-data.ts

Lines changed: 52 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,9 @@ export const walletsData: WalletData[] = [
393393
"Arbitrum One",
394394
"zkSync Mainnet",
395395
"Base",
396+
"Scroll",
397+
"Blast",
398+
"Taiko Mainnet",
396399
],
397400
},
398401
{
@@ -642,6 +645,7 @@ export const walletsData: WalletData[] = [
642645
"Linea",
643646
"zkSync Mainnet",
644647
"Scroll",
648+
"Blast",
645649
],
646650
},
647651
{
@@ -822,7 +826,7 @@ export const walletsData: WalletData[] = [
822826
social_recovery: false,
823827
onboard_documentation: "",
824828
documentation: "https://help.pillar.fi/en/",
825-
supported_chains: ["Ethereum Mainnet"],
829+
supported_chains: ["Ethereum Mainnet", "OP Mainnet", "Arbitrum One"],
826830
},
827831
{
828832
last_updated: "2024-09-26",
@@ -867,7 +871,12 @@ export const walletsData: WalletData[] = [
867871
social_recovery: false,
868872
onboard_documentation: "https://www.mewtopia.com/",
869873
documentation: "https://help.myetherwallet.com/en/",
870-
supported_chains: ["Ethereum Mainnet", "zkSync Mainnet"],
874+
supported_chains: [
875+
"Ethereum Mainnet",
876+
"zkSync Mainnet",
877+
"Base",
878+
"Arbitrum One",
879+
],
871880
},
872881
{
873882
last_updated: "2022-06-24",
@@ -1055,7 +1064,12 @@ export const walletsData: WalletData[] = [
10551064
onboard_documentation: "https://docs.tor.us/wallet/faq-1/users",
10561065
documentation: "https://docs.tor.us/",
10571066
mpc: true,
1058-
supported_chains: ["Ethereum Mainnet"],
1067+
supported_chains: [
1068+
"Ethereum Mainnet",
1069+
"Arbitrum One",
1070+
"OP Mainnet",
1071+
"Base",
1072+
],
10591073
},
10601074
{
10611075
last_updated: "2024-11-06",
@@ -1299,7 +1313,12 @@ export const walletsData: WalletData[] = [
12991313
onboard_documentation: "",
13001314
documentation:
13011315
"https://support.ledger.com/hc/en-us/categories/4404376139409?docs=true",
1302-
supported_chains: ["Ethereum Mainnet"],
1316+
supported_chains: [
1317+
"Ethereum Mainnet",
1318+
"OP Mainnet",
1319+
"Arbitrum One",
1320+
"Starknet",
1321+
],
13031322
},
13041323
{
13051324
last_updated: "2024-08-16",
@@ -1400,7 +1419,12 @@ export const walletsData: WalletData[] = [
14001419
social_recovery: false,
14011420
onboard_documentation: "",
14021421
documentation: "https://support.exodus.com/",
1403-
supported_chains: ["Ethereum Mainnet"],
1422+
supported_chains: [
1423+
"Ethereum Mainnet",
1424+
"OP Mainnet",
1425+
"Arbitrum One",
1426+
"Base",
1427+
],
14041428
},
14051429
{
14061430
last_updated: "2024-07-24",
@@ -1626,7 +1650,7 @@ export const walletsData: WalletData[] = [
16261650
social_recovery: false,
16271651
onboard_documentation: "https://www.youtube.com/c/GridPlus",
16281652
documentation: "https://docs.gridplus.io/",
1629-
supported_chains: ["Ethereum Mainnet"],
1653+
supported_chains: ["Ethereum Mainnet", "Arbitrum One", "OP Mainnet"],
16301654
},
16311655
{
16321656
last_updated: "2024-11-20",
@@ -1684,7 +1708,17 @@ export const walletsData: WalletData[] = [
16841708
social_recovery: false,
16851709
onboard_documentation: "https://study.bitkeep.com/en/",
16861710
documentation: "https://docs.bitkeep.com/guide/",
1687-
supported_chains: ["Ethereum Mainnet"],
1711+
supported_chains: [
1712+
"Ethereum Mainnet",
1713+
"Base",
1714+
"Arbitrum One",
1715+
"OP Mainnet",
1716+
"zkSync Mainnet",
1717+
"Linea",
1718+
"Blast",
1719+
"Starknet",
1720+
"Mode",
1721+
],
16881722
},
16891723
{
16901724
last_updated: "2024-10-31",
@@ -1936,7 +1970,7 @@ export const walletsData: WalletData[] = [
19361970
social_recovery: false,
19371971
onboard_documentation: "https://phantom.app/learn",
19381972
documentation: "https://docs.phantom.app/",
1939-
supported_chains: ["Ethereum Mainnet"],
1973+
supported_chains: ["Ethereum Mainnet", "Base"],
19401974
},
19411975
{
19421976
last_updated: "2023-08-29",
@@ -2047,7 +2081,16 @@ export const walletsData: WalletData[] = [
20472081
social_recovery: false,
20482082
onboard_documentation: "https://community.trustwallet.com/",
20492083
documentation: "https://developer.trustwallet.com/developer/",
2050-
supported_chains: ["Ethereum Mainnet"],
2084+
supported_chains: [
2085+
"Ethereum Mainnet",
2086+
"Base",
2087+
"OP Mainnet",
2088+
"zkSync Mainnet",
2089+
"Arbitrum One",
2090+
"Linea",
2091+
"Scroll",
2092+
"Blast",
2093+
],
20512094
},
20522095
{
20532096
last_updated: "2023-10-30",

src/intl/en/page-layer-2-learn.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@
5050
"page-layer-2-learn-callout-1-description": "Explore what is the practical impact of layer 2 solutions on user experience.",
5151
"page-layer-2-learn-learn-more": "Learn more",
5252
"page-layer-2-learn-callout-2-title": "Explore different networks",
53-
"page-layer-2-learn-callout-2-description": "Learn how networks differ form each other and how far they have gotten in their development.",
53+
"page-layer-2-learn-callout-2-description": "Learn how networks differ from each other and how far they have gotten in their development.",
5454
"page-layer-2-learn-explore-networks": "Explore networks"
5555
}

src/pages/layer-2/networks.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,11 @@ export const getStaticProps = (async ({ locale }) => {
121121
...ethereumNetworkData,
122122
txCosts: growThePieData.dailyTxCosts.ethereum,
123123
tvl: "value" in ethereumMarketcapData ? ethereumMarketcapData.value : 0,
124+
walletsSupported: walletsData
125+
.filter((wallet) =>
126+
wallet.supported_chains.includes("Ethereum Mainnet")
127+
)
128+
.map((wallet) => wallet.name),
124129
},
125130
},
126131
}

0 commit comments

Comments
 (0)