Skip to content

Commit

Permalink
Merge branch 'ethereum:dev' into feature
Browse files Browse the repository at this point in the history
  • Loading branch information
SamarthJ2004 authored Feb 15, 2025
2 parents dc5fb83 + 3aab0b5 commit a19676a
Show file tree
Hide file tree
Showing 322 changed files with 18,539 additions and 18,711 deletions.
27 changes: 27 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -12670,6 +12670,33 @@
"contributions": [
"content"
]
},
{
"login": "itzVarsha",
"name": "Varshitha",
"avatar_url": "https://avatars.githubusercontent.com/u/138134029?v=4",
"profile": "https://github.com/itzVarsha",
"contributions": [
"maintenance"
]
},
{
"login": "alexandriaroberts",
"name": "Alexandria Roberts",
"avatar_url": "https://avatars.githubusercontent.com/u/31341867?v=4",
"profile": "https://alexandriaroberts.dev/",
"contributions": [
"code"
]
},
{
"login": "colinlyguo",
"name": "colin",
"avatar_url": "https://avatars.githubusercontent.com/u/102356659?v=4",
"profile": "https://github.com/colinlyguo",
"contributions": [
"content"
]
}
],
"contributorsPerLine": 7,
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019 ethereum.org contributors
Copyright (c) 2019-2025 ethereum.org contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[![Netlify Status](https://api.netlify.com/api/v1/badges/e8f2e766-888b-4954-8500-1b647d84db99/deploy-status)](https://app.netlify.com/sites/ethereumorg/deploys)
[![All Contributors](https://img.shields.io/github/all-contributors/ethereum/ethereum-org-website?color=orange&style=flat-square)](#contributors-)
[![All Contributors](https://img.shields.io/github/all-contributors/ethereum/ethereum-org-website?color=orange&style=flat-square)](#contributors)
[![Discord](https://img.shields.io/discord/714888181740339261?color=1C1CE1&label=ethereum.org%20%7C%20Discord%20%F0%9F%91%8B%20&style=flat-square)](https://discord.gg/ethereum-org)
[![Twitter Follow](https://img.shields.io/twitter/follow/ethdotorg.svg?style=social)](https://x.com/ethdotorg)
[![Crowdin](https://badges.crowdin.net/ethereum-org/localized.svg)](https://crowdin.com/project/ethereum-org)
Expand Down Expand Up @@ -1939,6 +1939,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://growthepie.xyz"><img src="https://avatars.githubusercontent.com/u/32496674?v=4?s=100" width="100px;" alt="Matthias Seidl"/><br /><sub><b>Matthias Seidl</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=mseidlx" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/JoeChenJ"><img src="https://avatars.githubusercontent.com/u/171761102?v=4?s=100" width="100px;" alt="JoeChenJ"/><br /><sub><b>JoeChenJ</b></sub></a><br /><a href="#content-JoeChenJ" title="Content">🖋</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/itzVarsha"><img src="https://avatars.githubusercontent.com/u/138134029?v=4?s=100" width="100px;" alt="Varshitha"/><br /><sub><b>Varshitha</b></sub></a><br /><a href="#maintenance-itzVarsha" title="Maintenance">🚧</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://alexandriaroberts.dev/"><img src="https://avatars.githubusercontent.com/u/31341867?v=4?s=100" width="100px;" alt="Alexandria Roberts"/><br /><sub><b>Alexandria Roberts</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=alexandriaroberts" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/colinlyguo"><img src="https://avatars.githubusercontent.com/u/102356659?v=4?s=100" width="100px;" alt="colin"/><br /><sub><b>colin</b></sub></a><br /><a href="#content-colinlyguo" title="Content">🖋</a></td>
</tr>
</tbody>
</table>
Expand Down
6 changes: 3 additions & 3 deletions docs/applying-storybook.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Overview

StorybookJS is a UI tool for isolating UI components to visually test their styles and states.
StorybookJS is a UI tool for isolating UI components to visually test its styles and states.

This is great for checking the various iterations of a component in a sandbox versus scouring all the pages in a large scale project it is used to verify that the component is rendering properly.

Expand All @@ -22,7 +22,7 @@ It's as easy as running `yarn storybook` to boot up a dedicated localhost to see
A Storybook "story" is an instance of a component in a certain state or with certain parameters applied to show an alternative version of the component.

There may be some exceptions, but generally each component should have only on story file.
There may be some exceptions, but generally each component should have only one story file.

The stories file will reside with each component. So the base folder structure in `src` will look like this:

Expand Down Expand Up @@ -134,7 +134,7 @@ export const Button: StoryObj<typeof meta> = {
}
```

As you go and make adjustments to the component itself or it's variant styles, Storybook will hot reload and those changes will appear in the stories that emphasize them.
As you go and make adjustments to the component itself or its variant styles, Storybook will hot reload and those changes will appear in the stories that emphasize them.

## Storybook Dashboard

Expand Down
4 changes: 2 additions & 2 deletions docs/best-practices.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ Center things using the `<Center />` component

- Breakpoints

Use [the Chakra default breakpoints](https://chakra-ui.com/docs/styled-system/theme#breakpoints).
Use [the Chakra default breakpoints](https://www.chakra-ui.com/docs/theming/customization/breakpoints).

```tsx
<Container display={{ base: "block", sm: "flex" }} />
Expand Down Expand Up @@ -167,7 +167,7 @@ import Emoji from "./Emoji"
```

- **Icons**: We use [React Icons](https://react-icons.github.io/react-icons/)
with [Chakra UI Icon component](https://chakra-ui.com/docs/components/icon/usage)
with [Chakra UI Icon component](https://www.chakra-ui.com/docs/components/concepts/overview)

```tsx
import { Icon } from "@chakra-ui/react"
Expand Down
13 changes: 13 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,19 @@ module.exports = (phase, { defaultConfig }) => {
},
],
},
async headers() {
return [
{
source: "/(.*)", // Apply to all routes
headers: [
{
key: "X-Frame-Options",
value: "DENY",
},
],
},
]
},
}

if (phase !== PHASE_DEVELOPMENT_SERVER) {
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ethereum-org-website",
"version": "9.4.1",
"version": "9.5.0",
"license": "MIT",
"private": true,
"scripts": {
Expand Down Expand Up @@ -36,6 +36,7 @@
"@hookform/resolvers": "^3.8.0",
"@next/bundle-analyzer": "^14.2.5",
"@radix-ui/react-accordion": "^1.2.0",
"@radix-ui/react-avatar": "^1.1.2",
"@radix-ui/react-checkbox": "^1.1.1",
"@radix-ui/react-compose-refs": "^1.1.0",
"@radix-ui/react-dialog": "^1.1.1",
Expand Down
4 changes: 2 additions & 2 deletions public/content/about/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ This means the website needs to handle many different user journeys, from “a d

## Product roadmap {#roadmap}

To make our work more accessible and to foster more community collaboration, the ethereum.org core team publishes an overview of our quarterly roadmap goals.
To make our work more accessible and to foster more community collaboration, the ethereum.org core team publishes an overview of our [shape up cycle](https://www.productplan.com/glossary/shape-up-method/) roadmap goals.

[View our 2024 Q3 product roadmap](https://github.com/ethereum/ethereum-org-website/issues/13399)
[View our 2025 Cycle 1 product roadmap](https://github.com/ethereum/ethereum-org-website/issues/14726)

**How's that sound?** We always appreciate feedback on our roadmap - if there's something you think we should work on, please let us know! We welcome ideas and PRs from anyone in the community.

Expand Down
10 changes: 6 additions & 4 deletions public/content/bridges/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Let’s say you have ETH on Ethereum Mainnet but want cheaper transaction fees t

### Dapps on other blockchains {#dapps-other-chains}

If you’ve been using Aave on Ethereum Mainnet to lend USDT but the interest rate for lending USDT using Aave on Polygon is higher.
If you’ve been using Aave on Ethereum Mainnet to supply USDT but the interest rate you may receive for supplying USDT using Aave on Polygon is higher.

### Explore blockchain ecosystems {#explore-ecosystems}

Expand Down Expand Up @@ -131,7 +131,9 @@ Bridges are crucial to onboarding users onto Ethereum L2s, and even for users wh
<Divider />

## Further reading {#further-reading}
- [EIP-5164: Cross-Chain Execution](https://ethereum-magicians.org/t/eip-5164-cross-chain-execution/9658) - _June 18, 2022 - Brendan Asselstine_
- [L2Bridge Risk Framework](https://gov.l2beat.com/t/l2bridge-risk-framework/31) - _July 5, 2022 - Bartek Kiepuszewski_
- ["Why the future will be multi-chain, but it will not be cross-chain."](https://old.reddit.com/r/ethereum/comments/rwojtk/ama_we_are_the_efs_research_team_pt_7_07_january/hrngyk8/) - _January 8, 2022 - Vitalik Buterin_
- [Harnessing Shared Security For Secure Cross-Chain Interoperability: Lagrange State Committees And Beyond](https://research.2077.xyz/harnessing-shared-security-for-secure-blockchain-interoperability) - _June 12, 2024 - Emmanuel Awosika_
- [The State Of Rollup Interoperability Solutions](https://research.2077.xyz/the-state-of-rollup-interoperability) - _June 20, 2024 - Alex Hook_

- [EIP-5164: Cross-Chain Execution](https://ethereum-magicians.org/t/eip-5164-cross-chain-execution/9658) _June 18, 2022 - Brendan Asselstine_
- [L2Bridge Risk Framework](https://gov.l2beat.com/t/l2bridge-risk-framework/31) _July 5, 2022 - Bartek Kiepuszewski_
- ["Why the future will be multi-chain, but it will not be cross-chain."](https://old.reddit.com/r/ethereum/comments/rwojtk/ama_we_are_the_efs_research_team_pt_7_07_january/hrngyk8/) _January 8, 2022 - Vitalik Buterin_
8 changes: 4 additions & 4 deletions public/content/community/online/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ If you believe a community should be added or removed based on these guidelines,
<SocialListItem socialIcon="webpage"><Link href="https://gitter.im/ethereum/solidity">Solidity Gitter</Link> - chat for solidity development (Gitter)</SocialListItem>
<SocialListItem socialIcon="webpage"><Link href="https://matrix.to/#/#ethereum_solidity:gitter.im">Solidity Matrix</Link> - chat for solidity development (Matrix)</SocialListItem>
<SocialListItem socialIcon="webpage"><Link href="https://ethereum.stackexchange.com/">Ethereum Stack Exchange</Link> <i>- question and answer forum</i></SocialListItem>
<SocialListItem socialIcon="webpage"><Link href="https://peeranha.io/">Peeranha</Link> <i>- decentralized question and answer forum</i></SocialListItem>
<SocialListItem socialIcon="webpage"><Link href="https://app.peera.ai/">Peera Community Forum</Link> <i>- decentralized question and answer forum</i></SocialListItem>

## YouTube and Twitter {#youtube-and-twitter}
## YouTube and X formerly (Twitter) {#youtube-and-twitter}

<SocialListItem socialIcon="youtube"><Link href="https://www.youtube.com/c/EthereumFoundation">Ethereum Foundation</Link> - Keep up to date with the latest from the Ethereum Foundation</SocialListItem>
<SocialListItem socialIcon="twitter"><Link href="https://twitter.com/ethereum">@ethereum</Link> - Official account of the Ethereum Foundation</SocialListItem>
<SocialListItem socialIcon="twitter"><Link href="https://twitter.com/ethdotorg">@ethdotorg</Link> - The portal to Ethereum, built for our growing global community</SocialListItem>
<SocialListItem socialIcon="twitter"><Link href="https://x.com/ethereum">@ethereum</Link> - Official account of the Ethereum Foundation</SocialListItem>
<SocialListItem socialIcon="twitter"><Link href="https://x.com/ethdotorg">@ethdotorg</Link> - The portal to Ethereum, built for our growing global community</SocialListItem>
<SocialListItem socialIcon="webpage"><Link href="https://hive.one/c/ethereum?page=1">List of influential Ethereum twitter accounts</Link></SocialListItem>

<Divider />
Expand Down
2 changes: 1 addition & 1 deletion public/content/community/research/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ Tools for Ethereum developers are rapidly improving. There is lots of active res

### Oracles {#oracles}

Oracles import off-chain data onto the blockchain in a permissionless and decentralized way. Getting this data on-chain enables dapps to be reactive to real-world phenomena such as price fluctuations in real-world assets, events in off-chain apps, or even changes in the weather.
Oracles import offchain data onto the blockchain in a permissionless and decentralized way. Getting this data onchain enables dapps to be reactive to real-world phenomena such as price fluctuations in real-world assets, events in offchain apps, or even changes in the weather.

#### Background reading {#background-reading-18}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -270,3 +270,15 @@ When citing articles from a specific author or organization, use the article's n
- [A rollup-centric ethereum roadmap by Vitalik Buterin](https://ethereum-magicians.org/t/a-rollup-centric-ethereum-roadmap/4698)
- [ConsenSys on The History of Ethereum Testnets](https://consensys.net/blog/news/the-history-of-ethereum-testnets/) – _ConsenSys_
```

### Onchain and offchain {#onchain-offchain}

Similar to "online" or "offline", the terms "onchain" and "offchain" should be written as one word, without a space or hyphenation.

```md
<--- Good --->
Discussion was held in an offchain forum, and the vote was performed onchain.

<--- Bad--->
Discussion was held in an off-chain forum, and the vote was performed on-chain.
```
6 changes: 3 additions & 3 deletions public/content/contributing/translation-program/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ Read more about the ethereum.org Translation Program [mission and vision](/contr

### Our progress so far {#our-progress}

- [**6,000 +** translators](/contributing/translation-program/contributors/)
- **62** languages live on site
- [**3 million** words translated in 2023](/contributing/translation-program/acknowledgements/)
- [**6,900 +** translators](/contributing/translation-program/contributors/)
- **68** languages live on site
- [**2.89 million** words translated in 2024](/contributing/translation-program/acknowledgements/)

<TranslationChartImage />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Bonus points breakdown:

1) ETHglossary translators
[ETHglossary](https://ethglossaryproject.vercel.app/) is an open-source glossary of key Ethereum terms, and an initiative to create and maintain a glossary of Ethereum terms and their translations in 60+ languages that anyone can use and contribute to.
Translatathon participants can suggest translations for these terms and vote or discuss existing translations to earn bonus points in the Translathon.
Translatathon participants can suggest translations for these terms and vote or discuss existing translations to earn bonus points in the Translatathon.
Each 10 translated terms will earn you 100 bonus points, with a bonus for completing all 70 terms currently available in the glossary app. The bonus points will be automatically added to your final score once the Translatathon ends and the final scores are calculated.

Participants can earn a maximum of 1,000 bonus points by translating all of the terms in their native language, but translating multiple languages will not result in any additional points!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ For more details, [see the full Terms & conditions](/contributing/translation-pr
## Stay up to date

<TranslationHubCallout>
<h3 style={{margin:0}}>Translataton hubs</h3>
<h3 style={{margin:0}}>Translatathon hubs</h3>

This year we bring IRL community hugs to join local communities and help translate. These hubs are located all over the world, find out if there is one close to you and join the community!
This year we bring IRL community hubs to join local communities and help translate. These hubs are located all over the world, find out if there is one close to you and join the community!
</TranslationHubCallout>

<TranslatathonCalendar />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ Participants agree that the Ethereum Foundation, its affiliates, and all of thei

## Governing Law

Any dispute or claim arising out of or relating to the Translatathon (in each case, including non-contractual disputes or claims), shall be governed by and construed in accordance with the laws of Switzerland without giving effect to any choice or conflict of law provision or rule (whether of Switzerland or any other jurisdiction).
Any dispute or claim arising out of or relating to the Translatathon (in each case, including non-contractual disputes or claims), shall be governed by and construed in accordance with the laws of Switzerland without giving effect to any choice or conflict of law provision or rule (whether of Switzerland or any other jurisdiction).
4 changes: 2 additions & 2 deletions public/content/dao/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ A DAO is a collectively-owned organization working towards a shared mission.

DAOs allow us to work with like-minded folks around the globe without trusting a benevolent leader to manage the funds or operations. There is no CEO who can spend funds on a whim or CFO who can manipulate the books. Instead, blockchain-based rules baked into the code define how the organization works and how funds are spent.

They have built-in treasuries that no one has the authority to access without the approval of the group. Decisions are governed by proposals and voting to ensure everyone in the organization has a voice, and everything happens transparently [on-chain](/glossary/#on-chain).
They have built-in treasuries that no one has the authority to access without the approval of the group. Decisions are governed by proposals and voting to ensure everyone in the organization has a voice, and everything happens transparently [onchain](/glossary/#onchain).

## Why do we need DAOs? {#why-dao}

Expand Down Expand Up @@ -120,7 +120,7 @@ _Typically used for more closer-knit, human-centric organizations like charities

### Reputation-based membership {#reputation-based-membership}

Reputation represents proof of participation and grants voting power in the DAO. Unlike token or share-based membership, reputation-based DAOs don't transfer ownership to contributors. Reputation cannot be bought, transferred or delegated; DAO members must earn reputation through participation. On-chain voting is permissionless and prospective members can freely submit proposals to join the DAO and request to receive reputation and tokens as a reward in exchange for their contributions.
Reputation represents proof of participation and grants voting power in the DAO. Unlike token or share-based membership, reputation-based DAOs don't transfer ownership to contributors. Reputation cannot be bought, transferred or delegated; DAO members must earn reputation through participation. Onchain voting is permissionless and prospective members can freely submit proposals to join the DAO and request to receive reputation and tokens as a reward in exchange for their contributions.

_Typically used for decentralized development and governance of protocols and [dapps](/glossary/#dapp), but also well suited to a diverse set of organizations like charities, worker collectives, investment clubs, etc._

Expand Down
Loading

0 comments on commit a19676a

Please sign in to comment.