Skip to content

Commit

Permalink
Merge branch 'dev' into fix-10138
Browse files Browse the repository at this point in the history
  • Loading branch information
Shiva-Sai-ssb authored Oct 10, 2024
2 parents 4a6aa8a + 5f6163a commit 0a72f21
Show file tree
Hide file tree
Showing 308 changed files with 9,236 additions and 7,381 deletions.
76 changes: 75 additions & 1 deletion .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -12261,7 +12261,8 @@
"profile": "https://github.com/Shiva-Sai-ssb",
"contributions": [
"bug",
"maintenance"
"maintenance",
"content"
]
},
{
Expand Down Expand Up @@ -12497,6 +12498,79 @@
"contributions": [
"doc"
]
},
{
"login": "r4f4ss",
"name": "rafaelss",
"avatar_url": "https://avatars.githubusercontent.com/u/5679073?v=4",
"profile": "https://github.com/r4f4ss",
"contributions": [
"content"
]
},
{
"login": "preetjdp",
"name": "Preet Parekh",
"avatar_url": "https://avatars.githubusercontent.com/u/27439197?v=4",
"profile": "https://preetjdp.dev/",
"contributions": [
"content"
]
},
{
"login": "ludamad",
"name": "ludamad",
"avatar_url": "https://avatars.githubusercontent.com/u/163993?v=4",
"profile": "https://www.linkedin.com/in/adamdomurad/",
"contributions": [
"content"
]
},
{
"login": "MaryNfs",
"name": "MaryNfs",
"avatar_url": "https://avatars.githubusercontent.com/u/52598322?v=4",
"profile": "https://github.com/MaryNfs",
"contributions": [
"content",
"bug"
]
},
{
"login": "Signor1",
"name": "Signor Dev",
"avatar_url": "https://avatars.githubusercontent.com/u/94352660?v=4",
"profile": "https://signor.vercel.app/",
"contributions": [
"maintenance"
]
},
{
"login": "KatrixReloaded",
"name": "Kartikeya Sureka",
"avatar_url": "https://avatars.githubusercontent.com/u/68804269?v=4",
"profile": "https://github.com/KatrixReloaded",
"contributions": [
"code"
]
},
{
"login": "Piyush-Tilokani",
"name": "Piyush Tilokani",
"avatar_url": "https://avatars.githubusercontent.com/u/112542519?v=4",
"profile": "https://github.com/Piyush-Tilokani",
"contributions": [
"content"
]
},
{
"login": "jacobourar",
"name": "Jacobo Uribe",
"avatar_url": "https://avatars.githubusercontent.com/u/109108267?v=4",
"profile": "https://github.com/jacobourar",
"contributions": [
"content"
]
}
],
"contributorsPerLine": 7,
Expand Down
13 changes: 12 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,17 @@
"varsIgnorePattern": "^_$"
}
],
"unused-imports/no-unused-imports-ts": "warn"
"unused-imports/no-unused-imports-ts": "warn",
"no-restricted-imports": [
"warn",
{
"paths": [
{
"name": "react-i18next",
"message": "Please use next-i18next instead of react-i18next."
}
]
}
]
}
}
1 change: 1 addition & 0 deletions .storybook/i18next.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import i18n, { Resource } from "i18next"
// eslint-disable-next-line no-restricted-imports
import { initReactI18next } from "react-i18next"

export const baseLocales = {
Expand Down
6 changes: 5 additions & 1 deletion .storybook/modes.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import pickBy from "lodash/pickBy"

import { baseLocales } from "./i18next"
import { breakpointSet } from "./preview"

Expand All @@ -12,7 +14,9 @@ export const viewportModes = breakpointSet.reduce<{
}
}, {})

