Skip to content

Commit 99b5e1d

Browse files
authored
Merge branch 'dev' into hungarianImport
2 parents f9e3529 + caf472b commit 99b5e1d

File tree

97 files changed

+1553
-2277
lines changed

Some content is hidden

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

97 files changed

+1553
-2277
lines changed

next-i18next.config.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,12 @@ const locales = BUILD_LOCALES
99
/** @type {import('next-i18next').UserConfig} */
1010
module.exports = {
1111
i18n: {
12-
defaultLocale: "en",
12+
// "default" locale is a hack to always display the locale prefix in the
13+
// url. Ref: https://nextjs.org/docs/pages/building-your-application/routing/internationalization#prefixing-the-default-locale
14+
defaultLocale: "default",
1315
// supported locales defined in `i18n.config.json`
14-
locales,
16+
locales: ["default", ...locales],
17+
localeDetection: false,
1518
},
1619
// define custom location for intl files, otherwise default to public/locales (https://github.com/i18next/next-i18next#2-translation-content)
1720
localePath: "./src/intl",

next.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ module.exports = (phase, { defaultConfig }) => {
3434
return config
3535
},
3636
i18n,
37+
trailingSlash: true,
3738
images: {
3839
deviceSizes: [640, 750, 828, 1080, 1200, 1504, 1920],
3940
},

public/_redirects

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/en/ / 301!
2-
31
/discord https://discord.gg/ethereum-org 301!
42

53
/*/discord https://discord.gg/ethereum-org 301!
@@ -175,5 +173,3 @@
175173
/*/staking/withdraws /:splat/staking/withdrawals/ 301!
176174

177175
/*/guides/how-to-register-an-ethereum-account /:splat/guides/how-to-create-an-ethereum-account/ 301!
178-
179-
/en/stablecoins /stablecoins 301!

public/content/developers/docs/development-networks/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ There are also two maintained public test implementations of Ethereum: Goerli an
6666

6767
Kurtosis is a build system for multi-container test environments which enables developers to locally spin up reproducible instances of blockchain networks.
6868

69-
The Ethereum Kurtosis package can be used to quickly instantiate a parameterizable, highly scaleable, and private Ethereum testnet over Docker or Kubernetes. The package supports all major Execution Layer (EL) and Consensus Layer (CL) clients. Kurtosis gracefully handles all local port mappings and service connections for a representative network to be used in validation and testing workflows relating to Ethereum core infrastructure.
69+
The Ethereum Kurtosis package can be used to quickly instantiate a parameterizable, highly scalable, and private Ethereum testnet over Docker or Kubernetes. The package supports all major Execution Layer (EL) and Consensus Layer (CL) clients. Kurtosis gracefully handles all local port mappings and service connections for a representative network to be used in validation and testing workflows relating to Ethereum core infrastructure.
7070

7171
- [Ethereum network package](https://github.com/kurtosis-tech/ethereum-package)
7272
- [Website](https://www.kurtosis.com/)

public/content/developers/tutorials/erc20-with-safety-rails/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ If you want to see the complete source code:
2323

2424
## Creating an ERC-20 contract {#creating-an-erc-20-contract}
2525

26-
Before we can add the safety rail functionality we need an ERC-20 contract. In this article we'll use [the OpenZeppelin Contracts Wizard](https://docs.openzeppelin.com/contracts/4.x/wizard). Open it in another browser and follow these instructions:
26+
Before we can add the safety rail functionality we need an ERC-20 contract. In this article we'll use [the OpenZeppelin Contracts Wizard](https://docs.openzeppelin.com/contracts/5.x/wizard). Open it in another browser and follow these instructions:
2727

2828
1. Select **ERC20**.
2929
2. Enter these settings:
@@ -92,7 +92,7 @@ We want to add these requirements to the function:
9292

9393
- The `to` address cannot equal `address(this)`, the address of the ERC-20 contract itself.
9494
- The `to` address cannot be empty, it has to be either:
95-
- An externally owned accounts (EOA). We can't check if an address is an EOA directly, but we can check an address's ETH balance. EOAs almost always have a balance, even if they are no longer used - it's difficult to clear them to the last wei.
95+
- An externally owned account (EOA). We can't check if an address is an EOA directly, but we can check an address's ETH balance. EOAs almost always have a balance, even if they are no longer used - it's difficult to clear them to the last wei.
9696
- A smart contract. Testing if an address is a smart contract is a bit harder. There is an opcode that checks the external code length, called [`EXTCODESIZE`](https://www.evm.codes/#3b), but it is not available directly in Solidity. We have to use [Yul](https://docs.soliditylang.org/en/v0.8.15/yul.html), which is EVM assembly, for it. There are other values we could use from Solidity ([`<address>.code` and `<address>.codehash`](https://docs.soliditylang.org/en/v0.8.15/units-and-global-variables.html#members-of-address-types)), but they cost more.
9797

9898
Lets go over the new code line by line:
@@ -209,4 +209,4 @@ This is a cleanup function, so presumably we don't want to leave any tokens. Ins
209209

210210
## Conclusion {#conclusion}
211211

212-
This is not a perfect solution - there is no perfect solution for the "user made a mistake" problem. However, using these kind of checks can at least prevent some mistakes. The ability to freeze accounts, while dangerous, can be used to limit the damage of certain hacks by denying the hacker the stolen funds.
212+
This is not a perfect solution - there is no perfect solution for the "user made a mistake" problem. However, using these kinds of checks can at least prevent some mistakes. The ability to freeze accounts, while dangerous, can be used to limit the damage of certain hacks by denying the hacker the stolen funds.

public/content/translations/fr/community/get-involved/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,4 +135,4 @@ Les « DAO » sont des organisations autonomes décentralisées. Ces groupes t
135135
- [MolochDAO](https://molochdao.com) [@MolochDAO](https://twitter.com/MolochDAO) - _Communauté axée sur le financement du développement d'Ethereum_
136136
- [Guilde Raid](https://raidguild.org) [@RaidGuild](https://twitter.com/RaidGuild) - _Collectif de constructeurs Web3_
137137

138-
À chaque fois et quelle que soit la façon dont vous contribuez à ethereum.org, pensez à respecter le [code de conduite](/community/code-of-conduct) !
138+
À chaque fois et quelle que soit la façon dont vous contribuez à ethereum.org, pensez à respecter le [code de conduite](/community/code-of-conduct)!

public/content/translations/fr/community/online/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ Des centaines de milliers de passionnés d'Ethereum se rassemblent sur ces forum
2727
<SocialListItem socialIcon="discord"><Link to="https://discord.gg/ethstaker">Le serveur Discord d'EthStaker</Link> - orientation par la communauté, éducation, soutien et ressources pour les stakeurs et stakeurs potentiels.</SocialListItem>
2828
<SocialListItem socialIcon="discord"><Link to="https://discord.gg/ethereum-org">Équipe du site web Ethereum.org</Link> - consultez et discutez du développement et du design du site web ethereum.org avec l'équipe et les membres de la communauté</SocialListItem>
2929
<SocialListItem socialIcon="discord"><Link to="https://discord.matos.club/">Discord Matos</Link> - Communauté de créateurs Web3 où les bâtisseurs, les chefs de file industriels et les passionnés d'Ethereum se rencontrent. Nous sommes passionnés par le développement du Web3, sa conception et sa culture. Venez le bâtir avec nous.</SocialListItem>
30-
<SocialListItem socialIcon="webpage"><Link to="https://gitter.im/ethereum/solidity">Solidity Gitter</Link> - forum de discussion pour le développement Solidity (Gitter)</SocialListItem>
30+
<SocialListItem socialIcon="webpage"><Link to="https://gitter.im/ethereum/solidity/">Solidity Gitter</Link> - forum de discussion pour le développement Solidity (Gitter)</SocialListItem>
3131
<SocialListItem socialIcon="webpage"><Link to="https://matrix.to/#/#ethereum_solidity:gitter.im">Solidity Matrix</Link> - forum de discussion pour le développement Solidity (Matrix)</SocialListItem>
32-
<SocialListItem socialIcon="webpage"><Link to="https://ethereum.stackexchange.com/">Ethereum Stack Exchange</Link> _- forum de questions-réponses_</SocialListItem>
33-
<SocialListItem socialIcon="webpage"><Link to="https://peeranha.io/">Peeranha</Link> _- forum de questions-réponses décentralisé_</SocialListItem>
32+
<SocialListItem socialIcon="webpage"><Link to="https://ethereum.stackexchange.com/">Ethereum Stack Exchange</Link> *- forum de questions-réponses*</SocialListItem>
33+
<SocialListItem socialIcon="webpage"><Link to="https://peeranha.io/">Peeranha</Link> *- forum de questions-réponses décentralisé*</SocialListItem>
3434

3535
## YouTube et Twitter {#youtube-and-twitter}
3636

public/content/translations/fr/community/research/index.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ Outre les recherches prospectives, certaines refontes fondamentales du protocole
4040
#### Lectures de référence {#background-reading}
4141

4242
- [Introduction à la preuve d'enjeu](/developers/docs/consensus-mechanisms/pos/)
43-
- [Papier sur Casper-FFG](https://arxiv.org/abs/1710.09437)
43+
- [Article sur Casper-FFG](https://arxiv.org/abs/1710.09437)
4444
- [Casper-FFG expliqué](https://arxiv.org/abs/1710.09437)
45-
- [Papier sur Gasper](https://arxiv.org/abs/2003.03052)
45+
- [Article sur Gasper](https://arxiv.org/abs/2003.03052)
4646

4747
#### Recherche récente {#recent-research}
4848

@@ -124,7 +124,7 @@ Un domaine particulier de la couche 2 qui nécessite davantage de recherche et d
124124
- [Introduction aux ponts blockchain](/bridges/)
125125
- [Vitalik à propos des ponts](https://old.reddit.com/r/ethereum/comments/rwojtk/ama_we_are_the_efs_research_team_pt_7_07_january/hrngyk8/)
126126
- [Article sur les ponts entre blockchain](https://medium.com/1kxnetwork/blockchain-bridges-5db6afac44f8)
127-
- [Valeur en caution dans les ponts](<https://dune.com/eliasimos/Bridge-Away-(from-Ethereum)>)
127+
- [Valeur en caution dans les ponts](https://dune.com/eliasimos/Bridge-Away-(from-Ethereum))
128128

129129
#### Recherche récente {#recent-research-3}
130130

@@ -346,7 +346,6 @@ Les outils destinés aux développeurs Ethereum s'améliorent rapidement. Il y a
346346
- [Frameworks pour développeurs](/developers/docs/frameworks/)
347347
- [Liste d'outils pour développeurs de consensus](https://github.com/ConsenSys/ethereum-developer-tools-list)
348348
- [Normes de jetons](/developers/docs/standards/tokens/)
349-
- [Biastek : Outils Ethereum](https://biastek.com/ethereum-tools/)
350349
- [CryptoDevHub : Outils EVM](https://cryptodevhub.io/wiki/ethereum-virtual-machine-tools)
351350

352351
#### Recherche récente {#recent-research-17}

public/content/translations/fr/community/support/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Vous rencontrez un problème avec votre portefeuille ? La plupart des portefeuil
3030
- [Argent](https://support.argent.xyz/hc/)
3131
- [MyEtherWallet](https://help.myetherwallet.com/)
3232

33-
_Cette liste est non-exhaustive. Vous avez besoin d'aide pour trouver l'assistance pour un portefeuille spécifique ? Rejoignez le [Discord Ethereum.org](https://discord.gg/ethereum-org) et nous essaierons de vous aider._
33+
_Cette liste est non-exhaustive. Vous avez besoin d'aide pour trouver l'assistance pour un portefeuille spécifique ? Rejoignez le [Discord ethereum.org](https://discord.gg/ethereum-org) et nous tenterons de vous aider._
3434

3535
Vous êtes à la recherche d'un portefeuille Ethereum ? [Explorez notre liste complète de portefeuilles Ethereum](/wallets/find-wallet/).
3636

@@ -39,7 +39,7 @@ Vous êtes à la recherche d'un portefeuille Ethereum ? [Explorez notre liste co
3939
Le développement d'une application décentralisée peut être difficile. Voici quelques espaces axés sur leur création, avec des développeurs Ethereum chevronnés qui seront heureux de vous faire part de leur expérience.
4040

4141
- [Alchemy University](https://university.alchemy.com/#starter_code)
42-
- [Discord CryptoDevs](https://discord.gg/Z9TA39m8Yu)
42+
- [Discord CryptoDevs](https://discord.com/invite/5W5tVb3)
4343
- [StackExchange Ethereum](https://ethereum.stackexchange.com/)
4444
- [StackOverflow](https://stackoverflow.com/questions/tagged/web3)
4545
- [Web3 University](https://www.web3.university/)
@@ -53,7 +53,7 @@ Votre question concerne un outil, un projet ou une bibliothèque en particulier
5353

5454
Voici quelques exemples connus :
5555

56-
- [Solidity](https://gitter.im/ethereum/solidity)
56+
- [Solidity](https://gitter.im/ethereum/solidity/)
5757
- [ethers.js](https://discord.gg/6jyGVDK6Jx)
5858
- [web3.js](https://discord.gg/GsABYQu4sC)
5959
- [Hardhat](https://discord.gg/xtrMGhmbfZ)

public/content/translations/fr/contributing/adding-products/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ Les Dapps sont actuellement listés sur:
1717

1818
Bien que nous appréciions les nouveaux ajouts, nous avons choisi les DApps actuelles en fonction d'une expérience que nous essayons de créer pour nos utilisateurs. Ceux-ci sont basés sur certains de nos principes de conception :
1919

20-
- *Inspirant* : tout ce qui est sur ethereum.org devrait offrir quelque chose de nouveau aux utilisateurs
21-
- *Une bonne histoire* : ce qui est répertorié devrait entraîner un moment de révélation (ah, ah !)
20+
- _Inspirant_ : tout ce qui est sur ethereum.org devrait offrir quelque chose de nouveau aux utilisateurs
21+
- _Une bonne histoire_ : ce qui est répertorié devrait entraîner un moment de révélation (ah, ah !)
2222
- _Crédible_ : toutes les entreprises/projets doivent être légitimes pour minimiser les risques pour les utilisateurs
2323

2424
Dans l’ensemble, **ethereum.org souhaite offrir une « expérience d’intégration transparente » aux nouveaux utilisateurs**. C'est pourquoi nous ajoutons des DApps en fonction de leur :

0 commit comments

Comments
 (0)