Skip to content

Commit

Permalink
Merge branch 'dev' into update-meetup-urls
Browse files Browse the repository at this point in the history
  • Loading branch information
wackerow authored Jan 21, 2025
2 parents 570becc + cb413ed commit 08916fc
Show file tree
Hide file tree
Showing 886 changed files with 48,204 additions and 10,095 deletions.
27 changes: 27 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -12643,6 +12643,33 @@
"contributions": [
"doc"
]
},
{
"login": "YakshitAgarwal",
"name": "Yakshit Agarwal",
"avatar_url": "https://avatars.githubusercontent.com/u/153830716?v=4",
"profile": "https://github.com/YakshitAgarwal",
"contributions": [
"content"
]
},
{
"login": "mseidlx",
"name": "Matthias Seidl",
"avatar_url": "https://avatars.githubusercontent.com/u/32496674?v=4",
"profile": "https://growthepie.xyz",
"contributions": [
"code"
]
},
{
"login": "JoeChenJ",
"name": "JoeChenJ",
"avatar_url": "https://avatars.githubusercontent.com/u/171761102?v=4",
"profile": "https://github.com/JoeChenJ",
"contributions": [
"content"
]
}
],
"contributorsPerLine": 7,
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/generate-review-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}

- name: Upload output as artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: output
path: ./src/data/crowdin/bucketsAwaitingReviewReport.csv
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1934,6 +1934,11 @@ 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/ddannehh"><img src="https://avatars.githubusercontent.com/u/109203827?v=4?s=100" width="100px;" alt="ddannehh"/><br /><sub><b>ddannehh</b></sub></a><br /><a href="#design-ddannehh" title="Design">🎨</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/jkylling"><img src="https://avatars.githubusercontent.com/u/6781076?v=4?s=100" width="100px;" alt="Jonas Irgens Kylling"/><br /><sub><b>Jonas Irgens Kylling</b></sub></a><br /><a href="#content-jkylling" title="Content">🖋</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/CremaFR"><img src="https://avatars.githubusercontent.com/u/5360522?v=4?s=100" width="100px;" alt="Thomas Brillard"/><br /><sub><b>Thomas Brillard</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=CremaFR" title="Documentation">📖</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/YakshitAgarwal"><img src="https://avatars.githubusercontent.com/u/153830716?v=4?s=100" width="100px;" alt="Yakshit Agarwal"/><br /><sub><b>Yakshit Agarwal</b></sub></a><br /><a href="#content-YakshitAgarwal" title="Content">🖋</a></td>
</tr>
<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>
</tr>
</tbody>
</table>
Expand Down
6 changes: 6 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ module.exports = (phase, { defaultConfig }) => {
trailingSlash: true,
images: {
deviceSizes: [640, 750, 828, 1080, 1200, 1504, 1920],
remotePatterns: [
{
protocol: "https",
hostname: "crowdin-static.downloads.crowdin.com",
},
],
},
}

Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ethereum-org-website",
"version": "9.2.1",
"version": "9.4.1",
"license": "MIT",
"private": true,
"scripts": {
Expand Down Expand Up @@ -45,6 +45,7 @@
"@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-scroll-area": "^1.2.2",
"@radix-ui/react-select": "^2.1.1",
"@radix-ui/react-slot": "^1.1.0",
"@radix-ui/react-switch": "^1.1.0",
Expand All @@ -66,7 +67,7 @@
"lodash.merge": "^4.6.2",
"lodash.shuffle": "^4.2.0",
"lodash.union": "^4.6.0",
"next": "^14.2.10",
"next": "^14.2.21",
"next-i18next": "^14.0.3",
"next-mdx-remote": "^3.0.8",
"next-sitemap": "^4.2.3",
Expand All @@ -83,6 +84,7 @@
"react-lite-youtube-embed": "^2.4.0",
"react-select": "5.8.0",
"reading-time": "^1.5.0",
"recharts": "^2.13.3",
"remark-gfm": "^3.0.1",
"swiper": "^11.1.10",
"tailwind-merge": "^2.3.0",
Expand Down
2 changes: 2 additions & 0 deletions public/_redirects
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@

/nfts/ /en/nft/ 301!

/payments/ /en/payments/ 301!

/daos/ /en/dao/ 301!

/layer2/ /en/layer-2/ 301!
Expand Down
8 changes: 4 additions & 4 deletions public/content/community/research/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ There are now several Layer 2 protocols that scale Ethereum using different tech
#### Recent research {#recent-research-2}

- [Arbitrum's fair-ordering for sequencers](https://eprint.iacr.org/2021/1465)
- [ethresear.ch Layer 2](https://ethresear.ch/c/layer-2/32)
- [Ethresear.ch Layer 2](https://ethresear.ch/c/layer-2/32)
- [Rollup-centric roadmap](https://ethereum-magicians.org/t/a-rollup-centric-ethereum-roadmap/4698)
- [L2Beat](https://l2beat.com/)

Expand Down Expand Up @@ -189,7 +189,7 @@ Ethereum wallets can be browser extensions, desktop and mobile apps or smart con

- [Introduction to wallets](/wallets/)
- [Introduction to wallet security](/security/)
- [ethresear.ch Security](https://ethresear.ch/tag/security)
- [Ethresear.ch Security](https://ethresear.ch/tag/security)
- [EIP-2938 Account Abstraction](https://eips.ethereum.org/EIPS/eip-2938)
- [EIP-4337 Account Abstraction](https://eips.ethereum.org/EIPS/eip-4337)

Expand Down Expand Up @@ -364,7 +364,7 @@ Oracles import off-chain data onto the blockchain in a permissionless and decent

- [Introduction to Oracles](/developers/docs/oracles/)

#### Recent Research {#recent-research-18}
#### Recent research {#recent-research-18}

- [Survey of blockchain oracles](https://arxiv.org/pdf/2004.07140.pdf)
- [Chainlink white paper](https://chain.link/whitepaper)
Expand All @@ -381,7 +381,7 @@ Hacks on Ethereum generally exploit vulnerabilities in individual applications r

#### Recent research {#recent-research-19}

- [ethresear.ch Applications](https://ethresear.ch/c/applications/18)
- [Ethresear.ch Applications](https://ethresear.ch/c/applications/18)

### Technology stack {#technology-stack}

Expand Down
6 changes: 3 additions & 3 deletions public/content/contributing/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ We are a welcoming community that will help you grow and educate in the Ethereum
- [Work on an open issue](https://github.com/ethereum/ethereum-org-website/issues) – Work we've identified that needs doing

**Design**
- [Help design the website](/contributing/design/) Designers of all levels can contribute to improve the website
- [Help design the website](/contributing/design/) Designers of all levels can contribute to improve the website

**Content**
- [Create/edit content](/contributing/#how-to-update-content) – Suggest new pages or make tweaks to what's here already
Expand Down Expand Up @@ -90,11 +90,11 @@ We have low barrier to entry issues on our GitHub repository specifically design

If your contribution gets merged into ethereum.org, you will have a chance to claim a special badge on [Galxe](https://app.galxe.com/quest/ethereumorg). An Onchain Achievement Token (OAT) is a proof that you helped make the ecosystem a little more awesome.

[More on OATs](https://help.galxe.com/en/articles/7067290-galxe-oats-reward-and-celebrate-achievements)
[More on OATs](https://help.galxe.com/en/articles/9645630-create-quest-rewards#h_1c5d63ba03)

### How to claim
1. Join our [Discord server](https://discord.gg/ethereum-org).
2. Paste a link to your contribution in the `#🥇 | proof-of-contribution` channel
2. Paste a link to your contribution in the `#🥇 | proof-of-contribution` channel.
3. Wait for a member of our team to send you a link to your OAT.
4. Claim your OAT!

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ This site uses **sentence casing** for header names as a convention. Only the fi

### Setting Up Your Wallet

### Getting Enough Ether
### Getting Enough ether
```

### Article authors {#authors}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ Below is a breakdown of the website pages each content bucket contains.
- [Account abstraction](/roadmap/account-abstraction/)
- [Verkle trees](/roadmap/verkle-trees/)
- [Statelessness, state expiry and history expiry](/roadmap/statelessness/)
- [How The Merge impacted ETH supply](/roadmap/merge/issuance/)

## 10) Community pages {#community-pages}

Expand Down
3 changes: 2 additions & 1 deletion public/content/dao/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Decentralized autonomous organizations (DAOs)
title: What is a DAO?
metaTitle: What is a DAO? | Decentralized Autonomous Organization
description: An overview of DAOs on Ethereum
lang: en
template: use-cases
Expand Down
7 changes: 4 additions & 3 deletions public/content/defi/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Decentralized finance (DeFi)
metaTitle: What is DeFi? | Benefits and Use of Decentralised Finance
description: An overview of DeFi on Ethereum
lang: en
template: use-cases
Expand Down Expand Up @@ -168,7 +169,7 @@ If exchange B's supply dropped suddenly and the user wasn't able to buy enough t

To be able to do the above example in the traditional finance world, you'd need an enormous amount of money. These money-making strategies are only accessible to those with existing wealth. Flash loans are an example of a future where having money is not necessarily a prerequisite for making money.

<ButtonLink isSecondary href="https://aave.com/flash-loans/">
<ButtonLink isSecondary href="https://aave.com/docs/concepts/flash-loans">
More on flash loans
</ButtonLink>

Expand Down Expand Up @@ -324,7 +325,7 @@ You can think of DeFi in layers:
3. The protocols – [smart contracts](/glossary/#smart-contract) that provide the functionality, for example, a service that allows for decentralized lending of assets.
4. [The applications](/dapps/) – the products we use to manage and access the protocols.

Note: much of DeFi uses the [ERC-20 standard](/glossary/#erc-20). Applications in DeFi use a wrapper for ETH called Wrapped Ether (WETH). [Learn more about wrapped ether](/wrapped-eth).
Note: much of DeFi uses the [ERC-20 standard](/glossary/#erc-20). Applications in DeFi use a wrapper for ETH called Wrapped ether (WETH). [Learn more about wrapped ether](/wrapped-eth).

## Build DeFi {#build-defi}

Expand Down Expand Up @@ -358,4 +359,4 @@ DeFi is an open-source movement. The DeFi protocols and applications are all ope

<Divider />

<QuizWidget quizKey="defi" />
<QuizWidget quizKey="defi" />
2 changes: 1 addition & 1 deletion public/content/developers/docs/apis/json-rpc/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -992,7 +992,7 @@ curl -X POST --data '{"jsonrpc":"2.0","method":"eth_sendRawTransaction","params"

### eth_call {#eth_call}

Executes a new message call immediately without creating a transaction on the block chain. Often used for executing read-only smart contract functions, for example the `balanceOf` for an ERC-20 contract.
Executes a new message call immediately without creating a transaction on the blockchain. Often used for executing read-only smart contract functions, for example the `balanceOf` for an ERC-20 contract.

**Parameters**

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Block explorers have become a common place for people to track the progress of t
- Gas limit - The maximum numbers of gas units this transaction can consume
- Gas used - The actual amount of gas units the transaction consumed
- Gas price - The price set per gas unit
- Nonce - The transaction number for the `from` address (bear in mind this starts at 0 so a nonce of `100` would actually be the 101st transaction submitted by this account
- Nonce - The transaction number for the `from` address (bear in mind this starts at 0 so a nonce of `100` would actually be the 101st transaction submitted by this account)
- Input data - Any extra information required by the transaction

### Accounts {#accounts}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Calldata refers to the bytes sent as part of the transaction. It is stored as pa

This is the cheapest method to permanently put data in the blockchain. The cost per byte is either 4 execution gas (if the byte is zero) or 16 gas (any other value). If the data is compressed, which is standard practice, then every byte value is equally likely, so the average cost is approximately 15.95 gas per byte.

At writing the prices are 12 gwei/gas and 2300 $/ETH, which means the cost is appoximately 45 cents per kilobyte. Because this was the cheapest method prior to EIP-4844, this is the method rollups used to store transaction information, which need to be available for [fault challenges](https://docs.optimism.io/stack/protocol/overview#fault-proofs), but do not need to be accessible directly onchain.
At writing the prices are 12 gwei/gas and 2300 $/ETH, which means the cost is approximately 45 cents per kilobyte. Because this was the cheapest method prior to EIP-4844, this is the method rollups used to store transaction information, which need to be available for [fault challenges](https://docs.optimism.io/stack/protocol/overview#fault-proofs), but do not need to be accessible directly onchain.

Here are the addresses to see the transactions posted by some famous rollups.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,33 +34,33 @@ There is a difference between looking something up in the 'trie' and the underly
The update and delete operations for radix tries can be defined as follows:

```
def update(node,path,value):
curnode = db.get(node) if node else [ NULL ] * 17
def update(node_hash, path, value):
curnode = db.get(node_hash) if node_hash else [ NULL ] * 17
newnode = curnode.copy()
if path == '':
newnode[-1] = value
else:
newindex = update(curnode[path[0]],path[1:],value)
newindex = update(curnode[path[0]], path[1:], value)
newnode[path[0]] = newindex
db.put(hash(newnode),newnode)
db.put(hash(newnode), newnode)
return hash(newnode)

def delete(node,path):
if node is NULL:
def delete(node_hash, path):
if node_hash is NULL:
return NULL
else:
curnode = db.get(node)
curnode = db.get(node_hash)
newnode = curnode.copy()
if path == '':
newnode[-1] = NULL
else:
newindex = delete(curnode[path[0]],path[1:])
newindex = delete(curnode[path[0]], path[1:])
newnode[path[0]] = newindex

if all(x is NULL for x in newnode):
return NULL
else:
db.put(hash(newnode),newnode)
db.put(hash(newnode), newnode)
return hash(newnode)
```

Expand Down Expand Up @@ -137,10 +137,10 @@ Examples:
Here is the extended code for getting a node in the Merkle Patricia trie:

```
def get_helper(node,path):
if path == []: return node
if node = '': return ''
curnode = rlp.decode(node if len(node) < 32 else db.get(node))
def get_helper(node_hash,path):
if path == []: return node_hash
if node_hash == '': return ''
curnode = rlp.decode(node_hash if len(node_hash) < 32 else db.get(node_hash))
if len(curnode) == 2:
(k2, v2) = curnode
k2 = compact_decode(k2)
Expand All @@ -151,13 +151,13 @@ Here is the extended code for getting a node in the Merkle Patricia trie:
elif len(curnode) == 17:
return get_helper(curnode[path[0]],path[1:])

def get(node,path):
def get(node_hash,path):
path2 = []
for i in range(len(path)):
path2.push(int(ord(path[i]) / 16))
path2.push(ord(path[i]) % 16)
path2.push(16)
return get_helper(node,path2)
return get_helper(node_hash,path2)
```

### Example Trie {#example-trie}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ People care deeply about their data. Safety is often a primary concern for users
**Example:**
Include your audits in the footer, at a prominent size.

![Audits refernced in the website footer](./Image2.png)
![Audits referenced in the website footer](./Image2.png)

### 3. The most important info is obvious {#the-most-important-info-is-obvious}

Expand Down
2 changes: 1 addition & 1 deletion public/content/developers/docs/evm/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Some basic familiarity with common terminology in computer science such as [byte

The analogy of a 'distributed ledger' is often used to describe blockchains like Bitcoin, which enable a decentralized currency using fundamental tools of cryptography. The ledger maintains a record of activity which must adhere to a set of rules that govern what someone can and cannot do to modify the ledger. For example, a Bitcoin address cannot spend more Bitcoin than it has previously received. These rules underpin all transactions on Bitcoin and many other blockchains.

While Ethereum has its own native cryptocurrency (Ether) that follows almost exactly the same intuitive rules, it also enables a much more powerful function: [smart contracts](/developers/docs/smart-contracts/). For this more complex feature, a more sophisticated analogy is required. Instead of a distributed ledger, Ethereum is a distributed [state machine](https://wikipedia.org/wiki/Finite-state_machine). Ethereum's state is a large data structure which holds not only all accounts and balances, but a _machine state_, which can change from block to block according to a pre-defined set of rules, and which can execute arbitrary machine code. The specific rules of changing state from block to block are defined by the EVM.
While Ethereum has its own native cryptocurrency (ether) that follows almost exactly the same intuitive rules, it also enables a much more powerful function: [smart contracts](/developers/docs/smart-contracts/). For this more complex feature, a more sophisticated analogy is required. Instead of a distributed ledger, Ethereum is a distributed [state machine](https://wikipedia.org/wiki/Finite-state_machine). Ethereum's state is a large data structure which holds not only all accounts and balances, but a _machine state_, which can change from block to block according to a pre-defined set of rules, and which can execute arbitrary machine code. The specific rules of changing state from block to block are defined by the EVM.

![A diagram showing the make up of the EVM](./evm.png)
_Diagram adapted from [Ethereum EVM illustrated](https://takenobu-hs.github.io/downloads/ethereum_evm_illustrated.pdf)_
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
@@ -1,5 +1,6 @@
---
title: Gas and fees
metaTitle: "Ethereum gas and fees: technical overview"
description:
lang: en
---
Expand Down
2 changes: 1 addition & 1 deletion public/content/developers/docs/intro-to-ether/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Users can query the ether balance of any [account](/developers/docs/accounts/) b

## Further reading {#further-reading}

- [Defining Ether and Ethereum](https://www.cmegroup.com/education/courses/introduction-to-ether/defining-ether-and-ethereum.html) – _CME Group_
- [Defining ether and Ethereum](https://www.cmegroup.com/education/courses/introduction-to-ether/defining-ether-and-ethereum.html) – _CME Group_
- [Ethereum Whitepaper](/whitepaper/): The original proposal for Ethereum. This document includes a description of ether and the motivations behind its creation.
- [Gwei Calculator](https://www.alchemy.com/gwei-calculator): Use this gwei calculator to easily convert wei, gwei, and ether. Simply plug in any amount of wei, gwei, or ETH and automatically calculate the conversion.

Expand Down
Loading

0 comments on commit 08916fc

Please sign in to comment.