From 5d14c94e94e210a146a9a919b778d3ef76bcf602 Mon Sep 17 00:00:00 2001 From: Rudra Date: Wed, 11 Oct 2023 18:51:44 +0530 Subject: [PATCH 01/51] fix typo: patch 1 --- src/data/community-events.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/community-events.json b/src/data/community-events.json index a63e61a8c6d..1793b971147 100644 --- a/src/data/community-events.json +++ b/src/data/community-events.json @@ -76,7 +76,7 @@ "to": "https://ethglobal.com/events/istanbul", "sponsor": null, "location": "Istanbul, Turkey", - "description": "ETHGlobal Istanbul is going to be an event full of hacking, networking, side events and fun activites.", + "description": "ETHGlobal Istanbul is going to be an event full of hacking, networking, side events and fun activities.", "startDate": "2023-11-17", "endDate": "2023-11-19" }, From 9c77d8098c6d045d9d4e0299d838c5294abfce01 Mon Sep 17 00:00:00 2001 From: Patrick Aljord Date: Thu, 19 Oct 2023 18:29:51 +0200 Subject: [PATCH 02/51] add ETH Abu Dhabi hackathon and conference --- src/data/community-events.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/data/community-events.json b/src/data/community-events.json index b4b3e5bcaec..8ae58a21f95 100644 --- a/src/data/community-events.json +++ b/src/data/community-events.json @@ -1,4 +1,13 @@ [ + { + "title": "ETH Abu Dhabi", + "to": "https://www.ethabudhabi.org/", + "sponsor": null, + "location": "Abu Dhabi, UAE", + "description": "The Ethereum dev conference and hackathon in Abu Dhabi on everything DeFi, privacy, EVM scaling, layers 2, Account Abstraction and more with a focus on decentralization and community projects. We also organize a Demo Pitch Day with VCs.", + "startDate": "2023-11-27", + "endDate": "2024-27-29" + }, { "title": "Road to Devcon(Shenzhen)", "to": "https://ethsz.openbuild.xyz/", From 4bd8fa3e86295e0290e029b4a0077f70ab54474d Mon Sep 17 00:00:00 2001 From: Emmanuel Awosika Date: Sun, 22 Oct 2023 07:29:59 -0400 Subject: [PATCH 03/51] Remove Truffle/Ganache from smart contract testing tools - Removed Truffle/Ganache from the documentation on tools for testing smart contracts as both tools are [being sunset](https://consensys.io/blog/consensys-announces-the-sunset-of-truffle-and-ganache-and-new-hardhat?utm_source=github&utm_medium=referral&utm_campaign=2023_Sep_truffle-sunset-2023_announcement_). - Replaced Ganache with Forge for fork testing - Added a new tutorial for running unit tests in Solidity with Foundry --- .../developers/docs/smart-contracts/testing/index.md | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/content/developers/docs/smart-contracts/testing/index.md b/src/content/developers/docs/smart-contracts/testing/index.md index c171b622418..c0216dd357e 100644 --- a/src/content/developers/docs/smart-contracts/testing/index.md +++ b/src/content/developers/docs/smart-contracts/testing/index.md @@ -138,7 +138,6 @@ The quality of the tools used in running unit tests for your smart contracts is Unit testing frameworks for Solidity smart contracts come in different languages (mostly JavaScript, Python, and Rust). See some of the guides below for information on how to start running unit tests with different testing frameworks: -- **[Running unit tests with Truffle](https://trufflesuite.com/docs/truffle/testing/testing-your-contracts/)** - **[Running unit tests with Brownie](https://eth-brownie.readthedocs.io/en/v1.0.0_a/tests.html)** - **[Running unit tests with Foundry](https://book.getfoundry.sh/forge/writing-tests)** - **[Running unit tests with Waffle](https://ethereum-waffle.readthedocs.io/en/latest/getting-started.html#writing-tests)** @@ -150,7 +149,7 @@ Unit testing frameworks for Solidity smart contracts come in different languages While unit testing debugs contract functions in isolation, integration tests evaluate the components of a smart contract as a whole. Integration testing can detect issues arising from cross-contract calls or interactions between different functions in the same smart contract. For example, integration tests can help check if things like [inheritance](https://docs.soliditylang.org/en/v0.8.12/contracts.html#inheritance) and dependency injection work properly. -Integration testing is useful if your contract adopts a modular architecture or interfaces with other on-chain contracts during execution. One way of running integration tests is to [fork the blockchain](/glossary/#fork) at a specific height (using a tool like [Ganache](https://trufflesuite.com/docs/ganache/) or [Hardhat](https://hardhat.org/hardhat-network/docs/guides/forking-other-networks)) and simulate interactions between your contract and deployed contracts. +Integration testing is useful if your contract adopts a modular architecture or interfaces with other on-chain contracts during execution. One way of running integration tests is to [fork the blockchain](/glossary/#fork) at a specific height (using a tool like [Forge](https://book.getfoundry.sh/forge/fork-testing) or [Hardhat](https://hardhat.org/hardhat-network/docs/guides/forking-other-networks) and simulate interactions between your contract and deployed contracts. The forked blockchain will behave similarly to Mainnet and have accounts with associated states and balances. But it only acts as a sandboxed local development environment, meaning you won't need real ETH for transactions, for example, nor will your changes affect the real Ethereum protocol. @@ -255,8 +254,6 @@ The major difference is that bug bounty programs are open to the wider developer - **[OpenZeppelin Test Helpers](https://github.com/OpenZeppelin/openzeppelin-test-helpers)** - _Assertion library for Ethereum smart contract testing. Make sure your contracts behave as expected!_ -- **[Truffle Tests](https://hardhat.org/hardhat-runner/docs/guides/test-contracts#testing-contracts)** - _Automated testing framework to make testing your contracts a breeze._ - - **[Brownie unit testing framework](https://eth-brownie.readthedocs.io/en/v1.0.0_a/tests.html)** - _Brownie utilizes Pytest, a feature-rich test framework that lets you write small tests with minimal code, scales well for large projects, and is highly extendable._ - **[Foundry Tests](https://github.com/foundry-rs/foundry/tree/master/forge)** - _Foundry offers Forge, a fast and flexible Ethereum testing framework capable of executing simple unit tests, gas optimization checks, and contract fuzzing._ @@ -286,15 +283,13 @@ The major difference is that bug bounty programs are open to the wider developer - **[Diligence Scribble](https://consensys.net/diligence/scribble/)** - _Scribble is a specification language and runtime verification tool that allows you to annotate smart contracts with properties that allow you to automatically test the contracts with tools such as Diligence Fuzzing or MythX._ ## Related tutorials {#related-tutorials} - -- [How to setup Travis or Circle Continuous Integration (CI) for Truffle testing](/developers/tutorials/solidity-and-truffle-continuous-integration-setup/) - [An overview and comparison of different testing products](/developers/tutorials/guide-to-smart-contract-security-tools/) \_ - [How to use Echidna to test smart contracts](/developers/tutorials/how-to-use-echidna-to-test-smart-contracts/) - [How to use Manticore to find smart contract bugs](/developers/tutorials/how-to-use-manticore-to-find-smart-contract-bugs/) - [How to use Slither to find smart contract bugs](/developers/tutorials/how-to-use-slither-to-find-smart-contract-bugs/) - [How to mock Solidity contracts for testing](/developers/tutorials/how-to-mock-solidity-contracts-for-testing/) - [How to migrate from Truffle Tests to OpenZeppelin Test Environment](https://docs.openzeppelin.com/test-environment/0.1/migrating-from-truffle) -- [How to test contracts after they have been deployed on a network](https://fulldecent.blogspot.com/2019/04/testing-deployed-ethereum-contracts.html) +- [How to run unit tests in Solidity using Foundry](https://www.rareskills.io/post/foundry-testing-solidity) ## Further reading {#further-reading} From 87f9661a05895eefb456a9d7588c26c83fe6f0d2 Mon Sep 17 00:00:00 2001 From: Emmanuel Awosika Date: Sun, 22 Oct 2023 07:43:16 -0400 Subject: [PATCH 04/51] Remove Truffle from deployment tools Truffle is [being sunset](https://consensys.io/blog/consensys-announces-the-sunset-of-truffle-and-ganache-and-new-hardhat?utm_source=github&utm_medium=referral&utm_campaign=2023_Sep_truffle-sunset-2023_announcement_) and developers are encouraged to transition to other tools to avoid disruptions to development workflows. --- .../docs/smart-contracts/deploying/index.md | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src/content/developers/docs/smart-contracts/deploying/index.md b/src/content/developers/docs/smart-contracts/deploying/index.md index 75da9733ecb..58b5402c4dd 100644 --- a/src/content/developers/docs/smart-contracts/deploying/index.md +++ b/src/content/developers/docs/smart-contracts/deploying/index.md @@ -20,16 +20,14 @@ Finally, you'll need to compile your contract before deploying it, so make sure ### What you'll need {#what-youll-need} -- your contract's bytecode – this is generated through [compilation](/developers/docs/smart-contracts/compiling/) +- Your contract's bytecode – this is generated through [compilation](/developers/docs/smart-contracts/compiling/) - ETH for gas – you'll set your gas limit like other transactions so be aware that contract deployment needs a lot more gas than a simple ETH transfer - a deployment script or plugin - access to an [Ethereum node](/developers/docs/nodes-and-clients/), either by running your own, connecting to a public node, or via an API key using a [node service](/developers/docs/nodes-and-clients/nodes-as-a-service/) ### Steps to deploy a smart contract {#steps-to-deploy} -The specific steps involved will depend on the tooling you use. For an example, check out the [Hardhat documentation on deploying your contracts](https://hardhat.org/guides/deploying.html) or [Truffle documentation on networks and app deployment](https://www.trufflesuite.com/docs/truffle/advanced/networks-and-app-deployment). These are two of the most popular tools for smart contract deployment, which involve writing a script to handle the deployment steps. - -Once deployed, your contract will have an Ethereum address like other [accounts](/developers/docs/accounts/). +The specific steps involved will depend on the development framework in question. For example, you can check out [Hardhat's documentation on deploying your contracts](https://hardhat.org/guides/deploying.html) or [Foundry's documentation on deploying and verifying a smart contract](https://book.getfoundry.sh/forge/deploying). Once deployed, your contract will have an Ethereum address like other [accounts](/developers/docs/accounts/) and can be verified using [source code verification tools](/developers/docs/smart-contracts/verifying/#source-code-verification-tools). ## Related tools {#related-tools} @@ -51,12 +49,6 @@ Once deployed, your contract will have an Ethereum address like other [accounts] - [GitHub](https://github.com/nomiclabs/hardhat) - [Discord](https://discord.com/invite/TETZs2KK4k) -**Truffle -** **_A development environment, testing framework, build pipeline, and other tools._** - -- [trufflesuite.com](https://www.trufflesuite.com/) -- [Docs on networks and app deployment](https://www.trufflesuite.com/docs/truffle/advanced/networks-and-app-deployment) -- [GitHub](https://github.com/trufflesuite/truffle) - **thirdweb - _Easily deploy any contract to any EVM compatible chain, using a single command_** - [Documentation](https://portal.thirdweb.com/deploy/) From c1041c33f76260777e6955c95fecf7a16a7b07c5 Mon Sep 17 00:00:00 2001 From: Patrick Aljord Date: Mon, 23 Oct 2023 22:03:28 +0200 Subject: [PATCH 05/51] Update src/data/community-events.json Co-authored-by: Joshua <62268199+minimalsm@users.noreply.github.com> --- src/data/community-events.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/community-events.json b/src/data/community-events.json index 8ae58a21f95..821f3b4d358 100644 --- a/src/data/community-events.json +++ b/src/data/community-events.json @@ -6,7 +6,7 @@ "location": "Abu Dhabi, UAE", "description": "The Ethereum dev conference and hackathon in Abu Dhabi on everything DeFi, privacy, EVM scaling, layers 2, Account Abstraction and more with a focus on decentralization and community projects. We also organize a Demo Pitch Day with VCs.", "startDate": "2023-11-27", - "endDate": "2024-27-29" + "endDate": "2023-11-29" }, { "title": "Road to Devcon(Shenzhen)", From 54aad06f4e2dafb69fcec87d43a0a7c4cd24ef06 Mon Sep 17 00:00:00 2001 From: Erlangshen219 <104747507+Erlangshen219@users.noreply.github.com> Date: Sat, 28 Oct 2023 17:13:21 +0800 Subject: [PATCH 06/51] Update index.md - Remove dead Sepolia faucet --- src/content/translations/zh/developers/docs/networks/index.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/content/translations/zh/developers/docs/networks/index.md b/src/content/translations/zh/developers/docs/networks/index.md index 0e1b9ffa135..d85a73f3026 100644 --- a/src/content/translations/zh/developers/docs/networks/index.md +++ b/src/content/translations/zh/developers/docs/networks/index.md @@ -56,8 +56,6 @@ lang: zh - [QuickNode Sepolia 水龙头](https://faucet.quicknode.com/drip) - [Grabteeth](https://grabteeth.xyz/) - [PoW 水龙头](https://sepolia-faucet.pk910.de/) -- [Sepolia 水龙头](https://faucet.sepolia.dev/) -- [FaucETH](https://fauceth.komputing.org) - [Coinbase Wallet 水龙头 | Sepolia](https://coinbase.com/faucets/ethereum-sepolia-faucet) - [Alchemy Sepolia 水龙头](https://sepoliafaucet.com/) - [Infura Sepolia 水龙头](https://www.infura.io/faucet) From 5ba16dc63abe53189773bd164d85a46323b20659 Mon Sep 17 00:00:00 2001 From: Erlangshen219 <104747507+Erlangshen219@users.noreply.github.com> Date: Sat, 28 Oct 2023 17:15:50 +0800 Subject: [PATCH 07/51] Update index.md - Remove dead Sepolia faucet --- src/content/translations/ja/developers/docs/networks/index.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/content/translations/ja/developers/docs/networks/index.md b/src/content/translations/ja/developers/docs/networks/index.md index 67b822542bf..c4c64d89190 100644 --- a/src/content/translations/ja/developers/docs/networks/index.md +++ b/src/content/translations/ja/developers/docs/networks/index.md @@ -57,8 +57,7 @@ Sepolia (セポリア)は、プルーフ・オブ・ステークのテストネ ##### Sepolia フォーセット -- [Sepolia faucet](https://faucet.sepolia.dev/) -- [FaucETH](https://fauceth.komputing.org) + #### Ropsten (ロプステン) _(非推奨)_ {#ropsten} From b65f0c7f055d5409b46bbe9ef9ceef2ae3e0dfc4 Mon Sep 17 00:00:00 2001 From: Erlangshen219 <104747507+Erlangshen219@users.noreply.github.com> Date: Sat, 28 Oct 2023 17:18:26 +0800 Subject: [PATCH 08/51] Update index.md - Remove dead Sepolia faucet and Add some Sepolia faucet --- .../translations/ja/developers/docs/networks/index.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/content/translations/ja/developers/docs/networks/index.md b/src/content/translations/ja/developers/docs/networks/index.md index c4c64d89190..a1719dd6517 100644 --- a/src/content/translations/ja/developers/docs/networks/index.md +++ b/src/content/translations/ja/developers/docs/networks/index.md @@ -57,7 +57,11 @@ Sepolia (セポリア)は、プルーフ・オブ・ステークのテストネ ##### Sepolia フォーセット - +- [QuickNode Sepolia フォーセット](https://faucet.quicknode.com/drip) +- [Grabteeth](https://grabteeth.xyz/) +- [PoW フォーセット](https://sepolia-faucet.pk910.de/) +- [Coinbase Wallet フォーセット | Sepolia](https://coinbase.com/faucets/ethereum-sepolia-faucet) +- [Alchemy Sepolia フォーセット](https://sepoliafaucet.com/) #### Ropsten (ロプステン) _(非推奨)_ {#ropsten} From 5e54faea90a171ba24dfab89bfa33e0efdec2b30 Mon Sep 17 00:00:00 2001 From: Erlangshen219 <104747507+Erlangshen219@users.noreply.github.com> Date: Sat, 28 Oct 2023 17:20:16 +0800 Subject: [PATCH 09/51] Update index.md - Remove dead Sepolia faucet --- .../translations/zh-tw/developers/docs/networks/index.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/content/translations/zh-tw/developers/docs/networks/index.md b/src/content/translations/zh-tw/developers/docs/networks/index.md index fdb61a2e6f0..b04ace50372 100644 --- a/src/content/translations/zh-tw/developers/docs/networks/index.md +++ b/src/content/translations/zh-tw/developers/docs/networks/index.md @@ -56,8 +56,6 @@ lang: zh-tw - [QuickNode 的 Sepolia 水龍頭](https://faucet.quicknode.com/drip) - [Grabteeth](https://grabteeth.xyz/) - [工作量證明水龍頭](https://sepolia-faucet.pk910.de/) -- [Sepolia 水龍頭](https://faucet.sepolia.dev/) -- [FaucETH](https://fauceth.komputing.org) - [Coinbase 錢包水龍頭 | Sepolia](https://coinbase.com/faucets/ethereum-sepolia-faucet) - [Alchemy Sepolia 水龍頭](https://sepoliafaucet.com/) - [Infura Sepolia 水龍頭](https://www.infura.io/faucet) From 8e3e081f4a1b792f7aac4bf2eaae0b2ab68364ce Mon Sep 17 00:00:00 2001 From: Erlangshen219 <104747507+Erlangshen219@users.noreply.github.com> Date: Sat, 28 Oct 2023 17:22:29 +0800 Subject: [PATCH 10/51] Update index.md - Remove dead Sepolia faucet --- src/content/translations/fr/developers/docs/networks/index.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/content/translations/fr/developers/docs/networks/index.md b/src/content/translations/fr/developers/docs/networks/index.md index 99a7cf27dad..50568641bb0 100644 --- a/src/content/translations/fr/developers/docs/networks/index.md +++ b/src/content/translations/fr/developers/docs/networks/index.md @@ -56,8 +56,6 @@ Les deux réseaux de test publics que les développeurs de clients conservent ac - [QuickNode Sepolia Faucet](https://faucet.quicknode.com/drip) - [Grabteeth](https://grabteeth.xyz/) - [Robinet PoW](https://sepolia-faucet.pk910.de/) -- [Sepolia faucet](https://faucet.sepolia.dev/) -- [FaucETH](https://fauceth.komputing.org) - [Coinbase Wallet Faucet | Sepolia](https://coinbase.com/faucets/ethereum-sepolia-faucet) - [Alchemy Sepolia faucet](https://sepoliafaucet.com/) - [Infura Sepolia faucet](https://www.infura.io/faucet) From 7aef7cb06753d0577ab9c88856d8d10487c0bf2a Mon Sep 17 00:00:00 2001 From: Erlangshen219 <104747507+Erlangshen219@users.noreply.github.com> Date: Sat, 28 Oct 2023 17:24:56 +0800 Subject: [PATCH 11/51] Update index.md - Remove dead Sepolia faucet --- src/content/translations/ru/developers/docs/networks/index.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/content/translations/ru/developers/docs/networks/index.md b/src/content/translations/ru/developers/docs/networks/index.md index 1e74f295e23..3aa643e2e57 100644 --- a/src/content/translations/ru/developers/docs/networks/index.md +++ b/src/content/translations/ru/developers/docs/networks/index.md @@ -56,8 +56,6 @@ lang: ru - [Кран QuickNode Sepolia](https://faucet.quicknode.com/drip) - [Grabteeth](https://grabteeth.xyz/) - [Кран PoW](https://sepolia-faucet.pk910.de/) -- [Кран Sepolia](https://faucet.sepolia.dev/) -- [FaucETH](https://fauceth.komputing.org) - [Кран кошелька Coinbase Wallet | Sepolia](https://coinbase.com/faucets/ethereum-sepolia-faucet) - [Кран Alchemy Sepolia](https://sepoliafaucet.com/) - [Кран Infura Sepolia](https://www.infura.io/faucet) From 5cd0882c0d6da96822137859002a9c58298d653e Mon Sep 17 00:00:00 2001 From: Erlangshen219 <104747507+Erlangshen219@users.noreply.github.com> Date: Sat, 28 Oct 2023 17:25:44 +0800 Subject: [PATCH 12/51] Update index.md - Remove dead Sepolia faucet --- src/content/translations/es/developers/docs/networks/index.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/content/translations/es/developers/docs/networks/index.md b/src/content/translations/es/developers/docs/networks/index.md index f50e4b26981..ccbf70abb9f 100644 --- a/src/content/translations/es/developers/docs/networks/index.md +++ b/src/content/translations/es/developers/docs/networks/index.md @@ -56,8 +56,6 @@ Las dos redes públicas de prueba que los desarrolladores de clientes están man - [QuickNode Sepolia Faucet](https://faucet.quicknode.com/drip) - [Grabteeth](https://grabteeth.xyz/) - [PoW faucet](https://sepolia-faucet.pk910.de/) -- [Faucet Sepolia](https://faucet.sepolia.dev/) -- [FaucETH](https://fauceth.komputing.org) - [Coinbase Wallet Faucet | Sepolia](https://coinbase.com/faucets/ethereum-sepolia-faucet) - [Alchemy Sepolia faucet](https://sepoliafaucet.com/) - [Infura Sepolia faucet](https://www.infura.io/faucet) From db17e8a276c5b0d66672d5a889fe5fe766bc65fa Mon Sep 17 00:00:00 2001 From: Erlangshen219 <104747507+Erlangshen219@users.noreply.github.com> Date: Sat, 28 Oct 2023 17:26:28 +0800 Subject: [PATCH 13/51] Update index.md - Remove dead Sepolia faucet --- .../translations/pt-br/developers/docs/networks/index.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/content/translations/pt-br/developers/docs/networks/index.md b/src/content/translations/pt-br/developers/docs/networks/index.md index b3379dcc0b1..db79f3fcf34 100644 --- a/src/content/translations/pt-br/developers/docs/networks/index.md +++ b/src/content/translations/pt-br/developers/docs/networks/index.md @@ -56,8 +56,6 @@ As duas redes de testes públicas que os desenvolvedores dos clientes estão atu - [Faucet do QuickNode Sepolia](https://faucet.quicknode.com/drip) - [Grabteeth](https://grabteeth.xyz/) - [Faucet de PoW](https://sepolia-faucet.pk910.de/) -- [Faucet Sepolia](https://faucet.sepolia.dev/) -- [FaucETH](https://fauceth.komputing.org) - [Faucet da Carteira da Coinbase | Sepolia](https://coinbase.com/faucets/ethereum-sepolia-faucet) - [Faucet do Alchemy Sepolia](https://sepoliafaucet.com/) - [Faucet do Infura Sepolia](https://www.infura.io/faucet) From 8bee54e9d8d52e0f68700daa6c48ece2fe13ecbf Mon Sep 17 00:00:00 2001 From: Erlangshen219 <104747507+Erlangshen219@users.noreply.github.com> Date: Sat, 28 Oct 2023 17:27:12 +0800 Subject: [PATCH 14/51] Update index.md - Remove dead Sepolia faucet --- src/content/translations/tr/developers/docs/networks/index.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/content/translations/tr/developers/docs/networks/index.md b/src/content/translations/tr/developers/docs/networks/index.md index 04e5e447a0f..71915ab6323 100644 --- a/src/content/translations/tr/developers/docs/networks/index.md +++ b/src/content/translations/tr/developers/docs/networks/index.md @@ -56,8 +56,6 @@ Mevcut olarak istemci geliştiricilerin sürdürdüğü iki genel test ağı Sep - [QuickNode Sepolia Musluğu](https://faucet.quicknode.com/drip) - [Grabteeth](https://grabteeth.xyz/) - [İş İspatı Musluğu](https://sepolia-faucet.pk910.de/) -- [Sepolia Musluğu](https://faucet.sepolia.dev/) -- [FaucETH](https://fauceth.komputing.org) - [Coinbase Cüzdanı Musluğu | Sepolia](https://coinbase.com/faucets/ethereum-sepolia-faucet) - [Alchemy Sepolia musluğu](https://sepoliafaucet.com/) - [Infura Sepolia Musluğu](https://www.infura.io/faucet) From 7c0a901c232c1cb7cbdcc27cea947b8b810d5925 Mon Sep 17 00:00:00 2001 From: Erlangshen219 <104747507+Erlangshen219@users.noreply.github.com> Date: Sat, 28 Oct 2023 17:27:53 +0800 Subject: [PATCH 15/51] Update index.md - Remove dead Sepolia faucet --- src/content/translations/it/developers/docs/networks/index.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/content/translations/it/developers/docs/networks/index.md b/src/content/translations/it/developers/docs/networks/index.md index e0304ede5ea..e6031bbea3e 100644 --- a/src/content/translations/it/developers/docs/networks/index.md +++ b/src/content/translations/it/developers/docs/networks/index.md @@ -56,8 +56,6 @@ Le due reti di prova pubbliche che gli sviluppatori di client stanno mantenendo - [Faucet Sepolia QuickNode](https://faucet.quicknode.com/drip) - [Grabteeth](https://grabteeth.xyz/) - [Faucet PoW](https://sepolia-faucet.pk910.de/) -- [Faucet Sepolia](https://faucet.sepolia.dev/) -- [FaucETH](https://fauceth.komputing.org) - [Faucet Coinbase Wallet | Sepolia](https://coinbase.com/faucets/ethereum-sepolia-faucet) - [Faucet Alchemy Sepolia](https://sepoliafaucet.com/) - [Faucet Infura Sepolia](https://www.infura.io/faucet) From f7bed45a99bbb334b50a2869469ac177f7b7be55 Mon Sep 17 00:00:00 2001 From: Erlangshen219 <104747507+Erlangshen219@users.noreply.github.com> Date: Sat, 28 Oct 2023 17:37:05 +0800 Subject: [PATCH 16/51] Update index.md - Remove dead Sepolia faucet --- src/content/developers/docs/networks/index.md | 1 - 1 file changed, 1 deletion(-) diff --git a/src/content/developers/docs/networks/index.md b/src/content/developers/docs/networks/index.md index 309d07be8e5..f6321462b54 100644 --- a/src/content/developers/docs/networks/index.md +++ b/src/content/developers/docs/networks/index.md @@ -57,7 +57,6 @@ The Sepolia network uses a permissioned validator set. It's fairly new, meaning - [QuickNode Sepolia Faucet](https://faucet.quicknode.com/drip) - [Grabteeth](https://grabteeth.xyz/) - [PoW faucet](https://sepolia-faucet.pk910.de/) -- [FaucETH](https://fauceth.komputing.org) - [Coinbase Wallet Faucet | Sepolia](https://coinbase.com/faucets/ethereum-sepolia-faucet) - [Alchemy Sepolia faucet](https://sepoliafaucet.com/) - [Infura Sepolia faucet](https://www.infura.io/faucet) From 610f4eecfc667823a9f59c0660c51da0e149afdc Mon Sep 17 00:00:00 2001 From: Petar Popovic Date: Tue, 31 Oct 2023 12:39:48 +0100 Subject: [PATCH 17/51] Update community-meetups.json Add ETH Belgrade Community meetups --- src/data/community-meetups.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/data/community-meetups.json b/src/data/community-meetups.json index 0c65dc0a56b..3bd65cd1628 100644 --- a/src/data/community-meetups.json +++ b/src/data/community-meetups.json @@ -5,6 +5,12 @@ "location": "Omaha", "link": "https://www.meetup.com/web3-ne/" }, + { + "title": "ETH Belgrade Community", + "emoji": "🇷🇸", + "location": "Belgrade", + "link": "https://ethbelgrade.rs/community" + }, { "title": "ETHTbilisi", "emoji": ":ge:", From b17b14a3373699492aa69449370db00b3f156562 Mon Sep 17 00:00:00 2001 From: jeremyfritzen Date: Wed, 1 Nov 2023 10:07:37 -0400 Subject: [PATCH 18/51] Update index.md Updated info about zkSync and Added Starknet. --- src/content/developers/docs/scaling/zk-rollups/index.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/content/developers/docs/scaling/zk-rollups/index.md b/src/content/developers/docs/scaling/zk-rollups/index.md index f1e903b8fd4..0677409d33d 100644 --- a/src/content/developers/docs/scaling/zk-rollups/index.md +++ b/src/content/developers/docs/scaling/zk-rollups/index.md @@ -240,7 +240,9 @@ Projects working on zkEVMs include: - **[Taiko](https://taiko.xyz)** - _Taiko is a decentralized, Ethereum-equivalent ZK-rollup (a [Type 1 ZK-EVM](https://vitalik.ca/general/2022/08/04/zkevm.html))._ -- **[ZKSync](https://docs.zksync.io/zkevm/)** - _ZkSync 2.0 is an EVM-compatible ZK Rollup being built by Matter Labs, powered by its own zkEVM._ +- **[ZKSync](https://docs.zksync.io/zkevm/)** - _ZkSync Era is an EVM-compatible ZK Rollup built by Matter Labs, powered by its own zkEVM._ + +- **[Starknet](https://starkware.co/starknet/)** - _StarkNet is another EVM-compatible layer 2 scaling solution that uses a different approach called Validium._ ## Further reading on ZK-rollups reading {#further-reading-on-zk-rollups} From c43a8629696232d993b39113901e61ba63b17106 Mon Sep 17 00:00:00 2001 From: ayo-klaytn Date: Wed, 1 Nov 2023 20:40:11 +0100 Subject: [PATCH 19/51] fix:wrong-link-on-roadmap-page --- src/content/roadmap/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/roadmap/index.md b/src/content/roadmap/index.md index ad7285bb65a..d14e725c2e7 100644 --- a/src/content/roadmap/index.md +++ b/src/content/roadmap/index.md @@ -59,7 +59,7 @@ Ethereum gets regular upgrades that enhance its scalability, security, or sustai -The roadmap is mostly the result of years of work by researchers and developers - because the protocol is very technical - but any motivated person can participate. Ideas usually start off as discussions on a forum such as [ethresear.ch](https://ethresear.ch/), [Ethereum magicians](https://www.figma.com/exit?url=https%3A%2F%2Fethereum-magicians.org%2F) or the Eth R&D discord server. They may be responses to new vulnerabilities that are discovered, suggestions from organizations working in the application layer (such as dapps and exchanges) or from known frictions for end users (such as costs or transaction speeds). When these ideas mature, they can be proposed as [Ethereum Improvement Proposals](https://eips.ethereum.org/). This is all done in public so that anyone from the community can weigh in at any time. +The roadmap is mostly the result of years of work by researchers and developers - because the protocol is very technical - but any motivated person can participate. Ideas usually start off as discussions on a forum such as [ethresear.ch](https://ethresear.ch/), [Ethereum magicians](https://ethereum-magicians.org/) or the Eth R&D discord server. They may be responses to new vulnerabilities that are discovered, suggestions from organizations working in the application layer (such as dapps and exchanges) or from known frictions for end users (such as costs or transaction speeds). When these ideas mature, they can be proposed as [Ethereum Improvement Proposals](https://eips.ethereum.org/). This is all done in public so that anyone from the community can weigh in at any time. [More on Ethereum governance](/governance/) From dc85b56e4cc51a23858e4fe1d89fc12d146e39f1 Mon Sep 17 00:00:00 2001 From: Jefferson Bicca Date: Wed, 1 Nov 2023 16:44:27 -0300 Subject: [PATCH 20/51] Update index.md --- src/content/translations/pt-br/developers/docs/dapps/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/translations/pt-br/developers/docs/dapps/index.md b/src/content/translations/pt-br/developers/docs/dapps/index.md index 73daf827944..5575f03fb56 100644 --- a/src/content/translations/pt-br/developers/docs/dapps/index.md +++ b/src/content/translations/pt-br/developers/docs/dapps/index.md @@ -35,7 +35,7 @@ Um contrato inteligente é um código presente na blockchain Ethereum e funciona - **Completar a integridade dos dados**: os dados armazenados na blockchain são imutáveis e indiscutíveis, graças aos primitivos criptográficos. Atores mal-intencionados não podem forjar transações ou outros dados que já foram tornados públicos. - **Computação sem confiança/comportamento verificável** – Contratos inteligentes podem ser analisados e têm garantia de execução de maneiras previsíveis, sem a necessidade de confiar em uma autoridade central. Isso não é verdade nos modelos tradicionais; por exemplo, quando usamos sistemas bancários on-line, temos que confiar que as instituições financeiras não usarão indevidamente nossos dados financeiros, adulterarão registros ou serão hackeadas. -## Benefícios do desenvolvimento de dapps {#drawbacks-of-dapp-development} +## Desvantagens do desenvolvimento de dapps {#drawbacks-of-dapp-development} - **Manutenção**: os dapps podem ser mais difíceis de manter, porque o código e os dados publicados na blockchain são mais difíceis de modificar. É difícil para os desenvolvedores fazerem atualizações em seus dapps (ou nos dados armazenados sob um dapp) uma vez que eles foram implantados, mesmo se bugs ou riscos de segurança forem identificados em uma versão antiga. - **Impactos no desempenho**: há um grande impacto no desempenho, e o dimensionamento é realmente difícil. Para alcançar o nível de segurança, integridade, transparência e confiabilidade que o Ethereum aspira, cada nó executa e armazena cada transação. Além disso, o consenso de prova de participação também leva tempo. From 76de7493048cc8bfc8f854764f5747c29a5c39c3 Mon Sep 17 00:00:00 2001 From: Paul Wackerow <54227730+wackerow@users.noreply.github.com> Date: Thu, 2 Nov 2023 08:29:09 -0700 Subject: [PATCH 21/51] fix path typo --- .../translation-program/content-buckets/index.md | 2 +- .../docs/smart-contracts/composability/index.md | 2 +- .../flashloan-meme.png | Bin .../index.md | 0 .../docs/smart-contracts/composability/index.md | 2 +- .../docs/smart-contracts/composability/index.md | 2 +- .../docs/smart-contracts/composability/index.md | 2 +- .../index.md | 0 .../docs/smart-contracts/composability/index.md | 2 +- .../docs/smart-contracts/composability/index.md | 2 +- .../index.md | 0 .../docs/smart-contracts/composability/index.md | 2 +- .../index.md | 0 .../docs/smart-contracts/composability/index.md | 2 +- .../index.md | 0 .../docs/smart-contracts/composability/index.md | 2 +- .../docs/smart-contracts/composability/index.md | 2 +- .../docs/smart-contracts/composability/index.md | 2 +- .../index.md | 0 .../docs/smart-contracts/composability/index.md | 2 +- .../index.md | 0 .../docs/smart-contracts/composability/index.md | 2 +- .../index.md | 0 src/data/crowdin/file-ids.json | 2 +- 24 files changed, 15 insertions(+), 15 deletions(-) rename src/content/developers/tutorials/{kickstart-your-dapp-frontend-development-wth-create-eth-app => kickstart-your-dapp-frontend-development-with-create-eth-app}/flashloan-meme.png (100%) rename src/content/developers/tutorials/{kickstart-your-dapp-frontend-development-wth-create-eth-app => kickstart-your-dapp-frontend-development-with-create-eth-app}/index.md (100%) rename src/content/translations/fr/developers/tutorials/{kickstart-your-dapp-frontend-development-wth-create-eth-app => kickstart-your-dapp-frontend-development-with-create-eth-app}/index.md (100%) rename src/content/translations/id/developers/tutorials/{kickstart-your-dapp-frontend-development-wth-create-eth-app => kickstart-your-dapp-frontend-development-with-create-eth-app}/index.md (100%) rename src/content/translations/it/developers/tutorials/{kickstart-your-dapp-frontend-development-wth-create-eth-app => kickstart-your-dapp-frontend-development-with-create-eth-app}/index.md (100%) rename src/content/translations/ja/developers/tutorials/{kickstart-your-dapp-frontend-development-wth-create-eth-app => kickstart-your-dapp-frontend-development-with-create-eth-app}/index.md (100%) rename src/content/translations/ro/developers/tutorials/{kickstart-your-dapp-frontend-development-wth-create-eth-app => kickstart-your-dapp-frontend-development-with-create-eth-app}/index.md (100%) rename src/content/translations/tr/developers/tutorials/{kickstart-your-dapp-frontend-development-wth-create-eth-app => kickstart-your-dapp-frontend-development-with-create-eth-app}/index.md (100%) rename src/content/translations/zh/developers/tutorials/{kickstart-your-dapp-frontend-development-wth-create-eth-app => kickstart-your-dapp-frontend-development-with-create-eth-app}/index.md (100%) diff --git a/src/content/contributing/translation-program/content-buckets/index.md b/src/content/contributing/translation-program/content-buckets/index.md index a672ffc2b24..77d0a14e28e 100644 --- a/src/content/contributing/translation-program/content-buckets/index.md +++ b/src/content/contributing/translation-program/content-buckets/index.md @@ -308,7 +308,7 @@ Below is a breakdown of the website pages each content bucket contains. - [ERC-20 with safety rails](/developers/tutorials/erc20-with-safety-rails/) - [Getting Started with Ethereum Development](/developers/tutorials/getting-started-with-ethereum-development-using-alchemy/) - [How to mock Solidity smart contracts for testing](/developers/tutorials/how-to-mock-solidity-contracts-for-testing/) -- [Kickstart your dapp frontend development with create-eth-app](/developers/tutorials/kickstart-your-dapp-frontend-development-wth-create-eth-app/) +- [Kickstart your dapp frontend development with create-eth-app](/developers/tutorials/kickstart-your-dapp-frontend-development-with-create-eth-app/) - [Logging data from smart contracts with events](/developers/tutorials/logging-events-smart-contracts/) - [Merkle proofs for offline data integrity](/developers/tutorials/merkle-proofs-for-offline-data-integrity/) - [Sending transactions using Web3](/developers/tutorials/sending-transactions-using-web3-and-alchemy/) diff --git a/src/content/developers/docs/smart-contracts/composability/index.md b/src/content/developers/docs/smart-contracts/composability/index.md index 42f4ebd5f78..f71ae82f44d 100644 --- a/src/content/developers/docs/smart-contracts/composability/index.md +++ b/src/content/developers/docs/smart-contracts/composability/index.md @@ -66,7 +66,7 @@ Instead of building a custom authentication system or relying on centralized pro ## Related tutorials {#related-tutorials} - [Contract Composability: The Building Blocks of Ethereum Smart Contract Development](https://www.decentlabs.io/blog/contract-composability-the-building-blocks-of-ethereum-smart-contract-development) -- [Kickstart your dapp frontend development with create-eth-app](/developers/tutorials/kickstart-your-dapp-frontend-development-wth-create-eth-app/) _– An overview of how to use create-eth-app to create apps with popular smart contracts out the box._ +- [Kickstart your dapp frontend development with create-eth-app](/developers/tutorials/kickstart-your-dapp-frontend-development-with-create-eth-app/) _– An overview of how to use create-eth-app to create apps with popular smart contracts out the box._ ## Further reading {#further-reading} diff --git a/src/content/developers/tutorials/kickstart-your-dapp-frontend-development-wth-create-eth-app/flashloan-meme.png b/src/content/developers/tutorials/kickstart-your-dapp-frontend-development-with-create-eth-app/flashloan-meme.png similarity index 100% rename from src/content/developers/tutorials/kickstart-your-dapp-frontend-development-wth-create-eth-app/flashloan-meme.png rename to src/content/developers/tutorials/kickstart-your-dapp-frontend-development-with-create-eth-app/flashloan-meme.png diff --git a/src/content/developers/tutorials/kickstart-your-dapp-frontend-development-wth-create-eth-app/index.md b/src/content/developers/tutorials/kickstart-your-dapp-frontend-development-with-create-eth-app/index.md similarity index 100% rename from src/content/developers/tutorials/kickstart-your-dapp-frontend-development-wth-create-eth-app/index.md rename to src/content/developers/tutorials/kickstart-your-dapp-frontend-development-with-create-eth-app/index.md diff --git a/src/content/translations/de/developers/docs/smart-contracts/composability/index.md b/src/content/translations/de/developers/docs/smart-contracts/composability/index.md index 7f9a4afbf50..e565ee651c1 100644 --- a/src/content/translations/de/developers/docs/smart-contracts/composability/index.md +++ b/src/content/translations/de/developers/docs/smart-contracts/composability/index.md @@ -12,7 +12,7 @@ Smart Contracts sind auf Ethereum öffentlich und können als offene APIs betrac ## Verwandte Tutorials {#related-tutorials} - [Vertragskombinierbarkeit: die Bausteine der Smart-Contract-Entwicklung von Ethereum](https://www.decentlabs.io/blog/contract-composability-the-building-blocks-of-ethereum-smart-contract-development) -- [Starten Sie Ihre dApp-Frontend-Entwicklung mit Create-eth-app](/developers/tutorials/kickstart-your-dapp-frontend-development-wth-create-eth-app/) _– Eine Übersicht darüber, wie Create-eth-app verwendet wird, um Apps mit beliebten Smart Contracts zu erstellen_ +- [Starten Sie Ihre dApp-Frontend-Entwicklung mit Create-eth-app](/developers/tutorials/kickstart-your-dapp-frontend-development-with-create-eth-app/) _– Eine Übersicht darüber, wie Create-eth-app verwendet wird, um Apps mit beliebten Smart Contracts zu erstellen_ ## Weiterführende Informationen {#further-reading} diff --git a/src/content/translations/es/developers/docs/smart-contracts/composability/index.md b/src/content/translations/es/developers/docs/smart-contracts/composability/index.md index ec71872ffb2..f12faa8a20e 100644 --- a/src/content/translations/es/developers/docs/smart-contracts/composability/index.md +++ b/src/content/translations/es/developers/docs/smart-contracts/composability/index.md @@ -12,7 +12,7 @@ Los contratos inteligentes son públicos en Ethereum y se pueden considerar API ## Tutoriales relacionados {#related-tutorials} - [Composición del contrato: Los bloques de construcción para el desarrollo de contratos inteligentes de Ethereum](https://blog.decentlabs.io/contract-composability-the-building-blocks-of-ethereum-smart-contract-development/) -- [Comienza el desarrollo de tu interfaz Dapp con create-eth-app,](/developers/tutorials/kickstart-your-dapp-frontend-development-wth-create-eth-app/)_ un resumen sobre cómo usar create-eth-app para crear apps con contratos inteligentes previamente formulados. _ +- [Comienza el desarrollo de tu interfaz Dapp con create-eth-app,](/developers/tutorials/kickstart-your-dapp-frontend-development-with-create-eth-app/)_ un resumen sobre cómo usar create-eth-app para crear apps con contratos inteligentes previamente formulados. _ ## Más lectura {#further-reading} diff --git a/src/content/translations/fr/developers/docs/smart-contracts/composability/index.md b/src/content/translations/fr/developers/docs/smart-contracts/composability/index.md index 675821d572b..7db65317d78 100644 --- a/src/content/translations/fr/developers/docs/smart-contracts/composability/index.md +++ b/src/content/translations/fr/developers/docs/smart-contracts/composability/index.md @@ -12,7 +12,7 @@ Les contrats intelligents sont publics sur Ethereum et peuvent être considéré ## Tutoriels connexes {#related-tutorials} - [Contract Composability: The Building Blocks of Ethereum Smart Contract Development](https://www.decentlabs.io/blog/contract-composability-the-building-blocks-of-ethereum-smart-contract-development) -- [Kickstart your Dapp frontend development with create-eth-app](/developers/tutorials/kickstart-your-DApp-frontend-development-wth-create-eth-app/) _- Comment utiliser create-eth-app pour créer facilement des applications avec les contrats intelligents_ +- [Kickstart your Dapp frontend development with create-eth-app](/developers/tutorials/kickstart-your-dapp-frontend-development-with-create-eth-app/) _- Comment utiliser create-eth-app pour créer facilement des applications avec les contrats intelligents_ ## Complément d'information {#further-reading} diff --git a/src/content/translations/fr/developers/tutorials/kickstart-your-dapp-frontend-development-wth-create-eth-app/index.md b/src/content/translations/fr/developers/tutorials/kickstart-your-dapp-frontend-development-with-create-eth-app/index.md similarity index 100% rename from src/content/translations/fr/developers/tutorials/kickstart-your-dapp-frontend-development-wth-create-eth-app/index.md rename to src/content/translations/fr/developers/tutorials/kickstart-your-dapp-frontend-development-with-create-eth-app/index.md diff --git a/src/content/translations/hu/developers/docs/smart-contracts/composability/index.md b/src/content/translations/hu/developers/docs/smart-contracts/composability/index.md index d444a9a11c6..a78fd0684c0 100644 --- a/src/content/translations/hu/developers/docs/smart-contracts/composability/index.md +++ b/src/content/translations/hu/developers/docs/smart-contracts/composability/index.md @@ -12,7 +12,7 @@ Az okosszerződések nyilvánosak az Ethereumon, így nyílt API-ként is tekint ## Kapcsolódó útmutatók {#related-tutorials} - [Contract Composability: The Building Blocks of Ethereum Smart Contract Development](https://blog.decentlabs.io/contract-composability-the-building-blocks-of-ethereum-smart-contract-development/) -- [Kickstart your Dapp frontend development with create-eth-app](/developers/tutorials/kickstart-your-dapp-frontend-development-wth-create-eth-app/) _– An overview of how to use create-eth-app to create apps with popular smart contracts out the box._ +- [Kickstart your Dapp frontend development with create-eth-app](/developers/tutorials/kickstart-your-dapp-frontend-development-with-create-eth-app/) _– An overview of how to use create-eth-app to create apps with popular smart contracts out the box._ ## További olvasnivaló {#further-reading} diff --git a/src/content/translations/id/developers/docs/smart-contracts/composability/index.md b/src/content/translations/id/developers/docs/smart-contracts/composability/index.md index 21ba9bd5600..65c71423a73 100644 --- a/src/content/translations/id/developers/docs/smart-contracts/composability/index.md +++ b/src/content/translations/id/developers/docs/smart-contracts/composability/index.md @@ -12,7 +12,7 @@ Kontrak pintar bersifat publik di Ethereum dan bisa dianggap sebagai API terbuka ## Tutorial terkait {#related-tutorials} - [Komposabilitas Kontrak: Blok Pembangun dari Pengembangan Kontrak Pintar Ethereum](https://blog.decentlabs.io/contract-composability-the-building-blocks-of-ethereum-smart-contract-development/) -- [Mulai pengembangan frontend Dapp Anda dengan create-eth-app](/developers/tutorials/kickstart-your-dapp-frontend-development-wth-create-eth-app/) _– Gambaran umum tentang cara menggunakan create-eth-app untuk membuat aplikasi dengan kontrak pintar non-konvensional yang populer._ +- [Mulai pengembangan frontend Dapp Anda dengan create-eth-app](/developers/tutorials/kickstart-your-dapp-frontend-development-with-create-eth-app/) _– Gambaran umum tentang cara menggunakan create-eth-app untuk membuat aplikasi dengan kontrak pintar non-konvensional yang populer._ ## Bacaan lebih lanjut {#further-reading} diff --git a/src/content/translations/id/developers/tutorials/kickstart-your-dapp-frontend-development-wth-create-eth-app/index.md b/src/content/translations/id/developers/tutorials/kickstart-your-dapp-frontend-development-with-create-eth-app/index.md similarity index 100% rename from src/content/translations/id/developers/tutorials/kickstart-your-dapp-frontend-development-wth-create-eth-app/index.md rename to src/content/translations/id/developers/tutorials/kickstart-your-dapp-frontend-development-with-create-eth-app/index.md diff --git a/src/content/translations/it/developers/docs/smart-contracts/composability/index.md b/src/content/translations/it/developers/docs/smart-contracts/composability/index.md index 1bda2adc773..69d77676856 100644 --- a/src/content/translations/it/developers/docs/smart-contracts/composability/index.md +++ b/src/content/translations/it/developers/docs/smart-contracts/composability/index.md @@ -66,7 +66,7 @@ Invece di creare un sistema di autenticazione personalizzato o affidarti a forni ## Tutorial correlati {#related-tutorials} - [Componibilità del Contratto: I Blocchi di Partenza dello Sviluppo di Contratti Intelligenti su Ethereum](https://www.decentlabs.io/blog/contract-composability-the-building-blocks-of-ethereum-smart-contract-development) -- [Avvia lo sviluppo del frontend della tua dapp con create-eth-app](/developers/tutorials/kickstart-your-dapp-frontend-development-wth-create-eth-app/) _– Una panoramica di come usare create-eth-app per creare app con contratti intelligenti popolari, pronti all'uso._ +- [Avvia lo sviluppo del frontend della tua dapp con create-eth-app](/developers/tutorials/kickstart-your-dapp-frontend-development-with-create-eth-app/) _– Una panoramica di come usare create-eth-app per creare app con contratti intelligenti popolari, pronti all'uso._ ## Lettura consigliate {#further-reading} diff --git a/src/content/translations/it/developers/tutorials/kickstart-your-dapp-frontend-development-wth-create-eth-app/index.md b/src/content/translations/it/developers/tutorials/kickstart-your-dapp-frontend-development-with-create-eth-app/index.md similarity index 100% rename from src/content/translations/it/developers/tutorials/kickstart-your-dapp-frontend-development-wth-create-eth-app/index.md rename to src/content/translations/it/developers/tutorials/kickstart-your-dapp-frontend-development-with-create-eth-app/index.md diff --git a/src/content/translations/ja/developers/docs/smart-contracts/composability/index.md b/src/content/translations/ja/developers/docs/smart-contracts/composability/index.md index 8fdb36d6f43..a0cd4bd1d2c 100644 --- a/src/content/translations/ja/developers/docs/smart-contracts/composability/index.md +++ b/src/content/translations/ja/developers/docs/smart-contracts/composability/index.md @@ -66,7 +66,7 @@ ETH でトランザクションフィーを支払う必要がある Dapp を作 ## 関連トピック {#related-tutorials} - [コントラクトの構成可能性: イーサリアムスマートコントラクト開発のビルディングブロック](https://www.decentlabs.io/blog/contract-composability-the-building-blocks-of-ethereum-smart-contract-development) -- [create-eth-app を使用した Dapp フロントエンドの始動](/developers/tutorials/kickstart-your-dapp-frontend-development-wth-create-eth-app/) _- create-eth-app を使用して、一般的なスマートコントラクトを使用する、すぐに利用可能なアプリを作成する方法の概要_ +- [create-eth-app を使用した Dapp フロントエンドの始動](/developers/tutorials/kickstart-your-dapp-frontend-development-with-create-eth-app/) _- create-eth-app を使用して、一般的なスマートコントラクトを使用する、すぐに利用可能なアプリを作成する方法の概要_ ## 参考文献 {#further-reading} diff --git a/src/content/translations/ja/developers/tutorials/kickstart-your-dapp-frontend-development-wth-create-eth-app/index.md b/src/content/translations/ja/developers/tutorials/kickstart-your-dapp-frontend-development-with-create-eth-app/index.md similarity index 100% rename from src/content/translations/ja/developers/tutorials/kickstart-your-dapp-frontend-development-wth-create-eth-app/index.md rename to src/content/translations/ja/developers/tutorials/kickstart-your-dapp-frontend-development-with-create-eth-app/index.md diff --git a/src/content/translations/pl/developers/docs/smart-contracts/composability/index.md b/src/content/translations/pl/developers/docs/smart-contracts/composability/index.md index 16452af663c..63ca3865ec5 100644 --- a/src/content/translations/pl/developers/docs/smart-contracts/composability/index.md +++ b/src/content/translations/pl/developers/docs/smart-contracts/composability/index.md @@ -12,7 +12,7 @@ Inteligentne kontrakty są publiczne w Ethereum i można je uznać za otwarte AP ## Powiązane samouczki {#related-tutorials} - [Kompozycyjność kontraktu: elementy konstrukcyjne inteligentnych kontraktów Ethereum](https://blog.decentlabs.io/contract-composability-the-building-blocks-of-ethereum-smart-contract-development/) -- [Szybkie rozpoczęcie tworzenia frontendu aplikacji dapp za pomocą create-eth-app](/developers/tutorials/kickstart-your-dapp-frontend-development-wth-create-eth-app/) _— omówienie korzystania z create-eth-app do tworzenia aplikacji z zastosowaniem popularnych inteligentnych kontraktów._ +- [Szybkie rozpoczęcie tworzenia frontendu aplikacji dapp za pomocą create-eth-app](/developers/tutorials/kickstart-your-dapp-frontend-development-with-create-eth-app/) _— omówienie korzystania z create-eth-app do tworzenia aplikacji z zastosowaniem popularnych inteligentnych kontraktów._ ## Dalsza lektura {#further-reading} diff --git a/src/content/translations/pt-br/developers/docs/smart-contracts/composability/index.md b/src/content/translations/pt-br/developers/docs/smart-contracts/composability/index.md index 1ce2025b975..d892a3a401a 100644 --- a/src/content/translations/pt-br/developers/docs/smart-contracts/composability/index.md +++ b/src/content/translations/pt-br/developers/docs/smart-contracts/composability/index.md @@ -66,7 +66,7 @@ Em vez de criar um sistema de autenticação personalizado ou depender de proved ## Tutoriais relacionados {#related-tutorials} - [Composição do Contrato: Os Blocos de Construção do Desenvolvimento de Contrato Inteligente da Ethereum](https://www.decentlabs.io/blog/contract-composability-the-building-blocks-of-ethereum-smart-contract-development) -- [Comece seu desenvolvimento de front-end dapp com create-eth-app](/developers/tutorials/kickstart-your-dapp-frontend-development-wth-create-eth-app/) _– Uma visão geral de como usar o create-eth-app para criar apps com contratos inteligentes populares prontos para uso._ +- [Comece seu desenvolvimento de front-end dapp com create-eth-app](/developers/tutorials/kickstart-your-dapp-frontend-development-with-create-eth-app/) _– Uma visão geral de como usar o create-eth-app para criar apps com contratos inteligentes populares prontos para uso._ ## Leitura adicional {#further-reading} diff --git a/src/content/translations/ro/developers/docs/smart-contracts/composability/index.md b/src/content/translations/ro/developers/docs/smart-contracts/composability/index.md index 5f65f05c32b..b853907ae27 100644 --- a/src/content/translations/ro/developers/docs/smart-contracts/composability/index.md +++ b/src/content/translations/ro/developers/docs/smart-contracts/composability/index.md @@ -12,7 +12,7 @@ Contractele inteligente sunt publice pe Ethereum și pot fi considerate API-uri ## Tutoriale corelate {#related-tutorials} - [Combinabilitatea contractului: elementele de bază ale dezvoltării contractelor inteligente Ethereum](https://blog.decentlabs.io/contract-composability-the-building-blocks-of-ethereum-smart-contract-development/) -- [Lansează dezvoltarea frontend-ului aplicației dapp cu create-eth-app](/developers/tutorials/kickstart-your-dapp-frontend-development-wth-create-eth-app/) _– O prezentare generală a modului de utilizare a create-eth-app pentru a crea aplicații cu contracte inteligente populare gata de funcţionare._ +- [Lansează dezvoltarea frontend-ului aplicației dapp cu create-eth-app](/developers/tutorials/kickstart-your-dapp-frontend-development-with-create-eth-app/) _– O prezentare generală a modului de utilizare a create-eth-app pentru a crea aplicații cu contracte inteligente populare gata de funcţionare._ ## Referințe suplimentare {#further-reading} diff --git a/src/content/translations/ro/developers/tutorials/kickstart-your-dapp-frontend-development-wth-create-eth-app/index.md b/src/content/translations/ro/developers/tutorials/kickstart-your-dapp-frontend-development-with-create-eth-app/index.md similarity index 100% rename from src/content/translations/ro/developers/tutorials/kickstart-your-dapp-frontend-development-wth-create-eth-app/index.md rename to src/content/translations/ro/developers/tutorials/kickstart-your-dapp-frontend-development-with-create-eth-app/index.md diff --git a/src/content/translations/tr/developers/docs/smart-contracts/composability/index.md b/src/content/translations/tr/developers/docs/smart-contracts/composability/index.md index e32780e7ac9..700b34b6356 100644 --- a/src/content/translations/tr/developers/docs/smart-contracts/composability/index.md +++ b/src/content/translations/tr/developers/docs/smart-contracts/composability/index.md @@ -66,7 +66,7 @@ Bir [DAO](/dao/) için ısmarlama yönetim sistemleri oluşturmak pahalı ve zam ## İlgili öğreticiler {#related-tutorials} - [Sözleşme Birleştirilebilirliği: Ethereum Akıllı Sözleşme Geliştirmenin Yapı Taşları](https://www.decentlabs.io/blog/contract-composability-the-building-blocks-of-ethereum-smart-contract-development) -- [create-eth-app ile dapp ön yüz geliştirmeye bir adım önde başlayın](/developers/tutorials/kickstart-your-dapp-frontend-development-wth-create-eth-app/) _– Popüler akıllı sözleşmelerle uygulamalar oluşturmak için create-eth-app kullanımına genel bir bakış._ +- [create-eth-app ile dapp ön yüz geliştirmeye bir adım önde başlayın](/developers/tutorials/kickstart-your-dapp-frontend-development-with-create-eth-app/) _– Popüler akıllı sözleşmelerle uygulamalar oluşturmak için create-eth-app kullanımına genel bir bakış._ ## Daha fazla okuma {#further-reading} diff --git a/src/content/translations/tr/developers/tutorials/kickstart-your-dapp-frontend-development-wth-create-eth-app/index.md b/src/content/translations/tr/developers/tutorials/kickstart-your-dapp-frontend-development-with-create-eth-app/index.md similarity index 100% rename from src/content/translations/tr/developers/tutorials/kickstart-your-dapp-frontend-development-wth-create-eth-app/index.md rename to src/content/translations/tr/developers/tutorials/kickstart-your-dapp-frontend-development-with-create-eth-app/index.md diff --git a/src/content/translations/zh/developers/docs/smart-contracts/composability/index.md b/src/content/translations/zh/developers/docs/smart-contracts/composability/index.md index b8f3b1a5004..89fce07aa60 100644 --- a/src/content/translations/zh/developers/docs/smart-contracts/composability/index.md +++ b/src/content/translations/zh/developers/docs/smart-contracts/composability/index.md @@ -66,7 +66,7 @@ incomplete: true ## 相关教程 {#related-tutorials} - [合约的可组合性:以太坊智能合约开发的基石](https://www.decentlabs.io/blog/contract-composability-the-building-blocks-of-ethereum-smart-contract-development) -- [使用 create-eth-app 启动你的去中心化应用程序前端开发](/developers/tutorials/kickstart-your-dapp-frontend-development-wth-create-eth-app/) _– 概述如何使用 create-eth-app,借助开箱即用的流行智能合约创建应用程序。_ +- [使用 create-eth-app 启动你的去中心化应用程序前端开发](/developers/tutorials/kickstart-your-dapp-frontend-development-with-create-eth-app/) _– 概述如何使用 create-eth-app,借助开箱即用的流行智能合约创建应用程序。_ ## 延伸阅读 {#further-reading} diff --git a/src/content/translations/zh/developers/tutorials/kickstart-your-dapp-frontend-development-wth-create-eth-app/index.md b/src/content/translations/zh/developers/tutorials/kickstart-your-dapp-frontend-development-with-create-eth-app/index.md similarity index 100% rename from src/content/translations/zh/developers/tutorials/kickstart-your-dapp-frontend-development-wth-create-eth-app/index.md rename to src/content/translations/zh/developers/tutorials/kickstart-your-dapp-frontend-development-with-create-eth-app/index.md diff --git a/src/data/crowdin/file-ids.json b/src/data/crowdin/file-ids.json index d2942c7e089..91f0f66be43 100644 --- a/src/data/crowdin/file-ids.json +++ b/src/data/crowdin/file-ids.json @@ -493,7 +493,7 @@ }, { "id": 3116, - "path": "/developers/tutorials/kickstart-your-dapp-frontend-development-wth-create-eth-app/index.md" + "path": "/developers/tutorials/kickstart-your-dapp-frontend-development-with-create-eth-app/index.md" }, { "id": 3120, From a9be12a15fc5e4fcb5f4b2a236ed748727f437ae Mon Sep 17 00:00:00 2001 From: Paul Wackerow <54227730+wackerow@users.noreply.github.com> Date: Thu, 2 Nov 2023 08:30:42 -0700 Subject: [PATCH 22/51] fix path typo --- .../translation-program/content-buckets/index.md | 2 +- .../index.md | 0 .../successful-transaction.png | Bin .../index.md | 0 .../index.md | 0 .../index.md | 0 .../index.md | 0 .../index.md | 0 .../index.md | 0 .../index.md | 0 src/data/crowdin/file-ids.json | 2 +- 11 files changed, 2 insertions(+), 2 deletions(-) rename src/content/developers/tutorials/{send-token-etherjs => send-token-ethersjs}/index.md (100%) rename src/content/developers/tutorials/{send-token-etherjs => send-token-ethersjs}/successful-transaction.png (100%) rename src/content/translations/fr/developers/tutorials/{send-token-etherjs => send-token-ethersjs}/index.md (100%) rename src/content/translations/id/developers/tutorials/{send-token-etherjs => send-token-ethersjs}/index.md (100%) rename src/content/translations/it/developers/tutorials/{send-token-etherjs => send-token-ethersjs}/index.md (100%) rename src/content/translations/ja/developers/tutorials/{send-token-etherjs => send-token-ethersjs}/index.md (100%) rename src/content/translations/ro/developers/tutorials/{send-token-etherjs => send-token-ethersjs}/index.md (100%) rename src/content/translations/tr/developers/tutorials/{send-token-etherjs => send-token-ethersjs}/index.md (100%) rename src/content/translations/zh/developers/tutorials/{send-token-etherjs => send-token-ethersjs}/index.md (100%) diff --git a/src/content/contributing/translation-program/content-buckets/index.md b/src/content/contributing/translation-program/content-buckets/index.md index 77d0a14e28e..5a750136799 100644 --- a/src/content/contributing/translation-program/content-buckets/index.md +++ b/src/content/contributing/translation-program/content-buckets/index.md @@ -296,7 +296,7 @@ Below is a breakdown of the website pages each content bucket contains. - [Interact with other contracts from Solidity](/developers/tutorials/interact-with-other-contracts-from-solidity/) - [NFT Minter tutorial](/developers/tutorials/nft-minter/) - [Reverse engineering a contract](/developers/tutorials/reverse-engineering-a-contract/) -- [Sending tokens using ethers.js](/developers/tutorials/send-token-etherjs/) +- [Sending tokens using ethers.js](/developers/tutorials/send-token-ethersjs/) - [The Graph: Fixing Web3 data querying](/developers/tutorials/the-graph-fixing-web3-data-querying/) - [Transfers and approval of ERC-20 tokens from a Solidity smart contract](/developers/tutorials/transfers-and-approval-of-erc-20-tokens-from-a-solidity-smart-contract/) diff --git a/src/content/developers/tutorials/send-token-etherjs/index.md b/src/content/developers/tutorials/send-token-ethersjs/index.md similarity index 100% rename from src/content/developers/tutorials/send-token-etherjs/index.md rename to src/content/developers/tutorials/send-token-ethersjs/index.md diff --git a/src/content/developers/tutorials/send-token-etherjs/successful-transaction.png b/src/content/developers/tutorials/send-token-ethersjs/successful-transaction.png similarity index 100% rename from src/content/developers/tutorials/send-token-etherjs/successful-transaction.png rename to src/content/developers/tutorials/send-token-ethersjs/successful-transaction.png diff --git a/src/content/translations/fr/developers/tutorials/send-token-etherjs/index.md b/src/content/translations/fr/developers/tutorials/send-token-ethersjs/index.md similarity index 100% rename from src/content/translations/fr/developers/tutorials/send-token-etherjs/index.md rename to src/content/translations/fr/developers/tutorials/send-token-ethersjs/index.md diff --git a/src/content/translations/id/developers/tutorials/send-token-etherjs/index.md b/src/content/translations/id/developers/tutorials/send-token-ethersjs/index.md similarity index 100% rename from src/content/translations/id/developers/tutorials/send-token-etherjs/index.md rename to src/content/translations/id/developers/tutorials/send-token-ethersjs/index.md diff --git a/src/content/translations/it/developers/tutorials/send-token-etherjs/index.md b/src/content/translations/it/developers/tutorials/send-token-ethersjs/index.md similarity index 100% rename from src/content/translations/it/developers/tutorials/send-token-etherjs/index.md rename to src/content/translations/it/developers/tutorials/send-token-ethersjs/index.md diff --git a/src/content/translations/ja/developers/tutorials/send-token-etherjs/index.md b/src/content/translations/ja/developers/tutorials/send-token-ethersjs/index.md similarity index 100% rename from src/content/translations/ja/developers/tutorials/send-token-etherjs/index.md rename to src/content/translations/ja/developers/tutorials/send-token-ethersjs/index.md diff --git a/src/content/translations/ro/developers/tutorials/send-token-etherjs/index.md b/src/content/translations/ro/developers/tutorials/send-token-ethersjs/index.md similarity index 100% rename from src/content/translations/ro/developers/tutorials/send-token-etherjs/index.md rename to src/content/translations/ro/developers/tutorials/send-token-ethersjs/index.md diff --git a/src/content/translations/tr/developers/tutorials/send-token-etherjs/index.md b/src/content/translations/tr/developers/tutorials/send-token-ethersjs/index.md similarity index 100% rename from src/content/translations/tr/developers/tutorials/send-token-etherjs/index.md rename to src/content/translations/tr/developers/tutorials/send-token-ethersjs/index.md diff --git a/src/content/translations/zh/developers/tutorials/send-token-etherjs/index.md b/src/content/translations/zh/developers/tutorials/send-token-ethersjs/index.md similarity index 100% rename from src/content/translations/zh/developers/tutorials/send-token-etherjs/index.md rename to src/content/translations/zh/developers/tutorials/send-token-ethersjs/index.md diff --git a/src/data/crowdin/file-ids.json b/src/data/crowdin/file-ids.json index 91f0f66be43..e529e9132d1 100644 --- a/src/data/crowdin/file-ids.json +++ b/src/data/crowdin/file-ids.json @@ -465,7 +465,7 @@ }, { "id": 6247, - "path": "/developers/tutorials/send-token-etherjs/index.md" + "path": "/developers/tutorials/send-token-ethersjs/index.md" }, { "id": 6432, From d2fe8cbbc4211532c268bc2eac5f64727c47ffad Mon Sep 17 00:00:00 2001 From: tylerapfledderer Date: Tue, 14 Nov 2023 18:38:50 -0500 Subject: [PATCH 23/51] fix(HubHero): create semantic token for content background color --- src/@chakra-ui/gatsby-plugin/semanticTokens.ts | 4 ++++ src/components/Hero/HubHero/index.tsx | 16 ++-------------- 2 files changed, 6 insertions(+), 14 deletions(-) diff --git a/src/@chakra-ui/gatsby-plugin/semanticTokens.ts b/src/@chakra-ui/gatsby-plugin/semanticTokens.ts index 4dca22e0c21..95af3bb8253 100644 --- a/src/@chakra-ui/gatsby-plugin/semanticTokens.ts +++ b/src/@chakra-ui/gatsby-plugin/semanticTokens.ts @@ -92,6 +92,10 @@ const semanticTokens = { _dark: "whiteAlpha.400", }, switchBackground: { _light: "gray.300", _dark: "whiteAlpha.400" }, + hubHeroContentBg: { + _light: "rgba(255, 255, 255, 0.80)", + _dark: "rgba(34, 34, 34, 0.80)", + }, }, gradients: { bgMainGradient: { diff --git a/src/components/Hero/HubHero/index.tsx b/src/components/Hero/HubHero/index.tsx index 4dfcd821ad1..cace8031bc5 100644 --- a/src/components/Hero/HubHero/index.tsx +++ b/src/components/Hero/HubHero/index.tsx @@ -1,12 +1,5 @@ import * as React from "react" -import { - Box, - Heading, - HStack, - Stack, - Text, - useColorModeValue, -} from "@chakra-ui/react" +import { Box, Heading, HStack, Stack, Text } from "@chakra-ui/react" import GatsbyImage from "../../GatsbyImage" import { CallToAction } from "../CallToAction" import { CommonHeroProps } from "../utils" @@ -22,11 +15,6 @@ const HubHero = (props: HubHeroProps) => { ) } - const largeContentBg = useColorModeValue( - "rgba(255, 255, 255, 0.80)", - "rgba(34, 34, 34, 0.80)" - ) - return ( { p={{ base: "4", lg: "8" }} textAlign={{ base: "center", xl: "start" }} borderRadius={{ xl: "base" }} - bg={{ xl: largeContentBg }} + bg={{ xl: "hubHeroContentBg" }} position={{ xl: "absolute" }} insetStart={{ xl: "8" }} maxW={{ xl: "sm" }} From 3538b77bad8d24a86d1320f59b6524ac2b37d551 Mon Sep 17 00:00:00 2001 From: Aryan Keluskar Date: Wed, 15 Nov 2023 08:27:30 +0530 Subject: [PATCH 24/51] Fixed links as per issue #11643 The link to "An Intro to Secret Contracts" was broken as per issue #11643 therefore I added the updated link. --- src/content/developers/docs/programming-languages/rust/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/developers/docs/programming-languages/rust/index.md b/src/content/developers/docs/programming-languages/rust/index.md index a0eaf7795d3..96443118175 100644 --- a/src/content/developers/docs/programming-languages/rust/index.md +++ b/src/content/developers/docs/programming-languages/rust/index.md @@ -35,7 +35,7 @@ Need a more basic primer first? Check out [ethereum.org/learn](/learn/) or [ethe - [Build A Decentralized Chat Using JavaScript and Rust](https://medium.com/perlin-network/build-a-decentralized-chat-using-javascript-rust-webassembly-c775f8484b52) - [Build a Decentralized Todo App Using Vue.js & Rust](https://medium.com/@jjmace01/build-a-decentralized-todo-app-using-vue-js-rust-webassembly-5381a1895beb) -- [An Intro to Secret Contracts](https://blog.enigma.co/getting-started-with-enigma-an-intro-to-secret-contracts-cdba4fe501c2) +- [An Intro to Secret Contracts](https://docs.scrt.network/secret-network-documentation/development/secret-contract-fundamentals/secret-contracts-introduction) - [Build a blockchain in Rust](https://blog.logrocket.com/how-to-build-a-blockchain-in-rust/) ## Rust projects and tools {#rust-projects-and-tools} From bd64e673b0e5dffeaf7df3e01188dac04958432c Mon Sep 17 00:00:00 2001 From: SihanoukSolver29 <150921296+SihanoukSolver29@users.noreply.github.com> Date: Wed, 15 Nov 2023 16:17:34 +0000 Subject: [PATCH 25/51] improve clarity in fuzzing technique description --- .../how-to-use-echidna-to-test-smart-contracts/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/developers/tutorials/how-to-use-echidna-to-test-smart-contracts/index.md b/src/content/developers/tutorials/how-to-use-echidna-to-test-smart-contracts/index.md index dbee83e815b..808fee7f921 100644 --- a/src/content/developers/tutorials/how-to-use-echidna-to-test-smart-contracts/index.md +++ b/src/content/developers/tutorials/how-to-use-echidna-to-test-smart-contracts/index.md @@ -40,7 +40,7 @@ Echidna is a property-based fuzzer, we described in our previous blogposts ([1]( ### Fuzzing {#fuzzing} -[Fuzzing](https://wikipedia.org/wiki/Fuzzing) is a well-known technique in the security community. It consists to generate more or less randomly inputs to find bugs in the program. Fuzzers for traditional software (such as [AFL](http://lcamtuf.coredump.cx/afl/) or [LibFuzzer](https://llvm.org/docs/LibFuzzer.html)) are known to be efficient tools to find bugs. +[Fuzzing](https://wikipedia.org/wiki/Fuzzing) is a well-known technique in the security community. It consists of generating inputs that are more or less random to find bugs in the program. Fuzzers for traditional software (such as [AFL](http://lcamtuf.coredump.cx/afl/) or [LibFuzzer](https://llvm.org/docs/LibFuzzer.html)) are known to be efficient tools to find bugs. Beyond the purely random generation of inputs, there are many techniques and strategies to generate good inputs, including: From 73af58ce65e484de4b81f9fcdbac4562ead65b7a Mon Sep 17 00:00:00 2001 From: SihanoukSolver29 <150921296+SihanoukSolver29@users.noreply.github.com> Date: Wed, 15 Nov 2023 16:29:44 +0000 Subject: [PATCH 26/51] fix typographical error in description field --- .../developers/tutorials/how-to-view-nft-in-metamask/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/developers/tutorials/how-to-view-nft-in-metamask/index.md b/src/content/developers/tutorials/how-to-view-nft-in-metamask/index.md index fea5c324215..b89d991a3ae 100644 --- a/src/content/developers/tutorials/how-to-view-nft-in-metamask/index.md +++ b/src/content/developers/tutorials/how-to-view-nft-in-metamask/index.md @@ -1,6 +1,6 @@ --- title: How to View Your NFT in Your Wallet (Part 3/3 of NFT Tutorial Series) -description: This tutorial describes how to view an existing an NFT on MetaMask! +description: This tutorial describes how to view an existing NFT on MetaMask! author: "Sumi Mudgil" tags: ["ERC-721", "Alchemy", "Solidity"] skill: beginner From a3c3bfdd0ff8eaafb748fb250e06be2a0a3e5692 Mon Sep 17 00:00:00 2001 From: SihanoukSolver29 <150921296+SihanoukSolver29@users.noreply.github.com> Date: Wed, 15 Nov 2023 17:05:31 +0000 Subject: [PATCH 27/51] docs: Improved grammar in Ethereum tutorial --- .../learn-foundational-ethereum-topics-with-sql/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/developers/tutorials/learn-foundational-ethereum-topics-with-sql/index.md b/src/content/developers/tutorials/learn-foundational-ethereum-topics-with-sql/index.md index 4579381f70d..40bdfcbcdd6 100644 --- a/src/content/developers/tutorials/learn-foundational-ethereum-topics-with-sql/index.md +++ b/src/content/developers/tutorials/learn-foundational-ethereum-topics-with-sql/index.md @@ -10,7 +10,7 @@ source: paulapivat.com sourceUrl: https://paulapivat.com/post/query_ethereum/ --- -Many Ethereum tutorials target developers, but there’s a lack of educational resources for data analyst or for people who wish to see on-chain data without running a client or node. +Many Ethereum tutorials target developers, but there’s a lack of educational resources for data analysts or for people who wish to see on-chain data without running a client or node. This tutorial helps readers understand fundamental Ethereum concepts including transactions, blocks and gas by querying on-chain data with structured query language (SQL) through an interface provided by [Dune Analytics](https://dune.xyz/home). @@ -26,7 +26,7 @@ However, a user may wish to query the data directly to reconcile the information For reference, the smart contract account for the Ethereum Foundation (EF) can be viewed on [Etherscan](https://etherscan.io/address/0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae). -One thing to note is that all accounts, including the EF’s, has a public address that can be used to send and receive transactions. +One thing to note is that all accounts, including the EF’s, have a public address that can be used to send and receive transactions. The account balance on Etherscan comprises regular transactions and internal transactions. Internal transactions, despite the name, are not _actual_ transactions that change the state of the chain. They are value transfers initiated by executing a contract ([source](https://ethereum.stackexchange.com/questions/3417/how-to-get-contract-internal-transactions)). Since internal transactions have no signature, they are **not** included on the blockchain and cannot be queried with Dune Analytics. From 517f1fd17bdee09e9b3ca03058aa7fc50508a546 Mon Sep 17 00:00:00 2001 From: SihanoukSolver29 <150921296+SihanoukSolver29@users.noreply.github.com> Date: Wed, 15 Nov 2023 17:23:02 +0000 Subject: [PATCH 28/51] Fix Typo: Correct 'up to data opcode table' to 'up to date opcode table' --- .../tutorials/reverse-engineering-a-contract/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/developers/tutorials/reverse-engineering-a-contract/index.md b/src/content/developers/tutorials/reverse-engineering-a-contract/index.md index 300c8fb0f69..073c1063104 100644 --- a/src/content/developers/tutorials/reverse-engineering-a-contract/index.md +++ b/src/content/developers/tutorials/reverse-engineering-a-contract/index.md @@ -274,7 +274,7 @@ If the call data size is four bytes or more this might be a valid ABI call. | 10 | PUSH1 0xe0 | 0xE0 (((First word (256 bits) of the call data))) | | 12 | SHR | (((first 32 bits (4 bytes) of the call data))) | -Etherscan tells us that `1C` is an unknown opcode, because [it was added after Etherscan wrote this feature](https://eips.ethereum.org/EIPS/eip-145) and they haven't updated it. An [up to data opcode table](https://github.com/wolflo/evm-opcodes) shows us that this is shift right +Etherscan tells us that `1C` is an unknown opcode, because [it was added after Etherscan wrote this feature](https://eips.ethereum.org/EIPS/eip-145) and they haven't updated it. An [up to date opcode table](https://github.com/wolflo/evm-opcodes) shows us that this is shift right | Offset | Opcode | Stack | | -----: | ---------------- | -------------------------------------------------------------------------------------------------------- | From e00a7c16d7a2f8c3da7c474a818d7be56d552356 Mon Sep 17 00:00:00 2001 From: Zheng Fu <24203166+fuzheng1998@users.noreply.github.com> Date: Thu, 16 Nov 2023 20:32:47 +1100 Subject: [PATCH 29/51] Add zIndex to LeftNavBar for dropdown functionality --- src/components/LeftNavBar/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/LeftNavBar/index.tsx b/src/components/LeftNavBar/index.tsx index aaa1abc7d41..8d277d65789 100644 --- a/src/components/LeftNavBar/index.tsx +++ b/src/components/LeftNavBar/index.tsx @@ -51,6 +51,7 @@ const LeftNavBar: React.FC = ({ position="sticky" top="6.25rem" height={calc("100vh").subtract("80px").toString()} + zIndex="dropdown" {...props} > {dropdownLinks && } From 3e370993808a2a21e1b4e3e7adbd3d1666e10c45 Mon Sep 17 00:00:00 2001 From: Yang Hau Date: Thu, 16 Nov 2023 18:16:32 +0800 Subject: [PATCH 30/51] Use Merkle tree root be scpecific --- src/content/developers/docs/scaling/zk-rollups/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/developers/docs/scaling/zk-rollups/index.md b/src/content/developers/docs/scaling/zk-rollups/index.md index f1e903b8fd4..9a487efb43c 100644 --- a/src/content/developers/docs/scaling/zk-rollups/index.md +++ b/src/content/developers/docs/scaling/zk-rollups/index.md @@ -117,7 +117,7 @@ Before accepting transactions, the operator will perform the usual checks. This Once the ZK-rollup node has enough transactions, it aggregates them into a batch and compiles inputs for the proving circuit to compile into a succinct ZK-proof. This includes: -- A Merkle tree comprising all the transactions in the batch. +- A Merkle tree root comprising all the transactions in the batch. - Merkle proofs for transactions to prove inclusion in the batch. - Merkle proofs for each sender-receiver pair in transactions to prove those accounts are part of the rollup's state tree. - A set of intermediate state roots, derived from updating the state root after applying state updates for each transaction (i.e., decreasing sender accounts and increasing receiver accounts). From a008fd7a3e5e98a19c1bfbac98fe02a9d25ddfc8 Mon Sep 17 00:00:00 2001 From: Roomak Date: Thu, 16 Nov 2023 12:17:37 -0500 Subject: [PATCH 31/51] Fix typo in README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 53c90802d41..6d787b35116 100644 --- a/README.md +++ b/README.md @@ -122,7 +122,7 @@ To use an existing function locally you don't need to do anything. Just check th To create a new function, you will need to create two files: - One in `src/lambda` where the logic will live. These are the ones that will be deployed to Netlify. These functions follow [this format](https://docs.netlify.com/functions/build-with-javascript/#synchronous-function-format). -- One in `src/api` that will be just a wrapper around the previous one in order to be compatible with Gatsby functions. More on the [Gatbsy docs](https://www.gatsbyjs.com/docs/reference/functions/getting-started/) for the format they follow. +- One in `src/api` that will be just a wrapper around the previous one in order to be compatible with Gatsby functions. More on the [Gatsby docs](https://www.gatsbyjs.com/docs/reference/functions/getting-started/) for the format they follow. Typically, you will develop and test functions in the Gatsby context, by running `yarn start`. From b1a6c08c534e219e4536c1e7fd6fa6c3d65ae3be Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 19:34:05 +0000 Subject: [PATCH 32/51] Bump sharp from 0.32.4 to 0.32.6 Bumps [sharp](https://github.com/lovell/sharp) from 0.32.4 to 0.32.6. - [Release notes](https://github.com/lovell/sharp/releases) - [Changelog](https://github.com/lovell/sharp/blob/main/docs/changelog.md) - [Commits](https://github.com/lovell/sharp/compare/v0.32.4...v0.32.6) --- updated-dependencies: - dependency-name: sharp dependency-type: indirect ... Signed-off-by: dependabot[bot] --- yarn.lock | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/yarn.lock b/yarn.lock index a4e0e4d268f..a1197c504f5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -16641,21 +16641,7 @@ shallow-compare@^1.2.2: resolved "https://registry.yarnpkg.com/shallow-compare/-/shallow-compare-1.2.2.tgz#fa4794627bf455a47c4f56881d8a6132d581ffdb" integrity sha512-LUMFi+RppPlrHzbqmFnINTrazo0lPNwhcgzuAXVVcfy/mqPDrQmHAyz5bvV0gDAuRFrk804V0HpQ6u9sZ0tBeg== -sharp@^0.32.1: - version "0.32.4" - resolved "https://registry.yarnpkg.com/sharp/-/sharp-0.32.4.tgz#0354653b7924f2520b2264ac9bcd10a58bf411b6" - integrity sha512-exUnZewqVZC6UXqXuQ8fyJJv0M968feBi04jb9GcUHrWtkRoAKnbJt8IfwT4NJs7FskArbJ14JAFGVuooszoGg== - dependencies: - color "^4.2.3" - detect-libc "^2.0.2" - node-addon-api "^6.1.0" - prebuild-install "^7.1.1" - semver "^7.5.4" - simple-get "^4.0.1" - tar-fs "^3.0.4" - tunnel-agent "^0.6.0" - -sharp@^0.32.6: +sharp@^0.32.1, sharp@^0.32.6: version "0.32.6" resolved "https://registry.yarnpkg.com/sharp/-/sharp-0.32.6.tgz#6ad30c0b7cd910df65d5f355f774aa4fce45732a" integrity sha512-KyLTWwgcR9Oe4d9HwCwNM2l7+J0dUQwn/yf7S0EnTtb0eVS4RxO0eUSvxPtzT4F3SY+C4K6fqdv/DO27sJ/v/w== From 9205cfa38fd8cd1bd9b8e08c78e6f4d2ea04cb4a Mon Sep 17 00:00:00 2001 From: Corwin Smith Date: Thu, 16 Nov 2023 13:10:53 -0700 Subject: [PATCH 33/51] Update src/content/developers/docs/programming-languages/rust/index.md --- src/content/developers/docs/programming-languages/rust/index.md | 1 - 1 file changed, 1 deletion(-) diff --git a/src/content/developers/docs/programming-languages/rust/index.md b/src/content/developers/docs/programming-languages/rust/index.md index 96443118175..8ac5de62797 100644 --- a/src/content/developers/docs/programming-languages/rust/index.md +++ b/src/content/developers/docs/programming-languages/rust/index.md @@ -35,7 +35,6 @@ Need a more basic primer first? Check out [ethereum.org/learn](/learn/) or [ethe - [Build A Decentralized Chat Using JavaScript and Rust](https://medium.com/perlin-network/build-a-decentralized-chat-using-javascript-rust-webassembly-c775f8484b52) - [Build a Decentralized Todo App Using Vue.js & Rust](https://medium.com/@jjmace01/build-a-decentralized-todo-app-using-vue-js-rust-webassembly-5381a1895beb) -- [An Intro to Secret Contracts](https://docs.scrt.network/secret-network-documentation/development/secret-contract-fundamentals/secret-contracts-introduction) - [Build a blockchain in Rust](https://blog.logrocket.com/how-to-build-a-blockchain-in-rust/) ## Rust projects and tools {#rust-projects-and-tools} From 9ed165df095f2345e11ece9b42f6d0db2186124c Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Fri, 17 Nov 2023 08:34:09 +0000 Subject: [PATCH 34/51] docs: update README.md [skip ci] --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 6d787b35116..e3bda8f839f 100644 --- a/README.md +++ b/README.md @@ -1692,6 +1692,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d Konstantin Zolotarev
Konstantin Zolotarev

🖋 vuittont60
vuittont60

🖋 Golden Ite
Golden Ite

🖋 + Erlangshen219
Erlangshen219

🖋 From 1e024719b34776c5a442622a7bb0c6351ca3a41e Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Fri, 17 Nov 2023 08:34:10 +0000 Subject: [PATCH 35/51] docs: update .all-contributorsrc [skip ci] --- .all-contributorsrc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.all-contributorsrc b/.all-contributorsrc index 4d52b6eab8f..ef2079d741e 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -10830,6 +10830,15 @@ "contributions": [ "content" ] + }, + { + "login": "Erlangshen219", + "name": "Erlangshen219", + "avatar_url": "https://avatars.githubusercontent.com/u/104747507?v=4", + "profile": "https://github.com/Erlangshen219", + "contributions": [ + "content" + ] } ], "contributorsPerLine": 7, From 68ad15ae80cbc0050b9df32f81549ad290f8bd9a Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Fri, 17 Nov 2023 08:48:08 +0000 Subject: [PATCH 36/51] docs: update README.md [skip ci] --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index e3bda8f839f..70af5be54f0 100644 --- a/README.md +++ b/README.md @@ -1693,6 +1693,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d vuittont60
vuittont60

🖋 Golden Ite
Golden Ite

🖋 Erlangshen219
Erlangshen219

🖋 + AyDeveloper
AyDeveloper

🖋 From c562ed4b6f701cd39bf7b7b4ab5eea42580d1a3f Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Fri, 17 Nov 2023 08:48:09 +0000 Subject: [PATCH 37/51] docs: update .all-contributorsrc [skip ci] --- .all-contributorsrc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.all-contributorsrc b/.all-contributorsrc index ef2079d741e..61eb3929052 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -10839,6 +10839,15 @@ "contributions": [ "content" ] + }, + { + "login": "AyDeveloper", + "name": "AyDeveloper", + "avatar_url": "https://avatars.githubusercontent.com/u/72970379?v=4", + "profile": "https://oxpampam.netlify.app/", + "contributions": [ + "content" + ] } ], "contributorsPerLine": 7, From 7ad4aeb07a29746a4714cf85744fe8d76b71f3e6 Mon Sep 17 00:00:00 2001 From: Corwin Smith Date: Fri, 17 Nov 2023 12:04:13 +0300 Subject: [PATCH 38/51] Update description --- src/content/developers/docs/scaling/zk-rollups/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/developers/docs/scaling/zk-rollups/index.md b/src/content/developers/docs/scaling/zk-rollups/index.md index 0677409d33d..8e0c53ad098 100644 --- a/src/content/developers/docs/scaling/zk-rollups/index.md +++ b/src/content/developers/docs/scaling/zk-rollups/index.md @@ -242,7 +242,7 @@ Projects working on zkEVMs include: - **[ZKSync](https://docs.zksync.io/zkevm/)** - _ZkSync Era is an EVM-compatible ZK Rollup built by Matter Labs, powered by its own zkEVM._ -- **[Starknet](https://starkware.co/starknet/)** - _StarkNet is another EVM-compatible layer 2 scaling solution that uses a different approach called Validium._ +- **[Starknet](https://starkware.co/starknet/)** - _StarkNet is an EVM-compatible layer 2 scaling solution built by StarkWare._ ## Further reading on ZK-rollups reading {#further-reading-on-zk-rollups} From 79ff284b6f6e6c741e092f7756ed0ac717bd2b9b Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Fri, 17 Nov 2023 09:05:59 +0000 Subject: [PATCH 39/51] docs: update README.md [skip ci] --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 70af5be54f0..e262be450b2 100644 --- a/README.md +++ b/README.md @@ -1694,6 +1694,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d Golden Ite
Golden Ite

🖋 Erlangshen219
Erlangshen219

🖋 AyDeveloper
AyDeveloper

🖋 + jeremyfritzen
jeremyfritzen

🖋 From daedc6dafc992839f992ef3cd4ef1f6289a0fc09 Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Fri, 17 Nov 2023 09:06:00 +0000 Subject: [PATCH 40/51] docs: update .all-contributorsrc [skip ci] --- .all-contributorsrc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.all-contributorsrc b/.all-contributorsrc index 61eb3929052..56b01b4dfc2 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -10848,6 +10848,15 @@ "contributions": [ "content" ] + }, + { + "login": "jeremyfritzen", + "name": "jeremyfritzen", + "avatar_url": "https://avatars.githubusercontent.com/u/26802442?v=4", + "profile": "https://github.com/jeremyfritzen", + "contributions": [ + "content" + ] } ], "contributorsPerLine": 7, From 3257b1a6906db6f1be328a334d20563eca8aff9f Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Fri, 17 Nov 2023 10:08:44 +0000 Subject: [PATCH 41/51] docs: update README.md [skip ci] --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index e262be450b2..a2aa95f1739 100644 --- a/README.md +++ b/README.md @@ -1696,6 +1696,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d AyDeveloper
AyDeveloper

