Skip to content

Commit 42850fc

Browse files
authored
Merge branch 'dev' into cypherockx1
2 parents 3fb9e33 + 04891b5 commit 42850fc

File tree

3,119 files changed

+201965
-99425
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,119 files changed

+201965
-99425
lines changed

.all-contributorsrc

Lines changed: 246 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12261,7 +12261,8 @@
1226112261
"profile": "https://github.com/Shiva-Sai-ssb",
1226212262
"contributions": [
1226312263
"bug",
12264-
"maintenance"
12264+
"maintenance",
12265+
"content"
1226512266
]
1226612267
},
1226712268
{
@@ -12398,6 +12399,250 @@
1239812399
"contributions": [
1239912400
"content"
1240012401
]
12402+
},
12403+
{
12404+
"login": "yannggg",
12405+
"name": "Yann Gerardi",
12406+
"avatar_url": "https://avatars.githubusercontent.com/u/29145014?v=4",
12407+
"profile": "https://www.mtpelerin.com",
12408+
"contributions": [
12409+
"code"
12410+
]
12411+
},
12412+
{
12413+
"login": "panditdhamdhere",
12414+
"name": "Pandit Dhamdhere",
12415+
"avatar_url": "https://avatars.githubusercontent.com/u/85685981?v=4",
12416+
"profile": "https://github.com/panditdhamdhere",
12417+
"contributions": [
12418+
"code"
12419+
]
12420+
},
12421+
{
12422+
"login": "ferreiramarcelo",
12423+
"name": "M@rC3L0",
12424+
"avatar_url": "https://avatars.githubusercontent.com/u/11818521?v=4",
12425+
"profile": "http://linkedin.com/in/fmarcelo",
12426+
"contributions": [
12427+
"ideas"
12428+
]
12429+
},
12430+
{
12431+
"login": "Refdeveloper",
12432+
"name": "DevOFtoken",
12433+
"avatar_url": "https://avatars.githubusercontent.com/u/87125773?v=4",
12434+
"profile": "https://github.com/Refdeveloper",
12435+
"contributions": [
12436+
"ideas"
12437+
]
12438+
},
12439+
{
12440+
"login": "vvvvvv1vvvvvv",
12441+
"name": "vvvvvv1vvvvvv",
12442+
"avatar_url": "https://avatars.githubusercontent.com/u/86296331?v=4",
12443+
"profile": "https://github.com/vvvvvv1vvvvvv",
12444+
"contributions": [
12445+
"doc"
12446+
]
12447+
},
12448+
{
12449+
"login": "abraj",
12450+
"name": "Abhishek Raj",
12451+
"avatar_url": "https://avatars.githubusercontent.com/u/8170980?v=4",
12452+
"profile": "https://raj.me",
12453+
"contributions": [
12454+
"content"
12455+
]
12456+
},
12457+
{
12458+
"login": "p1kalys",
12459+
"name": "Pavan Emani",
12460+
"avatar_url": "https://avatars.githubusercontent.com/u/85685112?v=4",
12461+
"profile": "https://github.com/p1kalys",
12462+
"contributions": [
12463+
"content"
12464+
]
12465+
},
12466+
{
12467+
"login": "makoshan",
12468+
"name": "Mako Shan",
12469+
"avatar_url": "https://avatars.githubusercontent.com/u/7024451?v=4",
12470+
"profile": "https://v2eth.com/",
12471+
"contributions": [
12472+
"content"
12473+
]
12474+
},
12475+
{
12476+
"login": "cratiu222",
12477+
"name": "Christina",
12478+
"avatar_url": "https://avatars.githubusercontent.com/u/156356273?v=4",
12479+
"profile": "https://github.com/cratiu222",
12480+
"contributions": [
12481+
"content"
12482+
]
12483+
},
12484+
{
12485+
"login": "nipunh",
12486+
"name": "Nipun Hedaoo",
12487+
"avatar_url": "https://avatars.githubusercontent.com/u/26524611?v=4",
12488+
"profile": "https://github.com/nipunh",
12489+
"contributions": [
12490+
"code"
12491+
]
12492+
},
12493+
{
12494+
"login": "chenjiali-april",
12495+
"name": "april",
12496+
"avatar_url": "https://avatars.githubusercontent.com/u/132745538?v=4",
12497+
"profile": "https://github.com/chenjiali-april",
12498+
"contributions": [
12499+
"doc"
12500+
]
12501+
},
12502+
{
12503+
"login": "r4f4ss",
12504+
"name": "rafaelss",
12505+
"avatar_url": "https://avatars.githubusercontent.com/u/5679073?v=4",
12506+
"profile": "https://github.com/r4f4ss",
12507+
"contributions": [
12508+
"content"
12509+
]
12510+
},
12511+
{
12512+
"login": "preetjdp",
12513+
"name": "Preet Parekh",
12514+
"avatar_url": "https://avatars.githubusercontent.com/u/27439197?v=4",
12515+
"profile": "https://preetjdp.dev/",
12516+
"contributions": [
12517+
"content"
12518+
]
12519+
},
12520+
{
12521+
"login": "ludamad",
12522+
"name": "ludamad",
12523+
"avatar_url": "https://avatars.githubusercontent.com/u/163993?v=4",
12524+
"profile": "https://www.linkedin.com/in/adamdomurad/",
12525+
"contributions": [
12526+
"content"
12527+
]
12528+
},
12529+
{
12530+
"login": "MaryNfs",
12531+
"name": "MaryNfs",
12532+
"avatar_url": "https://avatars.githubusercontent.com/u/52598322?v=4",
12533+
"profile": "https://github.com/MaryNfs",
12534+
"contributions": [
12535+
"content",
12536+
"bug"
12537+
]
12538+
},
12539+
{
12540+
"login": "Signor1",
12541+
"name": "Signor Dev",
12542+
"avatar_url": "https://avatars.githubusercontent.com/u/94352660?v=4",
12543+
"profile": "https://signor.vercel.app/",
12544+
"contributions": [
12545+
"maintenance"
12546+
]
12547+
},
12548+
{
12549+
"login": "KatrixReloaded",
12550+
"name": "Kartikeya Sureka",
12551+
"avatar_url": "https://avatars.githubusercontent.com/u/68804269?v=4",
12552+
"profile": "https://github.com/KatrixReloaded",
12553+
"contributions": [
12554+
"code"
12555+
]
12556+
},
12557+
{
12558+
"login": "Piyush-Tilokani",
12559+
"name": "Piyush Tilokani",
12560+
"avatar_url": "https://avatars.githubusercontent.com/u/112542519?v=4",
12561+
"profile": "https://github.com/Piyush-Tilokani",
12562+
"contributions": [
12563+
"content"
12564+
]
12565+
},
12566+
{
12567+
"login": "jacobourar",
12568+
"name": "Jacobo Uribe",
12569+
"avatar_url": "https://avatars.githubusercontent.com/u/109108267?v=4",
12570+
"profile": "https://github.com/jacobourar",
12571+
"contributions": [
12572+
"content"
12573+
]
12574+
},
12575+
{
12576+
"login": "Xcertik-Realist",
12577+
"name": "NilFoundation",
12578+
"avatar_url": "https://avatars.githubusercontent.com/u/63165931?v=4",
12579+
"profile": "https://github.com/Xcertik-Realist",
12580+
"contributions": [
12581+
"content"
12582+
]
12583+
},
12584+
{
12585+
"login": "gconnect",
12586+
"name": "Glory Agatevure",
12587+
"avatar_url": "https://avatars.githubusercontent.com/u/23031920?v=4",
12588+
"profile": "https://github.com/gconnect",
12589+
"contributions": [
12590+
"content"
12591+
]
12592+
},
12593+
{
12594+
"login": "emmanuellar",
12595+
"name": "Amarachi Johnson-Ubah",
12596+
"avatar_url": "https://avatars.githubusercontent.com/u/41474439?v=4",
12597+
"profile": "http://amarachijohnson.com",
12598+
"contributions": [
12599+
"ideas"
12600+
]
12601+
},
12602+
{
12603+
"login": "sumitvekariya",
12604+
"name": "Sumit Vekariya",
12605+
"avatar_url": "https://avatars.githubusercontent.com/u/20764957?v=4",
12606+
"profile": "http://sumitvekariya.surge.sh",
12607+
"contributions": [
12608+
"maintenance"
12609+
]
12610+
},
12611+
{
12612+
"login": "rafagomes",
12613+
"name": "Rafa Gomes",
12614+
"avatar_url": "https://avatars.githubusercontent.com/u/565337?v=4",
12615+
"profile": "https://github.com/rafagomes",
12616+
"contributions": [
12617+
"code"
12618+
]
12619+
},
12620+
{
12621+
"login": "ddannehh",
12622+
"name": "ddannehh",
12623+
"avatar_url": "https://avatars.githubusercontent.com/u/109203827?v=4",
12624+
"profile": "https://github.com/ddannehh",
12625+
"contributions": [
12626+
"design"
12627+
]
12628+
},
12629+
{
12630+
"login": "jkylling",
12631+
"name": "Jonas Irgens Kylling",
12632+
"avatar_url": "https://avatars.githubusercontent.com/u/6781076?v=4",
12633+
"profile": "https://github.com/jkylling",
12634+
"contributions": [
12635+
"content"
12636+
]
12637+
},
12638+
{
12639+
"login": "CremaFR",
12640+
"name": "Thomas Brillard",
12641+
"avatar_url": "https://avatars.githubusercontent.com/u/5360522?v=4",
12642+
"profile": "https://github.com/CremaFR",
12643+
"contributions": [
12644+
"doc"
12645+
]
1240112646
}
1240212647
],
1240312648
"contributorsPerLine": 7,

