Skip to content

Commit aefa3c9

Browse files
authored
Merge branch 'dev' into patch-4
2 parents ee9d3e6 + f10968f commit aefa3c9

File tree

2,731 files changed

+190596
-82396
lines changed

Some content is hidden

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

2,731 files changed

+190596
-82396
lines changed

.all-contributorsrc

Lines changed: 147 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
{
@@ -12497,6 +12498,151 @@
1249712498
"contributions": [
1249812499
"doc"
1249912500
]
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+
]
1250012646
}
1250112647
],
1250212648
"contributorsPerLine": 7,

.env.example

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,8 @@ BUILD_LOCALES=
3636
LIMIT_CPUS=
3737

3838
# Enables the bundle analyzer
39-
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 🔄

.github/workflows/wallets-check.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

.storybook/i18next.ts

Lines changed: 3 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,7 +23,9 @@ export const ns = [
2223
"page-developers-index",
2324
"page-what-is-ethereum",
2425
"page-upgrades-index",
26+
"page-wallets-find-wallet",
2527
"page-developers-docs",
28+
"table",
2629
] as const
2730
const supportedLngs = Object.keys(baseLocales)
2831

.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 {

.storybook/utils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// eslint-disable-next-line no-restricted-imports
12
import { getI18n } from "react-i18next"
23

34
import { ns as exposedNs } from "./i18next"

CODE_OF_CONDUCT.md

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
# Code of conduct
2+
3+
## Mission
4+
5+
To develop and maintain the most comprehensive and accessible knowledge hub for Ethereum.
6+
7+
## Values
8+
9+
The ethereum.org community strives to be:
10+
11+
- educational, intended to help everyone to understand Ethereum
12+
- inclusive
13+
- accessible
14+
- community-driven
15+
- focused on Ethereum’s underlying technology and use-cases
16+
- focused on Ethereum concepts and design principles
17+
18+
## What we are not
19+
20+
- The Ethereum Foundation website
21+
- A platform for promoting investments or profiteering of any kind
22+
- A platform for elevating or endorsing individual projects or organizations
23+
- A DEX, CEX or any other form of financial platform
24+
- A platform that gives financial or legal advice of any kind
25+
26+
## Code of conduct
27+
28+
### Pledge
29+
30+
Open participation is core to the ethereum.org ethos. We are a website and community maintained by thousands of contributors, and this is only possible if we maintain a welcoming, participatory environment. To this end, contributors to this site pledge to maintain a harassment-free environment for all participants across all ethereum.org platforms and community spaces. The ethereum.org community welcomes and values anyone who wants to participate in a constructive and friendly way, regardless of age, disability, ethnicity, sex characteristics, gender identity, level of experience, area of expertise, education, socio-economic status, nationality, personal appearance, race, religion or any other dimension of diversity.
31+
32+
### Scope
33+
34+
This Code of Conduct applies to all ethereum.org spaces (such as GitHub, Discord, Figma, Crowdin, Twitter and other online platforms), and it also applies when the community is represented in real-world public spaces such as at meetups, conferences and events.
35+
36+
### Our standards
37+
38+
Examples of behavior that contributes to creating a positive environment include:
39+
40+
- Using welcoming and inclusive language
41+
- Being respectful of differing viewpoints and experiences
42+
- Gracefully accepting and/or empathetically providing constructive criticism
43+
- Acting calmly and professionally when resolving conflicts or disagreements
44+
- Showing empathy and tolerance towards other community members
45+
- Encouraging and amplifying new voices in the community
46+
47+
Examples of unacceptable behavior by participants include:
48+
49+
- Physical violence, threatening physical violence or encouraging of physical violence of any kind
50+
- Using sexualized language or imagery or imposing unwelcome sexual attention
51+
- Impersonating another individual or otherwise dishonestly claiming affiliation with some individual or organization
52+
- Trolling, insulting/derogatory comments, and personal or political attacks
53+
- Harassing other community members in public or private channels
54+
- Publishing others’ private information, such as a physical or electronic address, without explicit permission
55+
- Social engineering, scamming or otherwise manipulating other community members
56+
- Promoting investments, tokens, projects or anything else for personal monetary or non-monetary gain
57+
- Spamming servers with off-topic content
58+
- Disregarding requests or warnings from community moderators
59+
- Engaging in other conduct which could reasonably be considered inappropriate in a professional setting
60+
61+
### Reporting
62+
63+
Violations of the code of conduct will normally be visible to the community as we try to do everything in open, public channels, allowing community members to self-police.
64+
65+
However, if something happens that you feel needs attention, you can raise it with someone who has a moderation role (e.g. discord guide) so that they can help investigate and execute the appropriate response.
66+
67+
When reporting, please include as much detail as possible, including specific examples and timestamps. This will help to ensure a fair outcome.
68+
69+
### Enforcement
70+
71+
Depending on the severity, people who violate the code of conduct can receive warnings, temporary bans or permanent bans from ethereum.org communities.

0 commit comments

Comments
 (0)