🖋 jeremyfritzen
jeremyfritzen

🖋 + + Zheng Fu
Zheng Fu

💻 + From 0ef782656846135779b00af39fac046b1b742d4f Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Fri, 17 Nov 2023 10:08:45 +0000 Subject: [PATCH 42/51] docs: update .all-contributorsrc [skip ci] --- .all-contributorsrc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.all-contributorsrc b/.all-contributorsrc index 56b01b4dfc2..028dd4ed48c 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -10857,6 +10857,15 @@ "contributions": [ "content" ] + }, + { + "login": "fuzheng1998", + "name": "Zheng Fu", + "avatar_url": "https://avatars.githubusercontent.com/u/24203166?v=4", + "profile": "https://github.com/fuzheng1998", + "contributions": [ + "code" + ] } ], "contributorsPerLine": 7, From b10308358d56f50e21e6b4e5f363ea40933a2e8b Mon Sep 17 00:00:00 2001 From: 0xMilica <0xmilica@gmail.com> Date: Fri, 17 Nov 2023 17:05:01 +0300 Subject: [PATCH 43/51] fix:grammar typo --- src/intl/en/page-staking.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intl/en/page-staking.json b/src/intl/en/page-staking.json index e8a4a63f757..950e31d96bd 100644 --- a/src/intl/en/page-staking.json +++ b/src/intl/en/page-staking.json @@ -173,7 +173,7 @@ "page-staking-section-comparison-solo-rewards-li3": "You'll also receive unburnt transaction fees for blocks you propose", "page-staking-section-comparison-saas-rewards-li1": "Usually involves full protocol rewards minus monthly fee for node operations", "page-staking-section-comparison-saas-rewards-li2": "Dashboards often available to easily track your validator client", - "page-staking-section-comparison-pools-rewards-li1": "Pooled stakers accrue rewards differently, depending on which method of pooled staking chosen", + "page-staking-section-comparison-pools-rewards-li1": "Pooled stakers accrue rewards differently, depending on which method of pooled staking is chosen", "page-staking-section-comparison-pools-rewards-li2": "Many pooled staking services offer one or more liquidity tokens that represents your staked ETH plus your share of the validator rewards", "page-staking-section-comparison-pools-rewards-li3": "Liquidity tokens can be held in your own wallet, used in DeFi and sold if you decide to exit", "page-staking-section-comparison-risks-title": "Risks", From 11166b97c0edb97228fc892c8624f89c3c039919 Mon Sep 17 00:00:00 2001 From: Corwin Smith Date: Fri, 17 Nov 2023 19:52:45 +0300 Subject: [PATCH 44/51] remove unnecessary truffle article --- src/content/developers/docs/smart-contracts/testing/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/developers/docs/smart-contracts/testing/index.md b/src/content/developers/docs/smart-contracts/testing/index.md index c0216dd357e..221d1ebba6a 100644 --- a/src/content/developers/docs/smart-contracts/testing/index.md +++ b/src/content/developers/docs/smart-contracts/testing/index.md @@ -283,12 +283,12 @@ The major difference is that bug bounty programs are open to the wider developer - **[Diligence Scribble](https://consensys.net/diligence/scribble/)** - _Scribble is a specification language and runtime verification tool that allows you to annotate smart contracts with properties that allow you to automatically test the contracts with tools such as Diligence Fuzzing or MythX._ ## Related tutorials {#related-tutorials} + - [An overview and comparison of different testing products](/developers/tutorials/guide-to-smart-contract-security-tools/) \_ - [How to use Echidna to test smart contracts](/developers/tutorials/how-to-use-echidna-to-test-smart-contracts/) - [How to use Manticore to find smart contract bugs](/developers/tutorials/how-to-use-manticore-to-find-smart-contract-bugs/) - [How to use Slither to find smart contract bugs](/developers/tutorials/how-to-use-slither-to-find-smart-contract-bugs/) - [How to mock Solidity contracts for testing](/developers/tutorials/how-to-mock-solidity-contracts-for-testing/) -- [How to migrate from Truffle Tests to OpenZeppelin Test Environment](https://docs.openzeppelin.com/test-environment/0.1/migrating-from-truffle) - [How to run unit tests in Solidity using Foundry](https://www.rareskills.io/post/foundry-testing-solidity) ## Further reading {#further-reading} From 0f0134ebe33d58cee7f2575d0f9526b7e9582e6a Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Sun, 19 Nov 2023 01:59:02 +0000 Subject: [PATCH 45/51] Update Crowdin contributors --- src/data/crowdin/combined-translators.json | 286 +++++++++++++++--- src/data/crowdin/file-ids.json | 6 +- .../crowdin/translation-buckets-dirs.json | 4 +- 3 files changed, 253 insertions(+), 43 deletions(-) diff --git a/src/data/crowdin/combined-translators.json b/src/data/crowdin/combined-translators.json index eb2160c51c2..6ab0e55ea0c 100644 --- a/src/data/crowdin/combined-translators.json +++ b/src/data/crowdin/combined-translators.json @@ -2256,6 +2256,12 @@ "totalCosts": 108.07, "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/13959389/medium/8163669279ee4bd20f4b7db97f6000fa.png" }, + { + "id": 15123193, + "username": "Coram_Deo", + "totalCosts": 40.4, + "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/15123193/medium/b3211607cc43c707c0034f7502299d8d.jpeg" + }, { "id": 15082843, "username": "StevenR73", @@ -2496,7 +2502,7 @@ { "id": 15123193, "username": "Coram_Deo", - "totalCosts": 266.64, + "totalCosts": 675.69, "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/15123193/medium/b3211607cc43c707c0034f7502299d8d.jpeg" }, { @@ -3825,7 +3831,7 @@ { "id": 15123193, "username": "Coram_Deo", - "totalCosts": 626.2, + "totalCosts": 654.48, "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/15123193/medium/b3211607cc43c707c0034f7502299d8d.jpeg" }, { @@ -4262,7 +4268,7 @@ { "id": 15123193, "username": "Coram_Deo", - "totalCosts": 780.73, + "totalCosts": 813.05, "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/15123193/medium/b3211607cc43c707c0034f7502299d8d.jpeg" }, { @@ -5679,6 +5685,17 @@ "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/15072667/medium/d1405ff868ce11c7a8dca644586df76d.jpeg" } ] + }, + { + "fileId": "8035", + "contributors": [ + { + "id": 14568334, + "username": "mr_giorgos", + "totalCosts": 1194.83, + "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/14568334/medium/245b5c69aab62ffabb575daf603b70b8.jpg" + } + ] } ] }, @@ -6084,6 +6101,12 @@ "totalCosts": 414.1, "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/14559630/medium/fe2910f8bbc5bd2e5c7a41ca4303943b.jpg" }, + { + "id": 15714091, + "username": "Karym_GG", + "totalCosts": 143.42, + "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/15714091/medium/69afa2fb791e1be17640c54018cb4e2e_default.png" + }, { "id": 15212248, "username": "edoga.salinas", @@ -7518,7 +7541,7 @@ { "id": 15194310, "username": "MGETH", - "totalCosts": 1077.67, + "totalCosts": 1252.4, "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/15194310/medium/7729d9dbda8c9420c26f689b4a2b2918.jpg" }, { @@ -7527,6 +7550,12 @@ "totalCosts": 971.62, "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/15966607/medium/233013bfe6b35fd53264071d722f63f1.png" }, + { + "id": 15714091, + "username": "Karym_GG", + "totalCosts": 326.23, + "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/15714091/medium/69afa2fb791e1be17640c54018cb4e2e_default.png" + }, { "id": 15874711, "username": "JHON38", @@ -9491,7 +9520,7 @@ { "id": 15194310, "username": "MGETH", - "totalCosts": 138.37, + "totalCosts": 157.56, "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/15194310/medium/7729d9dbda8c9420c26f689b4a2b2918.jpg" }, { @@ -9554,6 +9583,12 @@ "totalCosts": 12.12, "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/15591241/medium/95b8d3d8e402c5507b24ea5a61d89c82_default.png" }, + { + "id": 15452582, + "username": "fabiancripto", + "totalCosts": 9.09, + "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/15452582/medium/7e9b4cc6037bd59c87fc101074e94c52.jpeg" + }, { "id": 15485432, "username": "invrhino", @@ -12038,6 +12073,12 @@ "totalCosts": 721.14, "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/15553253/medium/2077ec790711bf21dd6cad91f776f003.png" }, + { + "id": 15714091, + "username": "Karym_GG", + "totalCosts": 473.69, + "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/15714091/medium/69afa2fb791e1be17640c54018cb4e2e_default.png" + }, { "id": 16028920, "username": "paopastorelli", @@ -12050,12 +12091,6 @@ "totalCosts": 328.25, "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/15946267/medium/094f1891b25266289c4aa5df7b08cfb7.jpg" }, - { - "id": 15714091, - "username": "Karym_GG", - "totalCosts": 172.71, - "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/15714091/medium/69afa2fb791e1be17640c54018cb4e2e_default.png" - }, { "id": 15035059, "username": "LucasVelazquez", @@ -18858,6 +18893,18 @@ { "fileId": "6183", "contributors": [ + { + "id": 15954931, + "username": "XofEE", + "totalCosts": 319.16, + "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/15954931/medium/7254d648c451b822632980e5bfcb61fa.png" + }, + { + "id": 12844463, + "username": "MATsxm", + "totalCosts": 194.93, + "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/12844463/medium/6fae27edb4b41f363587f737ea2f96de.jpg" + }, { "id": 17361, "username": "plamarque", @@ -18876,12 +18923,6 @@ "totalCosts": 44.44, "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/15396412/medium/e3ea869880271105d1c5b63e8a4f3040.jpeg" }, - { - "id": 12844463, - "username": "MATsxm", - "totalCosts": 20.2, - "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/12844463/medium/6fae27edb4b41f363587f737ea2f96de.jpg" - }, { "id": 15966553, "username": "bamcryptobam1", @@ -19217,6 +19258,12 @@ { "fileId": "5565", "contributors": [ + { + "id": 12844463, + "username": "MATsxm", + "totalCosts": 355.52, + "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/12844463/medium/6fae27edb4b41f363587f737ea2f96de.jpg" + }, { "id": 14823260, "username": "omahs", @@ -19235,12 +19282,6 @@ "totalCosts": 21.21, "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/14956479/medium/342153a6e0540337ea2efae82b1b98d4.png" }, - { - "id": 12844463, - "username": "MATsxm", - "totalCosts": 11.11, - "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/12844463/medium/6fae27edb4b41f363587f737ea2f96de.jpg" - }, { "id": 13128900, "username": "YannAries", @@ -19430,6 +19471,12 @@ "totalCosts": 27.27, "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/14720694/medium/b348a8c6880d2220f07b5cfaedf66613_default.png" }, + { + "id": 12844463, + "username": "MATsxm", + "totalCosts": 22.22, + "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/12844463/medium/6fae27edb4b41f363587f737ea2f96de.jpg" + }, { "id": 17361, "username": "plamarque", @@ -19442,12 +19489,6 @@ "totalCosts": 17.17, "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/15242140/medium/fc25564d9b4333476a307f2bea0b82a4_default.png" }, - { - "id": 12844463, - "username": "MATsxm", - "totalCosts": 14.14, - "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/12844463/medium/6fae27edb4b41f363587f737ea2f96de.jpg" - }, { "id": 15117761, "username": "Espilon", @@ -21406,6 +21447,17 @@ "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/15956379/medium/435901b02d5b5f77c10fc06ff2c1c3e6.png" } ] + }, + { + "fileId": "7533", + "contributors": [ + { + "id": 15363678, + "username": "Dawyer", + "totalCosts": 306.03, + "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/15363678/medium/50e493deacc1ae7d512f2b38aab07d00.png" + } + ] } ] }, @@ -21643,6 +21695,12 @@ "username": "robertdosa", "totalCosts": 636.3, "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/14357794/medium/a28b741096516a710523b87d9ee07223.png" + }, + { + "id": 15965461, + "username": "Satglow", + "totalCosts": 184.83, + "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/15965461/medium/d0c82c3b7d4885069b13e4b4dc3f2963_default.png" } ] }, @@ -21754,7 +21812,7 @@ { "id": 15965461, "username": "Satglow", - "totalCosts": 655.49, + "totalCosts": 666.6, "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/15965461/medium/d0c82c3b7d4885069b13e4b4dc3f2963_default.png" }, { @@ -21768,18 +21826,18 @@ { "fileId": "2778", "contributors": [ + { + "id": 15965461, + "username": "Satglow", + "totalCosts": 1787.7, + "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/15965461/medium/d0c82c3b7d4885069b13e4b4dc3f2963_default.png" + }, { "id": 14357794, "username": "robertdosa", "totalCosts": 68.68, "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/14357794/medium/a28b741096516a710523b87d9ee07223.png" }, - { - "id": 15965461, - "username": "Satglow", - "totalCosts": 15.15, - "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/15965461/medium/d0c82c3b7d4885069b13e4b4dc3f2963_default.png" - }, { "id": 14680410, "username": "Stanley15", @@ -21791,6 +21849,12 @@ { "fileId": "2776", "contributors": [ + { + "id": 15965461, + "username": "Satglow", + "totalCosts": 1609.94, + "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/15965461/medium/d0c82c3b7d4885069b13e4b4dc3f2963_default.png" + }, { "id": 14357794, "username": "robertdosa", @@ -21972,6 +22036,12 @@ "username": "robertdosa", "totalCosts": 972.63, "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/14357794/medium/a28b741096516a710523b87d9ee07223.png" + }, + { + "id": 15965461, + "username": "Satglow", + "totalCosts": 13.13, + "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/15965461/medium/d0c82c3b7d4885069b13e4b4dc3f2963_default.png" } ] }, @@ -22616,6 +22686,50 @@ "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/15965461/medium/d0c82c3b7d4885069b13e4b4dc3f2963_default.png" } ] + }, + { + "fileId": "6161", + "contributors": [ + { + "id": 15965461, + "username": "Satglow", + "totalCosts": 158.57, + "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/15965461/medium/d0c82c3b7d4885069b13e4b4dc3f2963_default.png" + } + ] + }, + { + "fileId": "8023", + "contributors": [ + { + "id": 15965461, + "username": "Satglow", + "totalCosts": 1997.78, + "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/15965461/medium/d0c82c3b7d4885069b13e4b4dc3f2963_default.png" + } + ] + }, + { + "fileId": "8035", + "contributors": [ + { + "id": 15965461, + "username": "Satglow", + "totalCosts": 1194.83, + "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/15965461/medium/d0c82c3b7d4885069b13e4b4dc3f2963_default.png" + } + ] + }, + { + "fileId": "7591", + "contributors": [ + { + "id": 15965461, + "username": "Satglow", + "totalCosts": 2013.94, + "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/15965461/medium/d0c82c3b7d4885069b13e4b4dc3f2963_default.png" + } + ] } ] }, @@ -30981,6 +31095,29 @@ "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/15266690/medium/beb929d96ab06718fce198051fdffaae.jpg" } ] + }, + { + "fileId": "8023", + "contributors": [ + { + "id": 15266690, + "username": "Fuliggine", + "totalCosts": 1610.95, + "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/15266690/medium/beb929d96ab06718fce198051fdffaae.jpg" + }, + { + "id": 13754187, + "username": "Carla78", + "totalCosts": 394.91, + "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/13754187/medium/37de2106b564cdd5431a9c1f7e091087.png" + }, + { + "id": 16073436, + "username": "g-flex", + "totalCosts": 3.03, + "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/16073436/medium/91dc8be3a27f3a7199bd8286cfb95eb6.jpeg" + } + ] } ] }, @@ -32178,7 +32315,7 @@ { "id": 15208868, "username": "HiroyukiNaito", - "totalCosts": 234.32, + "totalCosts": 1860.42, "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/15208868/medium/4ed4a0a0659f1c63e52f395079aeb3c4.jpg" } ] @@ -35775,6 +35912,28 @@ "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/15208868/medium/4ed4a0a0659f1c63e52f395079aeb3c4.jpg" } ] + }, + { + "fileId": "7717", + "contributors": [ + { + "id": 15208868, + "username": "HiroyukiNaito", + "totalCosts": 1820.02, + "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/15208868/medium/4ed4a0a0659f1c63e52f395079aeb3c4.jpg" + } + ] + }, + { + "fileId": "7745", + "contributors": [ + { + "id": 15208868, + "username": "HiroyukiNaito", + "totalCosts": 2041.21, + "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/15208868/medium/4ed4a0a0659f1c63e52f395079aeb3c4.jpg" + } + ] } ] }, @@ -38876,6 +39035,17 @@ "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/15966401/medium/fa1d0a5129bf7a77c98232488dfc9d98.png" } ] + }, + { + "fileId": "7533", + "contributors": [ + { + "id": 15894449, + "username": "wosek_", + "totalCosts": 306.03, + "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/15894449/medium/a1d92e3a822252a09f842a8a5451c403.jpg" + } + ] } ] }, @@ -40574,6 +40744,12 @@ "totalCosts": 19.19, "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/15317682/medium/81940bf015f6f858cb88c0363d135cfa.jpeg" }, + { + "id": 15849127, + "username": "IagoEmanuel15", + "totalCosts": 4.04, + "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/15849127/medium/e9fee6b4f74f480ba50df5d15b8f9f22.jpg" + }, { "id": 14789894, "username": "Cruca", @@ -40815,6 +40991,12 @@ "username": "borja_reverter", "totalCosts": 16.16, "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/14247352/medium/88273f0b60397d738624b328fe45c13e.png" + }, + { + "id": 16099664, + "username": "yanvictorsn", + "totalCosts": 13.13, + "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/16099664/medium/0be252ecf72e8e4d5021a63cd4ad3353.png" } ] }, @@ -42570,6 +42752,12 @@ { "fileId": "5565", "contributors": [ + { + "id": 16099664, + "username": "yanvictorsn", + "totalCosts": 245.43, + "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/16099664/medium/0be252ecf72e8e4d5021a63cd4ad3353.png" + }, { "id": 15515516, "username": "MCreimer", @@ -66308,6 +66496,17 @@ "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/15837955/medium/8c0a833a266fd86e17f6e6ce9592278d.jpg" } ] + }, + { + "fileId": "7541", + "contributors": [ + { + "id": 15837955, + "username": "Magdalena_", + "totalCosts": 732.25, + "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/15837955/medium/8c0a833a266fd86e17f6e6ce9592278d.jpg" + } + ] } ] }, @@ -66806,6 +67005,17 @@ "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/15109465/medium/117b09058a45ba6e22d9dab42739a314.png" } ] + }, + { + "fileId": "7533", + "contributors": [ + { + "id": 15934037, + "username": "fuji.anggara10", + "totalCosts": 306.03, + "avatarUrl": "https://crowdin-static.downloads.crowdin.com/avatar/15934037/medium/e913f10d6d3550452e0b7c072e15aa40.jpeg" + } + ] } ] }, @@ -67094,4 +67304,4 @@ } ] } -] +] \ No newline at end of file diff --git a/src/data/crowdin/file-ids.json b/src/data/crowdin/file-ids.json index 0f23ab44305..4ddec779184 100644 --- a/src/data/crowdin/file-ids.json +++ b/src/data/crowdin/file-ids.json @@ -469,7 +469,7 @@ }, { "id": 6247, - "path": "/developers/tutorials/send-token-ethersjs/index.md" + "path": "/developers/tutorials/send-token-etherjs/index.md" }, { "id": 6432, @@ -497,7 +497,7 @@ }, { "id": 3116, - "path": "/developers/tutorials/kickstart-your-dapp-frontend-development-with-create-eth-app/index.md" + "path": "/developers/tutorials/kickstart-your-dapp-frontend-development-wth-create-eth-app/index.md" }, { "id": 3120, @@ -1187,4 +1187,4 @@ "id": 7304, "path": "/developers/tutorials/short-abi/index.md" } -] +] \ No newline at end of file diff --git a/src/data/crowdin/translation-buckets-dirs.json b/src/data/crowdin/translation-buckets-dirs.json index 124d2f4701b..d8a003ebaa7 100644 --- a/src/data/crowdin/translation-buckets-dirs.json +++ b/src/data/crowdin/translation-buckets-dirs.json @@ -41,7 +41,7 @@ }, { "id": 6197, - "name": "09) Upgrades" + "name": "09) Roadmap" }, { "id": 6201, @@ -111,4 +111,4 @@ "id": 7833, "name": "28) Developer Tutorials IV" } -] +] \ No newline at end of file From 3c84ce32858abbd2b78250ba604a3713f696a53c Mon Sep 17 00:00:00 2001 From: Paul Wackerow <54227730+wackerow@users.noreply.github.com> Date: Mon, 20 Nov 2023 16:26:34 +0300 Subject: [PATCH 46/51] implement matomo tracking updates --- src/components/Buttons/Button.tsx | 9 +++++---- .../FindWallet/WalletTable/index.tsx | 18 ++++++++++-------- 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/src/components/Buttons/Button.tsx b/src/components/Buttons/Button.tsx index b5720e47258..b09425010b6 100644 --- a/src/components/Buttons/Button.tsx +++ b/src/components/Buttons/Button.tsx @@ -6,6 +6,7 @@ import { } from "@chakra-ui/react" import { scrollIntoView } from "../../utils/scrollIntoView" +import { type MatomoEventOptions, trackCustomEvent } from "../../utils/matomo" export const checkIsSecondary = (props: { variant?: string @@ -33,15 +34,15 @@ export interface IProps extends ButtonProps { * `NOTE`: Does not apply to the `Solid` or `Link` variants */ isSecondary?: boolean + customEventOptions?: MatomoEventOptions } const Button = forwardRef((props, ref) => { - const { toId, onClick, isSecondary, ...rest } = props + const { toId, onClick, isSecondary, customEventOptions, ...rest } = props const handleOnClick = (e: React.MouseEvent) => { - if (toId) { - scrollIntoView(toId) - } + toId && scrollIntoView(toId) + customEventOptions && trackCustomEvent(customEventOptions) onClick?.(e) } diff --git a/src/components/FindWallet/WalletTable/index.tsx b/src/components/FindWallet/WalletTable/index.tsx index 46850d00d11..15d124f213b 100644 --- a/src/components/FindWallet/WalletTable/index.tsx +++ b/src/components/FindWallet/WalletTable/index.tsx @@ -427,11 +427,13 @@ const WalletTable = ({ data, filters, walletData }: WalletTableProps) => { { updateMoreInfo(wallet.key) - trackCustomEvent({ - eventCategory: "WalletMoreInfo", - eventAction: `More info wallet`, - eventName: `More info ${wallet.name} ${wallet.moreInfo}`, - }) + // Log "more info" event only on expanding + wallet.moreInfo && + trackCustomEvent({ + eventCategory: "WalletMoreInfo", + eventAction: `More info wallet`, + eventName: `More info ${wallet.name}`, + }) }} > @@ -473,7 +475,7 @@ const WalletTable = ({ data, filters, walletData }: WalletTableProps) => { customEventOptions={{ eventCategory: "WalletExternalLinkList", eventAction: `Go to wallet`, - eventName: `${wallet.name} ${idx}`, + eventName: `Website: ${wallet.name} ${idx}`, eventValue: JSON.stringify(filters), }} > @@ -486,7 +488,7 @@ const WalletTable = ({ data, filters, walletData }: WalletTableProps) => { customEventOptions={{ eventCategory: "WalletExternalLinkList", eventAction: `Go to wallet`, - eventName: `${wallet.name} ${idx}`, + eventName: `Twitter: ${wallet.name} ${idx}`, eventValue: JSON.stringify(filters), }} > @@ -504,7 +506,7 @@ const WalletTable = ({ data, filters, walletData }: WalletTableProps) => { customEventOptions={{ eventCategory: "WalletExternalLinkList", eventAction: `Go to wallet`, - eventName: `${wallet.name} ${idx}`, + eventName: `Discord: ${wallet.name} ${idx}`, eventValue: JSON.stringify(filters), }} > From 6a180f460a1bd1773e77ef9edf2c794596360f1b Mon Sep 17 00:00:00 2001 From: Paul Wackerow <54227730+wackerow@users.noreply.github.com> Date: Mon, 20 Nov 2023 16:27:20 +0300 Subject: [PATCH 47/51] [chore] refactor using guard clauses --- src/utils/matomo.ts | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/src/utils/matomo.ts b/src/utils/matomo.ts index 19b93cc8878..4b3645caec1 100644 --- a/src/utils/matomo.ts +++ b/src/utils/matomo.ts @@ -13,19 +13,17 @@ export const trackCustomEvent = ({ eventName, eventValue, }: MatomoEventOptions): void => { - if (process.env.NODE_ENV === "production" || window.dev === true) { - const optedOutValue = localStorage.getItem(MATOMO_LS_KEY) || "false" - const isOptedOut = JSON.parse(optedOutValue) - if (!window._paq || isOptedOut) return + if (process.env.NODE_ENV !== "production" && !window.dev) return + const optedOutValue = localStorage.getItem(MATOMO_LS_KEY) || "false" + const isOptedOut = JSON.parse(optedOutValue) + if (!window._paq || isOptedOut) return - const { _paq, dev } = window + const { _paq, dev } = window - _paq.push([`trackEvent`, eventCategory, eventAction, eventName, eventValue]) + _paq.push([`trackEvent`, eventCategory, eventAction, eventName, eventValue]) + if (!dev) return - if (dev) { - console.debug( - `[Matomo] event tracked, category: ${eventCategory}, action: ${eventAction}, name: ${eventName}, value: ${eventValue}` - ) - } - } + console.debug( + `[Matomo] event tracked, category: ${eventCategory}, action: ${eventAction}, name: ${eventName}, value: ${eventValue}` + ) } From 5cf41bdfa2561d813a597135d473901fb1f96dba Mon Sep 17 00:00:00 2001 From: Paul Wackerow <54227730+wackerow@users.noreply.github.com> Date: Tue, 21 Nov 2023 13:04:56 -0500 Subject: [PATCH 48/51] [patch] typo --- src/intl/en/learn-quizzes.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intl/en/learn-quizzes.json b/src/intl/en/learn-quizzes.json index dcac8aee2ef..ffef2fd65ad 100644 --- a/src/intl/en/learn-quizzes.json +++ b/src/intl/en/learn-quizzes.json @@ -206,7 +206,7 @@ "e003-c-explanation": "Prominent community members do not do ETH giveaways. Scammers pretend well-know individuals, such as Elon Musk, are doing giveaways to give them the scam a sense of legitimacy.", "e003-d-label": "Are very likely to be a scam", "e003-d-explanation": "ETH giveaways are always scams. Reporting and ignoring scammers is best.", - "e004-prompt": "Ethereum transaction are reversible.", + "e004-prompt": "Ethereum transactions are reversible.", "e004-a-label": "True", "e004-a-explanation": "Ethereum transactions cannot be reversed. Anyone who tells you otherwise might be trying to scam you.", "e004-b-label": "False", From 2a1a312a25c309eae802f231c16953852c34c162 Mon Sep 17 00:00:00 2001 From: Joshua <62268199+minimalsm@users.noreply.github.com> Date: Thu, 23 Nov 2023 12:06:26 +0000 Subject: [PATCH 49/51] Fix leaderboard filter conditions and small refactor --- src/components/TranslationLeaderboard.tsx | 59 ++++++++++++++--------- 1 file changed, 37 insertions(+), 22 deletions(-) diff --git a/src/components/TranslationLeaderboard.tsx b/src/components/TranslationLeaderboard.tsx index 563b5b76616..dd4e92ac073 100644 --- a/src/components/TranslationLeaderboard.tsx +++ b/src/components/TranslationLeaderboard.tsx @@ -84,6 +84,36 @@ const RadioCard = (props) => { ) } +const filterLeaderboardUsers = (item) => { + const username = item.user.username.toLowerCase() + const fullName = item.user.fullName?.toLowerCase() || "" + + const excludedUsernames = new Set([ + "ethdotorg", + "finnish_sandberg", + "norwegian_sandberg", + "swedish_sandberg", + ]) + + return ( + !excludedUsernames.has(username) && + !username.includes("lqs_") && + !username.includes("removed_user") && + !username.includes("aco_") && + !fullName.includes("aco_") && + !username.includes("aco-") && + !fullName.includes("aco-") && + !username.includes("acc_") && + !fullName.includes("acc_") + ) +} + +const sortAndFilterData = (data) => { + return reverse(sortBy(data, ({ user }) => user.totalCosts)).filter( + filterLeaderboardUsers + ) +} + const TranslationLeaderboard: React.FC = ({ monthData, quarterData, @@ -94,15 +124,13 @@ const TranslationLeaderboard: React.FC = ({ "tableItemBox.light", "tableItemBox.dark" ) + const leaderboardData = { - monthData: reverse(sortBy(monthData.data, ({ user }) => user.totalCosts)), - quarterData: reverse( - sortBy(quarterData.data, ({ user }) => user.totalCosts) - ), - allTimeData: reverse( - sortBy(allTimeData.data, ({ user }) => user.totalCosts) - ), + monthData: sortAndFilterData(monthData.data), + quarterData: sortAndFilterData(quarterData.data), + allTimeData: sortAndFilterData(allTimeData.data), } + const [filterAmount, updateFilterAmount] = useState(10) const [dateRangeType, updateDateRangeType] = useState("monthData") @@ -174,22 +202,8 @@ const TranslationLeaderboard: React.FC = ({ - {/* // TODO: Remove specific user checks once Acolad has updated their usernames */} {leaderboardData[dateRangeType] - .filter( - (item) => - item.user.username !== "ethdotorg" && - !item.user.username.includes("LQS_") && - !item.user.username.includes("REMOVED_USER") && - !item.user.username.includes("Aco_") && - !item.user.fullName.includes("Aco_") && - !item.user.username.includes("Acc_") && - !item.user.fullName.includes("Acc_") && - item.user.username !== "Finnish_Sandberg" && - item.user.username !== "Norwegian_Sandberg" && - item.user.username !== "Swedish_Sandberg" - ) - .filter((item, idx) => idx < filterAmount) + .slice(0, filterAmount) // This replaces the second filter that limits the amount .map((item, idx) => { const { user, languages } = item const sortedLanguages = reverse( @@ -204,6 +218,7 @@ const TranslationLeaderboard: React.FC = ({ } else if (idx === 2) { emoji = ":3rd_place_medal:" } + // ... Rest of your map function that generates JSX for each item return ( Date: Thu, 23 Nov 2023 12:11:35 +0000 Subject: [PATCH 50/51] Clean up --- src/components/TranslationLeaderboard.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/TranslationLeaderboard.tsx b/src/components/TranslationLeaderboard.tsx index dd4e92ac073..054a22db91c 100644 --- a/src/components/TranslationLeaderboard.tsx +++ b/src/components/TranslationLeaderboard.tsx @@ -203,7 +203,7 @@ const TranslationLeaderboard: React.FC = ({ {leaderboardData[dateRangeType] - .slice(0, filterAmount) // This replaces the second filter that limits the amount + .slice(0, filterAmount) .map((item, idx) => { const { user, languages } = item const sortedLanguages = reverse( @@ -218,7 +218,6 @@ const TranslationLeaderboard: React.FC = ({ } else if (idx === 2) { emoji = ":3rd_place_medal:" } - // ... Rest of your map function that generates JSX for each item return ( Date: Tue, 28 Nov 2023 14:23:08 -0800 Subject: [PATCH 51/51] patch i18n string key --- src/pages/get-eth.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/get-eth.tsx b/src/pages/get-eth.tsx index 7cee2c701a1..1f98f43d89d 100644 --- a/src/pages/get-eth.tsx +++ b/src/pages/get-eth.tsx @@ -212,7 +212,7 @@ const GetETHPage = ({ data }: PageProps) => { description={t("page-get-eth-peers-desc")} > - +