.env.example

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ BUILD_LOCALES=
3535
# fixed number of CPUs (e.g. 2) to limit the demand during build time
3636
LIMIT_CPUS=
3737

38-
# Sentry auth token required for error tracking
39-
SENTRY_AUTH_TOKEN=
40-
NEXT_PUBLIC_SENTRY_DSN=
41-
4238
# Enables the bundle analyzer
43-
ANALYZE=false
39+
ANALYZE=false
40+
41+
# Use mock data for development. Set to "false" to use live data but you must have the
42+
# environment variables set to make api requests
43+
USE_MOCK_DATA=true

.eslintrc.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,17 @@
6565
"varsIgnorePattern": "^_$"
6666
}
6767
],
68-
"unused-imports/no-unused-imports-ts": "warn"
68+
"unused-imports/no-unused-imports-ts": "warn",
69+
"no-restricted-imports": [
70+
"warn",
71+
{
72+
"paths": [
73+
{
74+
"name": "react-i18next",
75+
"message": "Please use next-i18next instead of react-i18next."
76+
}
77+
]
78+
}
79+
]
6980
}
7081
}

.github/CODEOWNERS

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55

66
# These owners will be the default owners for everything in
77
# the repo. Unless a later match takes precedence,
8-
* @wackerow @corwintines @pettinarip @minimalsm @nhsz
8+
* @wackerow @corwintines @pettinarip @minimalsm
99