export const langModes = Object.keys(baseLocales).reduce<{
const localesToTest = ["en", "fa"]
const locales = pickBy(baseLocales, (_, key) => localesToTest.includes(key))
export const langModes = Object.keys(locales).reduce<{
[locale: string]: { locale: string }
}>((arr, curr) => {
return {
Expand Down
1 change: 1 addition & 0 deletions .storybook/utils.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// eslint-disable-next-line no-restricted-imports
import { getI18n } from "react-i18next"

import { ns as exposedNs } from "./i18next"
Expand Down
71 changes: 71 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# Code of conduct

## Mission

To develop and maintain the most comprehensive and accessible knowledge hub for Ethereum.

## Values

The ethereum.org community strives to be:

- educational, intended to help everyone to understand Ethereum
- inclusive
- accessible
- community-driven
- focused on Ethereum’s underlying technology and use-cases
- focused on Ethereum concepts and design principles

## What we are not

- The Ethereum Foundation website
- A platform for promoting investments or profiteering of any kind
- A platform for elevating or endorsing individual projects or organizations
- A DEX, CEX or any other form of financial platform
- A platform that gives financial or legal advice of any kind

## Code of conduct

### Pledge

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.

### Scope

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.

### Our standards

Examples of behavior that contributes to creating a positive environment include:

- Using welcoming and inclusive language
- Being respectful of differing viewpoints and experiences
- Gracefully accepting and/or empathetically providing constructive criticism
- Acting calmly and professionally when resolving conflicts or disagreements
- Showing empathy and tolerance towards other community members
- Encouraging and amplifying new voices in the community

Examples of unacceptable behavior by participants include:

- Physical violence, threatening physical violence or encouraging of physical violence of any kind
- Using sexualized language or imagery or imposing unwelcome sexual attention
- Impersonating another individual or otherwise dishonestly claiming affiliation with some individual or organization
- Trolling, insulting/derogatory comments, and personal or political attacks
- Harassing other community members in public or private channels
- Publishing others’ private information, such as a physical or electronic address, without explicit permission
- Social engineering, scamming or otherwise manipulating other community members
- Promoting investments, tokens, projects or anything else for personal monetary or non-monetary gain
- Spamming servers with off-topic content
- Disregarding requests or warnings from community moderators
- Engaging in other conduct which could reasonably be considered inappropriate in a professional setting

### Reporting

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.

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.

When reporting, please include as much detail as possible, including specific examples and timestamps. This will help to ensure a fair outcome.

### Enforcement

Depending on the severity, people who violate the code of conduct can receive warnings, temporary bans or permanent bans from ethereum.org communities.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1875,7 +1875,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/abonnaudet-ledger"><img src="https://avatars.githubusercontent.com/u/71646516?v=4?s=100" width="100px;" alt="abonnaudet-ledger"/><br /><sub><b>abonnaudet-ledger</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3Aabonnaudet-ledger" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/JacobSharples"><img src="https://avatars.githubusercontent.com/u/45126111?v=4?s=100" width="100px;" alt="Jacob Sharples"/><br /><sub><b>Jacob Sharples</b></sub></a><br /><a href="#content-JacobSharples" title="Content">🖋</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/omahs"><img src="https://avatars.githubusercontent.com/u/73983677?v=4?s=100" width="100px;" alt="omahs"/><br /><sub><b>omahs</b></sub></a><br /><a href="#translation-omahs" title="Translation">🌍</a> <a href="#maintenance-omahs" title="Maintenance">🚧</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Shiva-Sai-ssb"><img src="https://avatars.githubusercontent.com/u/112751524?v=4?s=100" width="100px;" alt="Shiva Sai"/><br /><sub><b>Shiva Sai</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3AShiva-Sai-ssb" title="Bug reports">🐛</a> <a href="#maintenance-Shiva-Sai-ssb" title="Maintenance">🚧</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Shiva-Sai-ssb"><img src="https://avatars.githubusercontent.com/u/112751524?v=4?s=100" width="100px;" alt="Shiva Sai"/><br /><sub><b>Shiva Sai</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3AShiva-Sai-ssb" title="Bug reports">🐛</a> <a href="#maintenance-Shiva-Sai-ssb" title="Maintenance">🚧</a> <a href="#content-Shiva-Sai-ssb" title="Content">🖋</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://bsaurabh.xyz/"><img src="https://avatars.githubusercontent.com/u/39492927?v=4?s=100" width="100px;" alt="Saurabh Burade"/><br /><sub><b>Saurabh Burade</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=saurabhburade" title="Code">💻</a></td>
</tr>
<tr>
Expand Down Expand Up @@ -1910,6 +1910,16 @@ 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/cratiu222"><img src="https://avatars.githubusercontent.com/u/156356273?v=4?s=100" width="100px;" alt="Christina"/><br /><sub><b>Christina</b></sub></a><br /><a href="#content-cratiu222" title="Content">🖋</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/nipunh"><img src="https://avatars.githubusercontent.com/u/26524611?v=4?s=100" width="100px;" alt="Nipun Hedaoo"/><br /><sub><b>Nipun Hedaoo</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=nipunh" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/chenjiali-april"><img src="https://avatars.githubusercontent.com/u/132745538?v=4?s=100" width="100px;" alt="april"/><br /><sub><b>april</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=chenjiali-april" title="Documentation">📖</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/r4f4ss"><img src="https://avatars.githubusercontent.com/u/5679073?v=4?s=100" width="100px;" alt="rafaelss"/><br /><sub><b>rafaelss</b></sub></a><br /><a href="#content-r4f4ss" title="Content">🖋</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://preetjdp.dev/"><img src="https://avatars.githubusercontent.com/u/27439197?v=4?s=100" width="100px;" alt="Preet Parekh"/><br /><sub><b>Preet Parekh</b></sub></a><br /><a href="#content-preetjdp" title="Content">🖋</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://www.linkedin.com/in/adamdomurad/"><img src="https://avatars.githubusercontent.com/u/163993?v=4?s=100" width="100px;" alt="ludamad"/><br /><sub><b>ludamad</b></sub></a><br /><a href="#content-ludamad" title="Content">🖋</a></td>
</tr>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/MaryNfs"><img src="https://avatars.githubusercontent.com/u/52598322?v=4?s=100" width="100px;" alt="MaryNfs"/><br /><sub><b>MaryNfs</b></sub></a><br /><a href="#content-MaryNfs" title="Content">🖋</a> <a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3AMaryNfs" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://signor.vercel.app/"><img src="https://avatars.githubusercontent.com/u/94352660?v=4?s=100" width="100px;" alt="Signor Dev"/><br /><sub><b>Signor Dev</b></sub></a><br /><a href="#maintenance-Signor1" title="Maintenance">🚧</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/KatrixReloaded"><img src="https://avatars.githubusercontent.com/u/68804269?v=4?s=100" width="100px;" alt="Kartikeya Sureka"/><br /><sub><b>Kartikeya Sureka</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=KatrixReloaded" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Piyush-Tilokani"><img src="https://avatars.githubusercontent.com/u/112542519?v=4?s=100" width="100px;" alt="Piyush Tilokani"/><br /><sub><b>Piyush Tilokani</b></sub></a><br /><a href="#content-Piyush-Tilokani" title="Content">🖋</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/jacobourar"><img src="https://avatars.githubusercontent.com/u/109108267?v=4?s=100" width="100px;" alt="Jacobo Uribe"/><br /><sub><b>Jacobo Uribe</b></sub></a><br /><a href="#content-jacobourar" title="Content">🖋</a></td>
</tr>
</tbody>
</table>
Expand Down
4 changes: 3 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.0.0",
"version": "9.0.1",
"license": "MIT",
"private": true,
"scripts": {
Expand Down Expand Up @@ -39,13 +39,15 @@
"@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-dropdown-menu": "^2.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-tabs": "^1.1.0",
"@radix-ui/react-tooltip": "^1.1.2",
"@radix-ui/react-visually-hidden": "^1.1.0",
"@socialgouv/matomo-next": "^1.8.0",
Expand Down
2 changes: 2 additions & 0 deletions public/_redirects
Original file line number Diff line number Diff line change
Expand Up @@ -173,3 +173,5 @@
/*/guides/how-to-register-an-ethereum-account /:splat/guides/how-to-create-an-ethereum-account/ 301!

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

/*/enterprise/private-ethereum/ /:splat/enterprise/ 301!
25 changes: 25 additions & 0 deletions public/content/community/online/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,31 @@ lang: en

Hundreds of thousands of Ethereum enthusiasts gather in these online forums to share news, talk about recent developments, debate technical issues, and imagine the future.

## Listing Policy {#listing-policy}

To maintain the integrity and value of the listed communities, ethereum.org follows a strict policy for determining eligibility:

### Eligibility Criteria {#eligibility-criteria}

- **Relevance**: The community must be directly related to Ethereum and its ecosystem.
- **Activity Level**: The community should be active, with regular interactions, posts, or discussions. Dormant or inactive communities may be removed.
- **Inclusivity**: The community should foster a welcoming environment that respects diversity and encourages participation from people of all backgrounds.
- **Non-commercial Focus**: Listings are intended for community-driven spaces rather than commercial or promotional platforms.

### Content Guidelines {#content-guidelines}

- **Appropriate Content**: Communities must have their own moderation guidelines, avoiding spam, hate speech, harassment, or any content that promotes illegal activities.
- **Language**: While English is the primary language, communities in other languages are encouraged to submit as long as they maintain an inclusive and respectful atmosphere.
- **Transparency**: Clear information about the community’s purpose, rules, and moderators should be available to members.

### Other Recommendations {#other-recommendations}

- **Accessibility**: Community forums should be accessible for everyone to read without requiring a sign-up or registration.
- **Discord Server Invites**: It is recommended that only reliable Discord server invites be added to ethereum.org. Ideally, these invites should link to a community page on the website (e.g., [ethglobal.com/discord](https://ethglobal.com/discord)) or be from an official URL (e.g., [discord.gg/ethstaker](https://discord.gg/ethstaker) or [discord.com/invite/ethstaker](https://discord.com/invite/ethstaker)).

If you believe a community should be added or removed based on these guidelines, please [open an issue on our GitHub repository](https://github.com/ethereum/ethereum-org-website/issues).


## Forums {#forums}

<SocialListItem socialIcon="reddit"><Link href="https://www.reddit.com/r/ethereum">r/ethereum</Link> - all things Ethereum</SocialListItem>
Expand Down
6 changes: 4 additions & 2 deletions public/content/developers/docs/apis/json-rpc/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,8 @@ curl -X POST --data '{"jsonrpc":"2.0","method":"eth_syncing","params":[],"id":1}

Returns the client coinbase address.

> **Note:** This method has been deprecated as of **v1.14.0** and is no longer supported. Attempting to use this method will result in a "Method not supported" error.
**Parameters**

None
Expand Down Expand Up @@ -1671,10 +1673,10 @@ geth --http --dev console 2>>geth.log
This will start the HTTP RPC interface on `http://localhost:8545`.

We can verify that the interface is running by retrieving the Coinbase address and balance using [curl](https://curl.se). Please note that data in these examples will differ on your local node. If you want to try these commands, replace the request params in the second curl request with the result returned from the first.
We can verify that the interface is running by retrieving the coinbase address (by obtaining the first address from the array of accounts) and balance using [curl](https://curl.se). Please note that data in these examples will differ on your local node. If you want to try these commands, replace the request params in the second curl request with the result returned from the first.

```bash
curl --data '{"jsonrpc":"2.0","method":"eth_coinbase", "id":1}' -H "Content-Type: application/json" localhost:8545
curl --data '{"jsonrpc":"2.0","method":"eth_accounts","params":[]", "id":1}' -H "Content-Type: application/json" localhost:8545
{"id":1,"jsonrpc":"2.0","result":["0x9b1d35635cc34752ca54713bb99d38614f63c955"]}
curl --data '{"jsonrpc":"2.0","method":"eth_getBalance", "params": ["0x9b1d35635cc34752ca54713bb99d38614f63c955", "latest"], "id":2}' -H "Content-Type: application/json" localhost:8545
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ You should understand the basic concepts of Ethereum so you can make sense of th
- [EthVM](https://www.ethvm.com/)
- [OKLink](https://www.oklink.com/eth)
- [Rantom](https://rantom.app/)
- [Ethseer](https://ethseer.io)

## Open source tools {#open-source-tools}

Expand Down
6 changes: 0 additions & 6 deletions public/content/developers/docs/ides/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,6 @@ Most established IDEs have built plugins to enhance the Ethereum development exp
- [Code samples](https://github.com/Azure-Samples/blockchain/blob/master/blockchain-workbench/application-and-smart-contract-samples/readme.md)
- [GitHub](https://github.com/microsoft/vscode)

**Atom -** **_A hackable text editor for the 21st Century_**

- [Atom](https://atom.io/)
- [GitHub](https://github.com/atom)
- [Ethereum packages](https://atom.io/packages/search?utf8=%E2%9C%93&q=keyword%3Aethereum&commit=Search)

**JetBrains IDEs (IntelliJ IDEA, etc.) -** **_Essential tools for software developers and teams_**

- [JetBrains](https://www.jetbrains.com/)
Expand Down
Loading

0 comments on commit 0a72f21

Please sign in to comment.