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

Deploy: v8.10.0 #13699

Merged
merged 179 commits into from
Aug 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
179 commits
Select commit Hold shift + click to select a range
6bcfd11
remove language redirects
corwintines Jun 18, 2024
ffc463b
test
corwintines Jul 4, 2024
13ac64e
chore: redesign event card & list
saurabhburade Jul 10, 2024
5e14750
chore: update MeetupList row
saurabhburade Jul 11, 2024
097eb7a
chore: double month padding
saurabhburade Jul 11, 2024
10e647c
chore: update monthsPerLoad
saurabhburade Jul 11, 2024
4755d94
fix: loading remaining items at end
saurabhburade Jul 11, 2024
282e166
Merge branch 'dev' into redesign-events-page
saurabhburade Jul 13, 2024
4d0120f
chore: remove explicit return
saurabhburade Jul 24, 2024
30a08ef
chore: remove isEven prop [deprecated]
saurabhburade Jul 24, 2024
ee4a4af
Merge branch 'dev' into redesign-events-page
saurabhburade Jul 24, 2024
ad86dff
chore: refactor ui & View Event link
saurabhburade Jul 24, 2024
d73d634
fix: change DateTimeFormat to Intl
saurabhburade Jul 24, 2024
3b93efd
Fixed table overflow on mobile
MukulKolpe Jul 27, 2024
6d8755d
Merge branch 'dev' into redesign-events-page
saurabhburade Jul 27, 2024
4b874a9
chore: resolve [dev] conflicts
saurabhburade Jul 27, 2024
eec7c66
initial lang picker migration and refactor to shadcn
pettinarip Jul 27, 2024
8952035
migrate progress bar
pettinarip Jul 28, 2024
87ddb2f
migrate badge used in language picker
pettinarip Jul 28, 2024
9d11e3a
add event listener for shortcut to open the language picker
pettinarip Jul 28, 2024
d2a6906
cleanup
pettinarip Jul 28, 2024
9aa5d3f
refactor: move localeToDisplayInfo to its own function + remove useEf…
pettinarip Jul 28, 2024
1f295bf
fix bad prop
pettinarip Jul 29, 2024
539e7d1
chore: add `View Event` to en translations
saurabhburade Jul 29, 2024
68b1c7a
chore: refactor date format, use locale
saurabhburade Jul 30, 2024
420731d
chore: remove unused formatDateRange
saurabhburade Jul 30, 2024
fa59190
chore: refactor to
saurabhburade Jul 30, 2024
2999172
chore: extend event description to full length
saurabhburade Jul 30, 2024
c8e3808
move docsearch styles to global css and sort css imports to have the …
pettinarip Jul 30, 2024
f8c0d76
migrate search button
pettinarip Jul 30, 2024
da40262
style docsearch modal
pettinarip Jul 30, 2024
e554d29
delete unnecessary file
pettinarip Jul 30, 2024
f19ae26
remove chakra deps
pettinarip Jul 30, 2024
3f3593e
chore: review clean up
wackerow Jul 31, 2024
135d278
feat: create ShadCN Switch component
TylerAPfledderer Aug 2, 2024
e9cd55b
Merge branch 'dev' into shadcn-lang-picker
pettinarip Aug 2, 2024
828ee64
refactor(pages/learn): migrate to ShadCN
TylerAPfledderer Aug 3, 2024
7953917
fix(tailwind/ButtonTwoLines): declare isSecondary prop
TylerAPfledderer Aug 3, 2024
2d38f18
remove: chainshot uni from bootcamps
rohitt-gupta Aug 4, 2024
b3b59c9
revert(pages/learn): revert import location for links, buttons
TylerAPfledderer Aug 4, 2024
f85cb38
fix: Safari invalid date issue
saurabhburade Aug 5, 2024
38dc84d
on mobile, set the popover's width to fill all the vw space
pettinarip Aug 5, 2024
750849e
Merge remote-tracking branch 'upstream/dev' into feat/learn-page-shadcn
TylerAPfledderer Aug 6, 2024
ba8945b
Merge remote-tracking branch 'upstream/dev' into feat/shadcn-switch
TylerAPfledderer Aug 6, 2024
3c341e0
chore: move ShadCN switch and story to tailwind directory
TylerAPfledderer Aug 6, 2024
129ab3e
export tailwind version of the image
pettinarip Aug 7, 2024
2a67725
Merge remote-tracking branch 'upstream/dev' into feat/learn-page-shadcn
TylerAPfledderer Aug 7, 2024
35e6af3
refactor(pages/learn): use list components with tailwind
TylerAPfledderer Aug 7, 2024
d530523
Merge branch 'dev' into shadcn-lang-picker
pettinarip Aug 8, 2024
225c9c8
remove unused code
pettinarip Aug 8, 2024
b67df3c
display kbd shortcut inside the search input field
pettinarip Aug 8, 2024
88bf2b0
adjust colors
pettinarip Aug 8, 2024
537f612
Merge branch 'dev' into shadcn-search
pettinarip Aug 8, 2024
55c1112
fix imports
pettinarip Aug 8, 2024
cae511c
Merge branch 'dev' into shadcn-image
pettinarip Aug 8, 2024
79ed067
revert: non-english-warning.yml
wackerow Aug 8, 2024
ca9ba07
Merge pull request #13612 from ethereum/revert-action
corwintines Aug 8, 2024
400e4d2
Add Ethereum for Elixir developers page
alisinabh Aug 9, 2024
815e7e1
Update Crowdin translation progress
actions-user Aug 9, 2024
93f590b
add new shadcn alert component
pettinarip Aug 9, 2024
140bc7f
migrate Emoji to tailwind
pettinarip Aug 9, 2024
cf0f580
refactor(pages/learn): move ShadCN buttons and links to prod area
TylerAPfledderer Aug 9, 2024
aef2f26
migrate components to new emoji api
pettinarip Aug 9, 2024
eed3ebf
migrate emojis inside md files
pettinarip Aug 9, 2024
6e81bbe
fix HorizontalCard
pettinarip Aug 9, 2024
d6a20d0
Update index.md
UNOFFICIALbgd Aug 10, 2024
cad00be
Update community events
actions-user Aug 11, 2024
9244b91
Update Crowdin contributors
actions-user Aug 11, 2024
4b74e82
Update verkle testnet
woseK Aug 12, 2024
552cb3c
Update index.md
woseK Aug 12, 2024
78a9502
use radix utility function to merge refs
pettinarip Aug 12, 2024
5877095
Merge branch 'dev' into shadcn-search
pettinarip Aug 12, 2024
1f0fc2e
regenerate yarn.lock file
pettinarip Aug 12, 2024
f1a98ed
Merge pull request #13626 from ethereum/master
minimalsm Aug 12, 2024
5aec354
Merge branch 'dev' into shadcn-search
pettinarip Aug 12, 2024
849b91c
fixed incorrect URL
zaryab2000 Aug 12, 2024
afd1d65
migrate feedbackcard component
pettinarip Aug 12, 2024
e6144b1
Merge pull request #13623 from ethereum/automated-update-20240811001329
corwintines Aug 12, 2024
d56680f
Merge pull request #13622 from ethereum/automated-update-20240811002406
corwintines Aug 12, 2024
ef866fa
docs: update README.md [skip ci]
allcontributors[bot] Aug 12, 2024
730588f
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Aug 12, 2024
4f61d28
Merge pull request #13628 from ethereum/all-contributors/add-zaryab2000
corwintines Aug 12, 2024
892081b
Merge pull request #13627 from zaryab2000/patch-2
corwintines Aug 12, 2024
37fdc9d
Merge pull request #13621 from UNOFFICIALbgd/dev
corwintines Aug 12, 2024
4b1053c
Merge pull request #13625 from woseK/verkle-links
corwintines Aug 12, 2024
31c84cb
Merge pull request #13616 from ethereum/automated-update-20240809162757
corwintines Aug 12, 2024
b9c37d5
convert icon to svg
pettinarip Aug 12, 2024
e7ca8c6
Merge pull request #13374 from saurabhburade/redesign-events-page
wackerow Aug 12, 2024
03add81
Merge branch 'dev' into feat/learn-page-shadcn
pettinarip Aug 12, 2024
78614e4
Merge pull request #13593 from TylerAPfledderer/feat/shadcn-switch
pettinarip Aug 12, 2024
26f61f7
Revert "test"
wackerow Aug 12, 2024
c8f1555
Merge pull request #13193 from ethereum/languageRedirects
wackerow Aug 12, 2024
ed96e51
Merge pull request #13569 from TylerAPfledderer/feat/learn-page-shadcn
pettinarip Aug 13, 2024
8113a05
Merge branch 'dev' into shadcn-alert
pettinarip Aug 13, 2024
f977573
fix import
pettinarip Aug 13, 2024
2586283
Merge branch 'dev' into shadcn-lang-picker
pettinarip Aug 13, 2024
4c32eed
fix imports
pettinarip Aug 13, 2024
ed4df19
display Lang picker in a dialog on mobile
pettinarip Aug 13, 2024
af479f1
Merge branch 'dev' into shadcn-search
pettinarip Aug 13, 2024
9840eaa
regen yarn lock file
pettinarip Aug 13, 2024
a76c735
fix imports
pettinarip Aug 13, 2024
6c3a2f9
add docsearch styles to sb
pettinarip Aug 13, 2024
096e581
Merge pull request #13531 from ethereum/shadcn-lang-picker
wackerow Aug 13, 2024
d0a564f
Bump axios from 1.6.7 to 1.7.4
dependabot[bot] Aug 13, 2024
bbeeccc
Merge branch 'dev' into shadcn-search
wackerow Aug 13, 2024
2fb4687
Merge pull request #13541 from ethereum/shadcn-search
wackerow Aug 13, 2024
a3b6413
Merge pull request #13601 from ethereum/shadcn-image
wackerow Aug 13, 2024
1545524
feat: adds twFlipForRtl cn export to useRtlFlip
wackerow Aug 13, 2024
288d49d
fix: use empty string fallback classname
wackerow Aug 13, 2024
bbb3ca9
Merge branch 'dev' into shadcn-feedback-card
wackerow Aug 13, 2024
25903de
Merge pull request #13629 from ethereum/shadcn-feedback-card
wackerow Aug 13, 2024
a9abe64
feat: migrate EnergyConsumptionChart to tailwind
saurabhburade Aug 14, 2024
808305c
fix bad import
pettinarip Aug 14, 2024
6eed7bc
Merge pull request #13634 from ethereum/fix-import
pettinarip Aug 14, 2024
e9014b3
Update src/hooks/useRtlFlip.ts
pettinarip Aug 14, 2024
e830a20
fix: keyboard shortcut conflict
wackerow Aug 14, 2024
23bee40
refactor: consolidate css imports into global.css
wackerow Aug 14, 2024
0db6219
fix(useQuizWidget): run chromatic check for shuffling question set
TylerAPfledderer Aug 15, 2024
4373aa2
Add Solidity to ecosystem content
lukassim Aug 15, 2024
acc8756
Merge pull request #13642 from ethereum/fix-kbd-shortcut
pettinarip Aug 15, 2024
d5ee22b
remove pre tag
pettinarip Aug 15, 2024
710c864
Merge pull request #13643 from TylerAPfledderer/fix/quiz-modal-story-…
pettinarip Aug 15, 2024
ece1544
Merge pull request #13646 from ethereum/add-solidity-crowdin-link
corwintines Aug 15, 2024
522f934
Update community-events.json
SHSR2001 Aug 15, 2024
18998d1
Merge branch 'dev' into shadcn/EnergyConsumptionChart
saurabhburade Aug 15, 2024
1b0412e
chore: reuse useColorModeValue hook & Center component
saurabhburade Aug 15, 2024
824bba9
fix regex to match only number event keys
pettinarip Aug 15, 2024
f5dc963
Merge branch 'dev' into shadcn-emoji
pettinarip Aug 15, 2024
8443e92
Merge pull request #13658 from ethereum/fix-query-selector
wackerow Aug 15, 2024
b7e4be2
Merge pull request #13632 from ethereum/tw-use-rtl-flip
wackerow Aug 16, 2024
7f53d52
feat: migrate AdoptionChart to tailwind
saurabhburade Aug 16, 2024
cf916e0
add ethgastracker
wslyvh Aug 16, 2024
56bf818
feat: migrate BannerGrid to tailwind
saurabhburade Aug 16, 2024
8ea1f94
chore: reuse flex
saurabhburade Aug 16, 2024
0ea4e94
Merge pull request #13633 from saurabhburade/shadcn/EnergyConsumption…
pettinarip Aug 16, 2024
94ea994
Remove statsboxgrid stories
minimalsm Aug 16, 2024
a6c9086
Merge pull request #13669 from ethereum/removeStatsBoxStories
wackerow Aug 16, 2024
2e4553f
Update src/components/AdoptionChart.tsx
pettinarip Aug 16, 2024
457c7b0
Update Crowdin translation progress
actions-user Aug 16, 2024
32e0ab5
chore: break classes for readability
saurabhburade Aug 16, 2024
6bb8abe
chore: remove comment & refactor classes
saurabhburade Aug 16, 2024
1b65874
fix(.storybook/preview): sync theme from global with storage key
TylerAPfledderer Aug 16, 2024
79d2f71
Merge pull request #13670 from ethereum/master
wackerow Aug 16, 2024
9fb112d
revert: css eslint rule change
wackerow Aug 16, 2024
bf1edaa
feat(.storybook): create custom theme decorator
TylerAPfledderer Aug 16, 2024
3fe5162
refactor(pages/staking): migrate page to ShadCN
TylerAPfledderer Aug 17, 2024
9acd667
Update Crowdin contributors
actions-user Aug 18, 2024
89854bc
Merge pull request #13662 from saurabhburade/shadcn/AdoptionChart
pettinarip Aug 19, 2024
6ec62c3
Merge pull request #13641 from ethereum/css-import-consolidation
pettinarip Aug 19, 2024
14fd24e
chore: refactor classes for rtl version
saurabhburade Aug 19, 2024
9ca4ac2
chore: add ChildOnlyProp
saurabhburade Aug 19, 2024
f2c8ca6
Merge pull request #13666 from saurabhburade/shadcn-migrate/BannerGrid
pettinarip Aug 19, 2024
39fdc25
Merge pull request #13678 from ethereum/automated-update-20240818001237
corwintines Aug 19, 2024
065f4d6
Merge pull request #13671 from ethereum/automated-update-20240816162850
corwintines Aug 19, 2024
c5efdbf
Merge pull request #13631 from ethereum/dependabot/npm_and_yarn/axios…
corwintines Aug 19, 2024
0e37f74
Merge pull request #13664 from wslyvh/patch-5
corwintines Aug 19, 2024
29759fd
chore(deps): bump elliptic from 6.5.5 to 6.5.7
dependabot[bot] Aug 19, 2024
3ac3130
Merge pull request #13654 from SHSR2001/patch-7
corwintines Aug 19, 2024
b068cfd
add contributor back
corwintines Aug 19, 2024
db8e3fb
Merge pull request #13578 from rohitt-gupta/Update-Developer-Bootcamp…
corwintines Aug 19, 2024
462c2f3
Add translation key
corwintines Aug 19, 2024
e15c639
Merge pull request #13613 from alisinabh/dev
corwintines Aug 19, 2024
f04e8de
Merge pull request #13682 from ethereum/dependabot/npm_and_yarn/ellip…
corwintines Aug 19, 2024
9da6266
style(pages/staking): update grid column definition for `CardGrid` co…
TylerAPfledderer Aug 19, 2024
ef24328
Merge pull request #13619 from ethereum/shadcn-emoji
wackerow Aug 19, 2024
b5df8b6
Merge pull request #13617 from ethereum/shadcn-alert
wackerow Aug 19, 2024
0671850
update ethstaked data endpoint
pettinarip Aug 20, 2024
b0a4a7d
update colors with ds colors
pettinarip Aug 20, 2024
10db11c
Merge pull request #13518 from MukulKolpe/ExpandableCard-table
minimalsm Aug 20, 2024
5d32204
Merge pull request #13675 from TylerAPfledderer/refactor/staking-page…
pettinarip Aug 20, 2024
d166f13
fix: term typo/casing, rm term from defn
wackerow Aug 20, 2024
272db97
Merge pull request #13688 from ethereum/update-eth-staked-endpoint
wackerow Aug 20, 2024
d02cfc3
Merge pull request #13672 from TylerAPfledderer/fix/sb-color-mode-nex…
pettinarip Aug 21, 2024
513055f
Merge pull request #13692 from ethereum/term-patch
corwintines Aug 21, 2024
8b276d5
v8.10.0
corwintines Aug 21, 2024
3462d93
Merge pull request #13697 from ethereum/v8-10-0
corwintines Aug 21, 2024
af6ef03
Merge pull request #13698 from ethereum/dev
corwintines Aug 21, 2024
a527b5e
Update community-events.json
corwintines Aug 21, 2024
f394cd8
Merge pull request #13701 from ethereum/corwintines-patch-1
pettinarip Aug 21, 2024
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
9 changes: 9 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -12389,6 +12389,15 @@
"contributions": [
"bug"
]
},
{
"login": "zaryab2000",
"name": "Zaryab",
"avatar_url": "https://avatars.githubusercontent.com/u/42082608?v=4",
"profile": "https://www.zaryabs.com/",
"contributions": [
"content"
]
}
],
"contributorsPerLine": 7,
Expand Down
55 changes: 12 additions & 43 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,7 @@
"env": {
"es6": true
},
"plugins": [
"simple-import-sort",
"@typescript-eslint",
"unused-imports"
],
"plugins": ["simple-import-sort", "@typescript-eslint", "unused-imports"],
"parser": "@typescript-eslint/parser",
"rules": {
"simple-import-sort/imports": [
Expand All @@ -26,55 +22,29 @@
],
// Packages. `react` related packages come first.
// Also, put `react-icons` in sorting order not with `react`
[
"^react(?!-.)$",
"^\\w",
"^@\\w"
],
["^react(?!-.)$", "^\\w", "^@\\w"],
// The Chakra theme directory if imported to story file or other places
[
"^@/@chakra-ui"
],
["^@/@chakra-ui"],
// From the `types` directory.
[
"^@/lib/types",
"^@/lib/interfaces"
],
["^@/lib/types", "^@/lib/interfaces"],
// From the `components` directory.
[
"^@/components"
],
["^@/components"],
// From the `utils` directory.
[
"^@/lib/utils"
],
["^@/lib/utils"],
// From the `data` directory.
[
"^@/data"
],
["^@/data"],
// From the `constants` directory.
["^@/lib/constants"],
// From the `.storybook/utils` file
["^@/storybook-utils"],
// Parent imports. Put `..` last.
[
"^\\.\\.(?!/?$)",
"^\\.\\./?$"
],
["^\\.\\.(?!/?$)", "^\\.\\./?$"],
// Other relative imports. Put same-folder imports and `.` last.
[
"^\\./(?=.*/)(?!/?$)",
"^\\.(?!/?$)",
"^\\./?$"
],
["^\\./(?=.*/)(?!/?$)", "^\\.(?!/?$)", "^\\./?$"],
// Style imports.
[
"^.+\\.s?css$"
],
["^.+\\.s?css$"],
// Side effect imports.
[
"^\\u0000"
]
["^\\u0000"]
]
}
],
Expand All @@ -89,7 +59,7 @@
],
"unused-imports/no-unused-vars": [
"error",
{
{
"args": "all",
"argsIgnorePattern": "^_$",
"varsIgnorePattern": "^_$"
Expand All @@ -98,4 +68,3 @@
"unused-imports/no-unused-imports-ts": "warn"
}
}

76 changes: 0 additions & 76 deletions .github/workflows/non-english-warning.yml

This file was deleted.

6 changes: 4 additions & 2 deletions .storybook/preview.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
import isChromatic from "chromatic/isChromatic"
import { MotionGlobalConfig } from "framer-motion"
import { withThemeByDataAttribute } from "@storybook/addon-themes"
import type { Preview } from "@storybook/react"

import ThemeProvider from "@/components/ThemeProvider"

import i18n, { baseLocales } from "./i18next"
import { withNextThemes } from "./withNextThemes"

import "@docsearch/css"
import "../src/styles/global.css"
import "../src/styles/fonts.css"
import "../src/styles/docsearch.css"

MotionGlobalConfig.skipAnimations = isChromatic()

Expand All @@ -27,7 +29,7 @@ const preview: Preview = {
locales: baseLocales,
},
decorators: [
withThemeByDataAttribute({
withNextThemes({
themes: {
light: "light",
dark: "dark",
Expand Down
28 changes: 28 additions & 0 deletions .storybook/withNextThemes.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import { useEffect } from "react"
import { useTheme } from "next-themes"
import {
type DataAttributeStrategyConfiguration,
DecoratorHelpers,
} from "@storybook/addon-themes"
import type { Decorator } from "@storybook/react/*"

const { initializeThemeState, pluckThemeFromContext } = DecoratorHelpers

export const withNextThemes = ({
themes,
defaultTheme,
}: DataAttributeStrategyConfiguration): Decorator => {
initializeThemeState(Object.keys(themes), defaultTheme)

return (getStory, context) => {
const selectedTheme = pluckThemeFromContext(context)
const selected = selectedTheme || defaultTheme
const { setTheme } = useTheme()

useEffect(() => {
setTheme(selected)
}, [selected, setTheme])

return getStory(context)
}
}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1894,6 +1894,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
<td align="center" valign="top" width="14.28%"><a href="https://github.com/tr1sm0s1n"><img src="https://avatars.githubusercontent.com/u/47410557?v=4?s=100" width="100px;" alt="Mobin Mohanan"/><br /><sub><b>Mobin Mohanan</b></sub></a><br /><a href="#content-tr1sm0s1n" title="Content">🖋</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Baystef"><img src="https://avatars.githubusercontent.com/u/36106823?v=4?s=100" width="100px;" alt="Adebayo Steve"/><br /><sub><b>Adebayo Steve</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=Baystef" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/sanjanaynvsdl"><img src="https://avatars.githubusercontent.com/u/142678317?v=4?s=100" width="100px;" alt="Sanjana"/><br /><sub><b>Sanjana</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3Asanjanaynvsdl" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://www.zaryabs.com/"><img src="https://avatars.githubusercontent.com/u/42082608?v=4?s=100" width="100px;" alt="Zaryab"/><br /><sub><b>Zaryab</b></sub></a><br /><a href="#content-zaryab2000" title="Content">🖋</a></td>
</tr>
</tbody>
</table>
Expand Down
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ethereum-org-website",
"version": "8.9.0",
"version": "8.10.0",
"license": "MIT",
"private": true,
"scripts": {
Expand Down Expand Up @@ -37,18 +37,23 @@
"@next/bundle-analyzer": "^14.2.5",
"@radix-ui/react-accordion": "^1.2.0",
"@radix-ui/react-checkbox": "^1.1.1",
"@radix-ui/react-compose-refs": "^1.1.0",
"@radix-ui/react-dialog": "^1.1.1",
"@radix-ui/react-navigation-menu": "^1.2.0",
"@radix-ui/react-popover": "^1.1.1",
"@radix-ui/react-portal": "^1.1.1",
"@radix-ui/react-progress": "^1.1.0",
"@radix-ui/react-radio-group": "^1.2.0",
"@radix-ui/react-slot": "^1.1.0",
"@radix-ui/react-switch": "^1.1.0",
"@radix-ui/react-visually-hidden": "^1.1.0",
"@sentry/nextjs": "^8.19.0",
"@socialgouv/matomo-next": "^1.8.0",
"chart.js": "^4.4.2",
"chartjs-plugin-datalabels": "^2.2.0",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"cmdk": "^1.0.0",
"embla-carousel-react": "^7.0.0",
"ethereum-blockies-base64": "^1.0.2",
"framer-motion": "^10.13.0",
Expand Down
4 changes: 0 additions & 4 deletions public/_redirects
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,3 @@
/*/guides/how-to-register-an-ethereum-account /:splat/guides/how-to-create-an-ethereum-account/ 301!

/*/deprecated-software /:splat/dapps/ 301!

/*/developers/docs/smart-contracts/languages/ /:splat/developers/docs/smart-contracts/languages/

/*/languages /:splat/developers/docs/programming-languages/ 301!
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ Below is a breakdown of the website pages each content bucket contains.
- [Programming languages](/developers/docs/programming-languages/)
- [Delphi](/developers/docs/programming-languages/delphi/)
- [.NET](/developers/docs/programming-languages/dot-net/)
- [Elixir](/developers/docs/programming-languages/elixir/)
- [Golang](/developers/docs/programming-languages/golang/)
- [Java](/developers/docs/programming-languages/java/)
- [JavaScript](/developers/docs/programming-languages/javascript/)
Expand Down
1 change: 1 addition & 0 deletions public/content/developers/docs/gas/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ Layer 2 scaling is a primary initiative to greatly improve gas costs, user exper
If you want to monitor gas prices, so you can send your ETH for less, you can use many different tools such as:

- [Etherscan](https://etherscan.io/gastracker) _Transaction gas price estimator_
- [ETH Gas Tracker](https://www.ethgastracker.com/) _Monitor and track the Ethereum, and L2 gas prices to reduce transaction fees and save money_
- [Blocknative ETH Gas Estimator](https://chrome.google.com/webstore/detail/blocknative-eth-gas-estim/ablbagjepecncofimgjmdpnhnfjiecfm) _Gas estimating Chrome extension supporting both Type 0 legacy transactions and Type 2 EIP-1559 transactions._
- [Cryptoneur Gas Fees Calculator](https://www.cryptoneur.xyz/gas-fees-calculator) _Calculate gas fees in your local currency for different transaction types on Mainnet, Arbitrum, and Polygon._

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Client diversity also offers resilience to attacks. For example, an attack that

A bug in a consensus client with over 33% of the Ethereum nodes could prevent the consensus layer from finalizing, meaning users could not trust that transactions would not be reverted or changed at some point. This would be very problematic for many of the apps built on top of Ethereum, particularly DeFi.

<Emoji text="🚨" me="1rem" /> Worse still, a critical bug in a client with a two-thirds majority could cause the chain to <a href="https://www.symphonious.net/2021/09/23/what-happens-if-beacon-chain-consensus-fails/" target="_blank">incorrectly split and finalize</a>, leading to a large set of validators getting stuck on an invalid chain. If they want to rejoin the correct chain, these validators face slashing or a slow and expensive voluntary withdrawal and reactivation. The magnitude of a slashing scales with the number of culpable nodes with a two-thirds majority slashed maximally (32 ETH).
<Emoji text="🚨" className="me-4" /> Worse still, a critical bug in a client with a two-thirds majority could cause the chain to <a href="https://www.symphonious.net/2021/09/23/what-happens-if-beacon-chain-consensus-fails/" target="_blank">incorrectly split and finalize</a>, leading to a large set of validators getting stuck on an invalid chain. If they want to rejoin the correct chain, these validators face slashing or a slow and expensive voluntary withdrawal and reactivation. The magnitude of a slashing scales with the number of culpable nodes with a two-thirds majority slashed maximally (32 ETH).

Although these are unlikely scenarios, the Ethereum eco-system can mitigate their risk by evening out the distribution of clients across the active nodes. Ideally, no consensus client would ever reach a 33% share of the total nodes.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ There are several light clients in development, including execution, consensus a

- [Lodestar](https://github.com/ChainSafe/lodestar/tree/unstable/packages/light-client): consensus light client in TypeScript
- [Helios](https://github.com/a16z/helios): combined execution and consensus light client in Rust
- [Geth](https://github.com/ethereum/go-ethereum/tree/master/light): light mode for execution client (in development) in Go
- [Geth](https://github.com/ethereum/go-ethereum/tree/master/beacon/light): light mode for execution client (in development) in Go
- [Nimbus](https://nimbus.guide/el-light-client.html): consensus light client in Nim

To our knowledge none of these are considered production-ready yet.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
---
title: Ethereum for Elixir Developers
description: Learn how to develop for Ethereum using Elixir-based projects and tooling.
lang: en
incomplete: false
---

<FeaturedText>Learn how to develop for Ethereum using Elixir-based projects and tooling.</FeaturedText>

Use Ethereum to create decentralized applications (or "dapps") that utilize the benefits of cryptocurrency and blockchain technology. These dapps can be trustless, meaning that once they are deployed to Ethereum, they will always run as programmed. They can control digital assets to create new kinds of financial applications. They can be decentralized, meaning that no single entity or person controls them and are nearly impossible to censor.

## Getting started with smart contracts and the Solidity language {#getting-started-with-smart-contracts-and-solidity}

**Take your first steps to integrating Elixir with Ethereum**

Need a more basic primer first? Check out [ethereum.org/learn](/learn/) or [ethereum.org/developers](/developers/).

- [Blockchain Explained](https://kauri.io/article/d55684513211466da7f8cc03987607d5/blockchain-explained)
- [Understanding Smart Contracts](https://kauri.io/article/e4f66c6079e74a4a9b532148d3158188/ethereum-101-part-5-the-smart-contract)
- [Write your First Smart Contract](https://kauri.io/article/124b7db1d0cf4f47b414f8b13c9d66e2/remix-ide-your-first-smart-contract)
- [Learn How to Compile and Deploy Solidity](https://kauri.io/article/973c5f54c4434bb1b0160cff8c695369/understanding-smart-contract-compilation-and-deployment)

## Beginner articles {#beginner-articles}

- [Finally understanding Ethereum accounts](https://dev.to/q9/finally-understanding-ethereum-accounts-1kpe)
- [Ethers — A first-class Ethereum Web3 library for Elixir](https://medium.com/@alisinabh/announcing-ethers-a-first-class-ethereum-web3-library-for-elixir-1d64e9409122)

## Intermediate articles {#intermediate-articles}

- [How to sign raw Ethereum contract transactions with Elixir](https://kohlerjp.medium.com/how-to-sign-raw-ethereum-contract-transactions-with-elixir-f8822bcc813b)
- [Ethereum Smart Contracts and Elixir](https://medium.com/agile-alpha/ethereum-smart-contracts-and-elixir-c7c4b239ddb4)

## Elixir projects and tools {#elixir-projects-and-tools}

### Active {#active}

- [block_keys](https://github.com/ExWeb3/block_keys) - _BIP32 & BIP44 Implementation in Elixir (Multi-Account Hierarchy for Deterministic Wallets)_
- [ethereumex](https://github.com/mana-ethereum/ethereumex) - _Elixir JSON-RPC client for the Ethereum blockchain_
- [ethers](https://github.com/ExWeb3/elixir_ethers) - _A comprehensive Web3 library for interacting with smart contracts on Ethereum using Elixir_
- [ethers_kms](https://github.com/ExWeb3/elixir_ethers_kms) - _A KMS signer library for Ethers (sign transactions with AWS KMS)_
- [ex_abi](https://github.com/poanetwork/ex_abi) - _Ethereum ABI parser/decoder/encoder implementation in Elixir_
- [ex_keccak](https://github.com/ExWeb3/ex_keccak) - _Elixir library for computing Keccak SHA3-256 hashes using a NIF built tiny-keccak Rust crate_
- [ex_rlp](https://github.com/mana-ethereum/ex_rlp) - _Elixir implementation of Ethereum's RLP (Recursive Length Prefix) encoding_

### Archived / No longer maintained {#archived--no-longer-maintained}

- [eth](https://hex.pm/packages/eth) - _Ethereum utilities for Elixir_
- [exw3](https://github.com/hswick/exw3) - _High level Ethereum RPC Client for Elixir_
- [mana](https://github.com/mana-ethereum/mana) - _Ethereum full node implementation written in Elixir_

Looking for more resources? Check out [our Developer's home](/developers/).

## Elixir community contributors {#elixir-community-contributors}

The [Elixir's Slack #ethereum channel](https://elixir-lang.slack.com/archives/C5RPZ3RJL) is a host to a rapidly growing community and is the dedicated resource for discussions on any of the above projects and related topics.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Select your programming language of choice to find projects, resources, and virt
- [Ethereum for Dart developers](/developers/docs/programming-languages/dart/)
- [Ethereum for Delphi developers](/developers/docs/programming-languages/delphi/)
- [Ethereum for .NET developers](/developers/docs/programming-languages/dot-net/)
- [Ethereum for Elixir developers](/developers/docs/programming-languages/elixir/)
- [Ethereum for Go developers](/developers/docs/programming-languages/golang/)
- [Ethereum for Java developers](/developers/docs/programming-languages/java/)
- [Ethereum for JavaScript developers](/developers/docs/programming-languages/javascript/)
Expand Down
Loading
Loading