1010
# Owners of specific files
1111
/src/data/consensus-bounty-hunters.json @djrtwo @asanso @fredriksvantes
12+
/src/data/wallets/new-to-crypto.ts @konopkja @minimalsm

.github/workflows/update-chains.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Update Chains
2+
3+
on:
4+
schedule:
5+
- cron: '20 16 * * FRI' # Runs every Friday at 16:20 UTC
6+
workflow_dispatch: # Can be dispatched manually
7+
8+
jobs:
9+
update-chains:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v4
15+
16+
- name: Set up Node.js
17+
uses: actions/setup-node@v3
18+
with:
19+
node-version: '20'
20+
21+
- name: Install dependencies
22+
run: yarn install
23+
24+
- name: Install ts-node
25+
run: yarn global add ts-node
26+
27+
- name: Update chains data
28+
run: npx ts-node -O '{"module":"commonjs"}' ./src/scripts/update-chains.ts
29+
30+
- name: Create Pull Request
31+
uses: peter-evans/create-pull-request@v6
32+
with:
33+
token: ${{ secrets.GITHUB_TOKEN }}
34+
branch: update-chains
35+
branch-suffix: timestamp
36+
commit-message: |
37+
Update chains data
38+
base: dev
39+
title: Update chains data
40+
body: Automated update of chains data from https://chainid.network/chains.json
41+
labels: update 🔄

.storybook/i18next.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import i18n, { Resource } from "i18next"
2+
// eslint-disable-next-line no-restricted-imports
23
import { initReactI18next } from "react-i18next"
34

45
export const baseLocales = {
@@ -22,6 +23,9 @@ export const ns = [
2223
"page-developers-index",
2324
"page-what-is-ethereum",
2425
"page-upgrades-index",
26+
"page-wallets-find-wallet",
27+
"page-developers-docs",
28+
"table",
2529
] as const
2630
const supportedLngs = Object.keys(baseLocales)
2731

.storybook/modes.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import pickBy from "lodash/pickBy"
2+
13
import { baseLocales } from "./i18next"
24
import { breakpointSet } from "./preview"
35

@@ -12,7 +14,9 @@ export const viewportModes = breakpointSet.reduce<{
1214
}
1315
}, {})
1416

15-
export const langModes = Object.keys(baseLocales).reduce<{
17+
const localesToTest = ["en", "fa"]
18+
const locales = pickBy(baseLocales, (_, key) => localesToTest.includes(key))
19+
export const langModes = Object.keys(locales).reduce<{
1620
[locale: string]: { locale: string }
1721
}>((arr, curr) => {
1822
return {

0 commit comments

Comments
 (0)