diff --git a/src/components/Quiz/QuizRadioGroup.tsx b/src/components/Quiz/QuizRadioGroup.tsx index ccb84728971..987a2c87da8 100644 --- a/src/components/Quiz/QuizRadioGroup.tsx +++ b/src/components/Quiz/QuizRadioGroup.tsx @@ -10,10 +10,17 @@ import { useRadio, useRadioGroup, } from "@chakra-ui/react" +import { useIntl } from "react-intl" + +// Components +import Translation from "../Translation" // Import types import { Question } from "../../types" +// Utils +import { translateMessageId, TranslationKey } from "../../utils/translations" + // Interfaces export interface CustomRadioProps extends RadioProps { index: number @@ -33,13 +40,14 @@ const QuizRadioGroup: React.FC = ({ handleSelection, selectedAnswer, }) => { + const intl = useIntl() const { getRadioProps, getRootProps } = useRadioGroup({ onChange: handleSelection, }) const { prompt, answers, correctAnswerId } = questionData // Memoized values - const explanation = useMemo(() => { + const explanation = useMemo(() => { if (!selectedAnswer) return "" return answers.filter(({ id }) => id === selectedAnswer)[0].explanation }, [selectedAnswer]) @@ -121,7 +129,7 @@ const QuizRadioGroup: React.FC = ({ return ( - {prompt} + {translateMessageId(prompt, intl)} {answers.map(({ id, label }, index) => { @@ -132,7 +140,7 @@ const QuizRadioGroup: React.FC = ({ key={id} display={display} index={index} - label={label} + label={translateMessageId(label, intl)} {...getRadioProps({ value: id })} /> ) @@ -141,9 +149,9 @@ const QuizRadioGroup: React.FC = ({ {showAnswer && ( - Explanation + - {explanation} + {translateMessageId(explanation, intl)} )} diff --git a/src/components/Quiz/QuizSummary.tsx b/src/components/Quiz/QuizSummary.tsx index 2b3ac94eaec..c4a60f4f85e 100644 --- a/src/components/Quiz/QuizSummary.tsx +++ b/src/components/Quiz/QuizSummary.tsx @@ -1,8 +1,11 @@ // Import libraries -import React, { useMemo } from "react" +import React from "react" import { Box, Flex, Text, useMediaQuery } from "@chakra-ui/react" import { useIntl } from "react-intl" +// Components +import Translation from "../Translation" + // Import utilities import { numberToPercent } from "../../utils/numberToPercent" @@ -55,16 +58,22 @@ const QuizSummary: React.FC = ({ > {numberToPercent(ratioCorrect, locale)} - Score + + + +{correctCount} - Correct + + + {largerThanMobile && ( {questionCount} - Total + + + )} diff --git a/src/components/Quiz/QuizWidget.tsx b/src/components/Quiz/QuizWidget.tsx index a977de5d76d..1570aefb793 100644 --- a/src/components/Quiz/QuizWidget.tsx +++ b/src/components/Quiz/QuizWidget.tsx @@ -13,11 +13,13 @@ import { } from "@chakra-ui/react" import { shuffle } from "lodash" import { FaTwitter } from "react-icons/fa" +import { useIntl } from "react-intl" // Import components import Button from "../Button" import QuizRadioGroup from "./QuizRadioGroup" import QuizSummary from "./QuizSummary" +import Translation from "../Translation" // Import SVGs import Trophy from "../../assets/quiz/trophy.svg" @@ -31,6 +33,7 @@ import questionBank from "../../data/quizzes/questionBank" // Import utilities import { trackCustomEvent } from "../../utils/matomo" +import { translateMessageId } from "../../utils/translations" // Import types import { AnswerChoice, RawQuiz, Quiz, RawQuestion, Question } from "../../types" @@ -49,6 +52,7 @@ export interface IProps { // Component const QuizWidget: React.FC = ({ quizKey, maxQuestions }) => { + const intl = useIntl() const [quizData, setQuizData] = useState(null) const [userQuizProgress, setUserQuizProgress] = useState>( [] @@ -86,7 +90,10 @@ const QuizWidget: React.FC = ({ quizKey, maxQuestions }) => { const trimmedQuestions = maxQuestions ? shuffledQuestions.slice(0, maxQuestions) : shuffledQuestions - const quiz: Quiz = { title: rawQuiz.title, questions: trimmedQuestions } + const quiz: Quiz = { + title: translateMessageId(rawQuiz.title, intl), + questions: trimmedQuestions, + } setQuizData(quiz) } useEffect(initialize, [quizKey]) @@ -233,7 +240,7 @@ const QuizWidget: React.FC = ({ quizKey, maxQuestions }) => { scrollMarginTop={24} id="quiz" > - Test your knowledge + = ({ quizKey, maxQuestions }) => { onClick={handleRetryQuestion} variant="outline-color" > - Try again + )} {showResults ? ( @@ -370,17 +377,19 @@ const QuizWidget: React.FC = ({ quizKey, maxQuestions }) => { leftIcon={} onClick={handleShare} > - Share results + {score < 100 && ( - + )} ) : showAnswer ? ( ) : ( )} diff --git a/src/data/quizzes/index.ts b/src/data/quizzes/index.ts index 8f3eed16e81..64b0eda159d 100644 --- a/src/data/quizzes/index.ts +++ b/src/data/quizzes/index.ts @@ -4,35 +4,35 @@ import { RawQuizzes } from "../../types" // Declare hash-map of quizzes based on slug key const quizzes: RawQuizzes = { "what-is-ethereum": { - title: "What is Ethereum?", + title: "what-is-ethereum", questions: ["a001", "a002", "a003", "a004", "a005"], }, "what-is-ether": { - title: "What is ether?", + title: "page-what-is-ethereum-what-is-ether", questions: ["b001", "b002", "b003", "b004"], }, web3: { - title: "Web3", + title: "web3-title", questions: ["c001", "c002", "c003", "c004", "c005"], }, wallets: { - title: "Wallets", + title: "wallets", questions: ["d001", "d002", "d003", "d004"], }, security: { - title: "Security", + title: "security", questions: ["e001", "e002", "e003", "e004", "d003"], }, nfts: { - title: "NFTs", + title: "nfts", questions: ["f001", "f002", "f003", "f004", "f005"], }, "layer-2": { - title: "Layer 2s", + title: "layer-2", questions: ["g001", "g002", "g003", "g004"], }, merge: { - title: "The Merge", + title: "page-assets-merge", questions: ["h001", "h002", "h003", "h004", "h005"], }, } diff --git a/src/data/quizzes/questionBank.ts b/src/data/quizzes/questionBank.ts index 72c2188a4cc..1af69d47734 100644 --- a/src/data/quizzes/questionBank.ts +++ b/src/data/quizzes/questionBank.ts @@ -5,1005 +5,884 @@ import { QuestionBank } from "../../types" const questionBank: QuestionBank = { // What is Ethereum? a001: { - prompt: "The biggest difference between Ethereum and Bitcoin is:", + prompt: "a001-prompt", answers: [ { id: "a001-a", - label: "Ethereum doesn’t let you make payments to other people", - explanation: - "Both Bitcoin and Ethereum let you make payments to other people.", + label: "a001-a-label", + explanation: "a001-a-explanation", }, { id: "a001-b", - label: "You can run computer programs on Ethereum", - explanation: - "Ethereum is programmable. This means you can put any computer program on the Ethereum blockchain.", + label: "a001-b-label", + explanation: "a001-b-explanation", }, { id: "a001-c", - label: "You can run computer programs on Bitcoin", - explanation: - "Unlike Ethereum, Bitcoin isn’t programmable and cannot run arbitrary computer programs.", + label: "a001-c-label", + explanation: "a001-c-explanation", }, { id: "a001-d", - label: "They have different logos", - explanation: - "They do have different logos! But this isn’t the biggest difference between them.", + label: "a001-d-label", + explanation: "a001-d-explanation", }, ], correctAnswerId: "a001-b", }, a002: { - prompt: "Ethereum’s native cryptocurrency is called:", + prompt: "a002-prompt", answers: [ { id: "a002-a", - label: "Ether", - explanation: - "Ether is the cryptocurrency native to the Ethereum network.", + label: "a002-a-label", + explanation: "a002-a-explanation", }, { id: "a002-b", - label: "Ethereum", - explanation: - "Ethereum is the blockchain, but its native currency is not called Ethereum. This is a common misconception.", + label: "a002-b-label", + explanation: "a002-b-explanation", }, { id: "a002-c", - label: "Ethercoin", - explanation: - "Unlike many other cryptocurrencies, Ethereum’s native cryptocurrency doesn’t contain the word ‘coin’.", + label: "a002-c-label", + explanation: "a002-c-explanation", }, { id: "a002-d", - label: "Bitcoin", - explanation: - "Bitcoin (uppercase B) was the first blockchain created, bitcoin (lowercase B) is it’s native cryptocurrency.", + label: "a002-d-label", + explanation: "a002-d-explanation", }, ], correctAnswerId: "a002-a", }, a003: { - prompt: "Who runs Ethereum?", + prompt: "a003-prompt", answers: [ { id: "a003-a", - label: "Developers", - explanation: - "Developers are cruicial to building and improving Ethereum, but they are not the group who keep Ethereum running.", + label: "a003-a-label", + explanation: "a003-a-explanation", }, { id: "a003-b", - label: "Miners", - explanation: - "Mining hasn’t been possible since The Merge. There are no longer ‘miners’ on Ethereum.", + label: "a003-b-label", + explanation: "a003-b-explanation", }, { id: "a003-c", - label: "The Ethereum Foundation", - explanation: - "The Ethereum Foundation does not play any significant role in the day-to-day running of Ethereum nodes. ", + label: "a003-c-label", + explanation: "a003-c-explanation", }, { id: "a003-d", - label: "Anyone running a node", - explanation: - "Anyone running a node is a crucial part of Ethereum’s infrastructure. If you haven’t already, consider running an Ethereum node.", + label: "a003-d-label", + explanation: "a003-d-explanation", }, ], correctAnswerId: "a003-d", }, a004: { - prompt: - "Since Ethereum launched, how many times has the network went offline?", + prompt: "a004-prompt", answers: [ { id: "a004-a", - label: "Never", - explanation: - "Ethereum has never went completely offline since it launched.", + label: "a004-a-label", + explanation: "a004-explanation", }, { id: "a004-b", - label: "Once", - explanation: - "Ethereum has never went completely offline since it launched.", + label: "a004-b-label", + explanation: "a004-explanation", }, { id: "a004-c", - label: "Four times", - explanation: - "Ethereum has never went completely offline since it launched.", + label: "a004-c-label", + explanation: "a004-explanation", }, { id: "a004-d", - label: "More than ten times", - explanation: - "Ethereum has never went completely offline since it launched.", + label: "a004-d-label", + explanation: "a004-explanation", }, ], correctAnswerId: "a004-a", }, a005: { - prompt: "Ethereum consumes more electricity than:", + prompt: "a005-prompt", answers: [ { id: "a005-a", - label: "YouTube", - explanation: - "YouTube uses ~244 Terawatts per year. Ethereum uses 0.01 Terawatts per year.", + label: "a005-a-label", + explanation: "a005-a-explanation", }, { id: "a005-b", - label: "Netflix", - explanation: - "Netflix uses ~94 Terawatts per year. Ethereum uses 0.01 Terawatts per year.", + label: "a005-b-label", + explanation: "a005-b-explanation", }, { id: "a005-c", - label: "PayPal", - explanation: - "Paypal uses ~0.26 Terawatts per year. Ethereum uses 0.01 Terawatts per year.", + label: "a005-c-label", + explanation: "a005-c-explanation", }, { id: "a005-d", - label: "None of the above", - explanation: - "Ethereum uses 0.01 Terawatts per year. Less than YouTube (~244 TW/yr), Netflix (~94 TW/yr), and Paypal (~0.26 TW/yr).", + label: "a005-d-label", + explanation: "a005-d-explanation", }, ], correctAnswerId: "a005-d", }, // What is ether? b001: { - prompt: "Ether is also known as:", + prompt: "b001-prompt", answers: [ { id: "b001-a", - label: "ETC", - explanation: "ETC is the ticker for ether on Ethereum Classic.", + label: "b001-a-label", + explanation: "b001-a-explanation", }, { id: "b001-b", - label: "ETR", - explanation: - "ETR is not a ticker for ether or any significant cryptocurrency.", + label: "b001-b-label", + explanation: "b001-b-explanation", }, { id: "b001-c", - label: "ETH", - explanation: "ETH is the ticker for ether on Ethereum.", + label: "b001-c-label", + explanation: "b001-c-explanation", }, { id: "b001-d", - label: "BTC", - explanation: "BTC is the ticker for bitcoin on the Bitcoin network.", + label: "b001-d-label", + explanation: "b001-d-explanation", }, ], correctAnswerId: "b001-c", }, b002: { - prompt: "On Ethereum, network fees are paid in:", + prompt: "b002-prompt", answers: [ { id: "b002-a", - label: "bitcoin", - explanation: - "Lowercase “bitcoin” is the native cryptocurrency of the Bitcoin network.", + label: "b002-a-label", + explanation: "b002-a-explanation", }, { id: "b002-b", - label: "ETH", - explanation: - "Ether (ETH) is native cryptocurrency of Ethereum. All network fees on Ethereum are paid in ETH.", + label: "b002-b-label", + explanation: "b002-b-explanation", }, { id: "b002-c", - label: "USD", - explanation: - "It is not possible to pay network fees on Ethereum in USD (US Dollars), or any other FIAT currency.", + label: "b002-c-label", + explanation: "b002-c-explanation", }, { id: "b002-d", - label: "Ethereum", - explanation: - "Ethereum is the network, but Ethereum’s network fees are paid in ETH.", + label: "b002-d-label", + explanation: "b002-d-explanation", }, ], correctAnswerId: "b002-b", }, b003: { - prompt: "Staking on Ethereum helps secure the network because:", + prompt: "b003-prompt", answers: [ { id: "b003-a", - label: "Stakers can ban people if they don’t like what they are doing", - explanation: "Stakers are not able to arbitrarily censor users.", + label: "b003-a-label", + explanation: "b003-a-explanation", }, { id: "b003-b", - label: - "If a staker tries to cheat the network, they risk losing their ETH", - explanation: - "Stakers risk losing a significant amount of their ETH if they are shown to be behaving maliciously against the network. This is known as slashing.", + label: "b003-b-label", + explanation: "b003-b-explanation", }, { id: "b003-c", - label: "Stakers run powerful computers to demonstrate proof-of-work", - explanation: - "Stakers do not need powerful hardware to stake their ETH. Ethereum stopped using proof-of-work at The Merge.", + label: "b003-c-label", + explanation: "b003-c-explanation", }, { id: "b003-d", - label: "Stakers undergo KYC before being accepted as a validator", - explanation: - "Staking on Ethereum is permissionless and does not require KYC.", + label: "b003-d-label", + explanation: "b003-d-explanation", }, ], correctAnswerId: "b003-b", }, b004: { - prompt: "ETH is valuable because:", + prompt: "b004-prompt", answers: [ { id: "b004-a", - label: "ETH is needed to do anything on Ethereum", - explanation: - "This answer is partially correct, but it's only one of the reasons ETH is valuable.", + label: "b004-a-label", + explanation: "b004-a-explanation", }, { id: "b004-b", - label: "ETH is an un-censorable peer-to-peer money", - explanation: - "This answer is partially correct, but it's only one of the reasons ETH is valuable.", + label: "b004-b-label", + explanation: "b004-b-explanation", }, { id: "b004-c", - label: "ETH is used as collateral for crypto loans", - explanation: - "This answer is partially correct, but it's only one of the reasons ETH is valuable.", + label: "b004-c-label", + explanation: "b004-c-explanation", }, { id: "b004-d", - label: "All of the above", - explanation: - "Ethereum transactions cannot be censored, ETH is required to make any transaction on Ethereum, and it is crucial to the stability of the DeFi ecosystem.", + label: "b004-d-label", + explanation: "b004-d-explanation", }, ], correctAnswerId: "b004-d", }, // Web3 c001: { - prompt: "Web3 allows users to own digital assets directly through:", + prompt: "c001-prompt", answers: [ { id: "c001-a", - label: "DAOs", - explanation: - "DAOs (Decentralized autonomous organizations) are member-owned communities without centralized leadership.", + label: "c001-a-label", + explanation: "c001-a-explanation", }, { id: "c001-b", - label: "NFTs", - explanation: - "NFTs (Non-fungible tokens) provide a way to represent anything unique as an Ethereum-based asset.", + label: "c001-b-label", + explanation: "c001-b-explanation", }, { id: "c001-c", - label: "ENS", - explanation: - "ENS (Ethereum Name Service) is a decentralized naming service for the Ethereum blockchain.", + label: "c001-c-label", + explanation: "c001-c-explanation", }, { id: "c001-d", - label: "GitHub", - explanation: - "GitHub is a centralized platform, primarily for storing code using distributed version control. GitHub does not allow ownership of your data or digital assets.", + label: "c001-d-label", + explanation: "c001-d-explanation", }, ], correctAnswerId: "c001-b", }, c002: { - prompt: - "Web1 was read-only, Web2 is read-write, Web3 has been described as:", + prompt: "c002-prompt", answers: [ { id: "c002-a", - label: "read-write-sell", - explanation: "Web3 has not been described in this way.", + label: "c002-a-label", + explanation: "c002-a-explanation", }, { id: "c002-b", - label: "read-write-store", - explanation: "Web3 has not been described in this way.", + label: "c002-b-label", + explanation: "c002-b-explanation", }, { id: "c002-c", - label: "read-write-own", - explanation: - "Web3 allows users to own their data and has therefore been described as ‘read-write-own’, any improvement on Web2’s, which is only ‘read-write’.", + label: "c002-c-label", + explanation: "c002-c-explanation", }, { id: "c002-d", - label: "read-write-buy", - explanation: "Web3 has not been described in this way.", + label: "c002-d-label", + explanation: "c002-d-explanation", }, ], correctAnswerId: "c002-c", }, c003: { - prompt: - "Which iteration of the web does not rely on third-party payment providers?", + prompt: "c003-prompt", answers: [ { id: "c003-a", - label: "Web1", - explanation: "Web1 didn’t native, built-in payments.", + label: "c003-a-label", + explanation: "c003-a-explanation", }, { id: "c003-b", - label: "Web2", - explanation: "Web2 does not have native, built-in payments.", + label: "c003-b-label", + explanation: "c003-b-explanation", }, { id: "c003-c", - label: "Web3", - explanation: - "Web3 has native, built-in payments with cryptocurrencies, such as ETH.", + label: "c003-c-label", + explanation: "c003-c-explanation", }, { id: "c003-d", - label: "All of the above", - explanation: "Web1 and Web2 do not have native, built-in payments.", + label: "c003-d-label", + explanation: "c003-d-explanation", }, ], correctAnswerId: "c003-c", }, c004: { - prompt: "The term ‘Web3’ was first coined by:", + prompt: "c004-prompt", answers: [ { id: "c004-a", - label: "Gavin Wood", - explanation: - "Gavin Wood, a co-founder of Ethereum, is credited with coining the term Web3 shortly after Ethereum launched in 2015.", + label: "c004-a-label", + explanation: "c004-a-explanation", }, { id: "c004-b", - label: "Steve Jobs", - explanation: "Steve Jobs did not coin the phrase ‘Web3’.", + label: "c004-b-label", + explanation: "c004-b-explanation", }, { id: "c004-c", - label: "Vitalik Buterin", - explanation: - "Vitalik Buterin, although the original founder of Ethereum, did not coin the phrase ‘Web3’.", + label: "c004-c-label", + explanation: "c004-c-explanation", }, { id: "c004-d", - label: "Elon Musk", - explanation: "Elon Musk did not coin the phrase ‘Web3’.", + label: "c004-d-label", + explanation: "c004-d-explanation", }, ], correctAnswerId: "c004-a", }, c005: { - prompt: - "You can have a single, censorship-resistant login across all of the web through the use of:", + prompt: "c005-prompt", answers: [ { id: "c005-a", - label: "Sign-in with Facebook", - explanation: "Sign-in with Facebook is not censorship resistant.", + label: "c005-a-label", + explanation: "c005-a-explanation", }, { id: "c005-b", - label: "Sign-in with Google", - explanation: "Sign-in with Google is not censorship resistant.", + label: "c005-b-label", + explanation: "c005-b-explanation", }, { id: "c005-c", - label: "Sign-in with Ethereum", - explanation: - "Sign-in with Ethereum is the only option that is censorship-resistant and usable on any web application.", + label: "c005-c-label", + explanation: "c005-c-explanation", }, { id: "c005-d", - label: "Sign-in with Twitter", - explanation: "Sign-in with Twitter is not censorship resistant.", + label: "c005-d-label", + explanation: "c005-d-explanation", }, ], correctAnswerId: "c005-c", }, // Wallets d001: { - prompt: "The most secure type of wallet is:", + prompt: "d001-prompt", answers: [ { id: "d001-a", - label: "A mobile wallet", - explanation: - "Mobile wallets hold private keys on a mobile device, which typically has connections to the internet, and potentially compromised by other software.", + label: "d001-a-label", + explanation: "d001-a-explanation", }, { id: "d001-b", - label: "A hardware wallet", - explanation: - "A hardware wallet’s private keys are stored on a dedicated device that can be kept off of the internet and are isolated from other applications on your devices.", + label: "d001-b-label", + explanation: "d001-b-explanation", }, { id: "d001-c", - label: "A web wallet", - explanation: - "Web wallets have less security than hardware wallets because the private keys are stored on an internet-connected device.", + label: "d001-c-label", + explanation: "d001-c-explanation", }, { id: "d001-d", - label: "A desktop wallet", - explanation: - "Desktop wallets hold private keys on a computer hard drive, which typically has connections to the internet, and potentially compromised by other software.", + label: "d001-d-label", + explanation: "d001-d-explanation", }, ], correctAnswerId: "d001-b", }, d002: { - prompt: - "From the options presented, which is the most secure way to store your seed phrase?", + prompt: "d002-prompt", answers: [ { id: "d002-a", - label: "In a photo on your phone", - explanation: - "This is not the most secure option. If this photo is uploaded to cloud storage then a hacker gets this image and gains access to your account.", + label: "d002-a-label", + explanation: "d002-a-explanation", }, { id: "d002-b", - label: "In a file on your computer", - explanation: - "This is not the most secure option. Hacker are increasingly looking for cryptocurrency related information on target devices. If a hacker accesses the file with your seed phrase they will gain access to your account.", + label: "d002-b-label", + explanation: "d002-b-explanation", }, { id: "d002-c", - label: "Written down on paper", - explanation: - "Of the available options, writing down your seed phrase on paper is the most secure.", + label: "d002-c-label", + explanation: "d002-c-explanation", }, { id: "d002-d", - label: "In a text message to a trusted family member", - explanation: - "You should never text your seed phrase to anyone. The message could be intercepted by a third party, and even if you trust this person absolutely, you do not know who may be able to access their phone.", + label: "d002-d-label", + explanation: "d002-d-explanation", }, ], correctAnswerId: "d002-c", }, d003: { - prompt: "Who should you give your seed phrase / private keys to?", + prompt: "d003-prompt", answers: [ { id: "d003-a", - label: "Someone you’re paying", - explanation: - "You should never give your seed phrase or private keys to anyone. Instead, send tokens to their wallet address via a transaction.", + label: "d003-a-label", + explanation: "d003-a-explanation", }, { id: "d003-b", - label: "To login to a dapp or wallet", - explanation: - "You should never give your seed phrase / private keys to login to your wallet or dapp.", + label: "d003-b-label", + explanation: "d003-b-explanation", }, { id: "d003-c", - label: "Support staff", - explanation: - "You should never give your seed phrase / private keys to anyone claiming to be support staff. Anyone asking you for this is a scammer.", + label: "d003-c-label", + explanation: "d003-c-explanation", }, { id: "d003-d", - label: "No one", - explanation: - "Ideally, you should never give your seed phrase or private keys to anyone. If you trust someone completely with absolute access to your funds (such as a spouse), then you may decide to share this information with them.", + label: "d003-d-label", + explanation: "d003-d-explanation", }, ], correctAnswerId: "d003-d", }, d004: { - prompt: "A wallet and an account on Ethereum are the same thing.", + prompt: "d004-prompt", answers: [ { id: "d004-a", - label: "True", - explanation: - "A wallet is a visual interface used to interact with an Ethereum account.", + label: "d004-a-label", + explanation: "d004-a-explanation", }, { id: "d004-b", - label: "False", - explanation: - "A wallet is a visual interface used to interact with an Ethereum account.", + label: "d004-b-label", + explanation: "d004-b-explanation", }, ], correctAnswerId: "d004-b", }, // Security e001: { - prompt: "Why should you use unique passwords for all of your accounts?", + prompt: "e001-prompt", answers: [ { id: "e001-a", - label: "In case one of the platforms has a data breach", - explanation: - "This answer is correct, but there are also other correct answers.", + label: "e001-a-label", + explanation: "e001-a-explanation", }, { id: "e001-b", - label: - "In case someone looking over your shoulder works out your password", - explanation: - "This answer is correct, but there are also other correct answers.", + label: "e001-b-label", + explanation: "e001-b-explanation", }, { id: "e001-c", - label: "In case malware, such as a key-logger, steals your password", - explanation: - "This answer is correct, but there are also other correct answers.", + label: "e001-c-label", + explanation: "e001-c-explanation", }, { id: "e001-d", - label: "All of the above", - explanation: - "All answers are correct. Using unique passwords is the best way to prevent anyone else from accessing your account.", + label: "e001-d-label", + explanation: "e001-d-explanation", }, ], correctAnswerId: "e001-d", }, e002: { - prompt: "Following The Merge, ETH must be upgraded to ETH2.", + prompt: "e002-prompt", answers: [ { id: "e002-a", - label: "True", - explanation: - "You do not need to upgrade your ETH to ETH2. There is no ETH2 and this is a common narrative used by scammers.", + label: "e002-a-label", + explanation: "e002-a-explanation", }, { id: "e002-b", - label: "False", - explanation: - "You do not need to upgrade your ETH to ETH2. There is no ETH2 and this is a common narrative used by scammers.", + label: "e002-b-label", + explanation: "e002-b-explanation", }, ], correctAnswerId: "e002-b", }, e003: { - prompt: "ETH giveaways are:", + prompt: "e003-prompt", answers: [ { id: "e003-a", - label: "A good way to get more ETH", - explanation: - "ETH giveaways are scams designed to steal your ETH and other tokens. They are never a good way to get more ETH.", + label: "e003-a-label", + explanation: "e003-a-explanation", }, { id: "e003-b", - label: "Always genuine", - explanation: "ETH giveaways are never genuine.", + label: "e003-b-label", + explanation: "e003-b-explanation", }, { id: "e003-c", - label: "Commonly performed by prominent members of the community", - 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.", + label: "e003-c-label", + explanation: "e003-c-explanation", }, { id: "e003-d", - label: "Are very likely to be a scam", - explanation: - "ETH giveaways are always scams. Reporting and ignoring scammers is best.", + label: "e003-d-label", + explanation: "e003-d-explanation", }, ], correctAnswerId: "e003-d", }, e004: { - prompt: "Ethereum transaction are reversible.", + prompt: "e004-prompt", answers: [ { id: "e004-a", - label: "True", - explanation: - "Ethereum transactions cannot be reversed. Anyone who tells you otherwise might be trying to scam you.", + label: "e004-a-label", + explanation: "e004-a-explanation", }, { id: "e004-b", - label: "False", - explanation: - "Ethereum transactions cannot be reversed. Anyone who tells you otherwise might be trying to scam you.", + label: "e004-b-label", + explanation: "e004-b-explanation", }, ], correctAnswerId: "e004-b", }, // NFTs f001: { - prompt: "NFTs are most comprehensively defined as:", + prompt: "f001-prompt", answers: [ { id: "f001-a", - label: "unique digital assets", - explanation: "NFTs represent a unique digital asset.", // with an owner + label: "f001-a-label", + explanation: "f001-a-explanation", // with an owner }, { id: "f001-b", - label: "digital artwork", - explanation: - "NFTs represent a unique digital asset, this is commonly digital artwork, but it isn’t limited to art.", + label: "f001-b-label", + explanation: "f001-b-explanation", }, { id: "f001-c", - label: "tickets to exclusive events", - explanation: - "NFTs represent a unique digital asset, this could be a ticketing system, but it isn't limited to tickets.", + label: "f001-c-label", + explanation: "f001-c-explanation", }, { id: "f001-d", - label: "legally binding contracts", - explanation: - "Although a legal contract could be represented as an NFT, NFTs are not exclusive to legally binding contracts.", + label: "f001-d-label", + explanation: "f001-d-explanation", }, ], correctAnswerId: "f001-a", }, f002: { - prompt: "Two NFTs representing the same artwork are the same thing.", + prompt: "f002-prompt", answers: [ { id: "f002-a", - label: "True", - explanation: - "NFTs are non-fungible. This means even if they represent the piece of digital art, they are still uniquely identifible. In the traditional artworld, this might be similar to originals and prints.", + label: "f002-a-label", + explanation: "f002-a-explanation", }, { id: "f002-b", - label: "False", - explanation: - "NFTs are non-fungible. This means even if they represent the piece of digital art, they are still uniquely identifible. In the traditional artworld, this might be similar to originals and prints.", + label: "f002-b-label", + explanation: "f002-b-explanation", }, ], correctAnswerId: "f002-b", }, f003: { - prompt: "NFTs most commonly represent:", + prompt: "f003-prompt", answers: [ { id: "f003-a", - label: "The password to your wallet", - explanation: "This is a security risk and generally a bad idea!", + label: "f003-a-label", + explanation: "f003-a-explanation", }, { id: "f003-b", - label: "Ownership of a unique digital item", - explanation: - "NFTs commonly represent ownership of a unique digital item.", + label: "f003-b-label", + explanation: "f003-b-explanation", }, { id: "f003-c", - label: "Your current ETH balance", - explanation: "NFTs cannot represent your ETH balance arbitrarily.", + label: "f003-c-label", + explanation: "f003-c-explanation", }, { id: "f003-d", - label: "All of the above", - explanation: - "NFTs commonly represent ownership of a unique digital item, not ETH balances or wallet passwords.", + label: "f003-d-label", + explanation: "f003-d-explanation", }, ], correctAnswerId: "f003-b", }, f004: { - prompt: "NFTs have helped create a new:", + prompt: "f004-prompt", answers: [ { id: "f004-a", - label: "curator economy", - explanation: - "NFTs helped create a new economy for creators, not curators.", + label: "f004-a-label", + explanation: "f004-a-explanation", }, { id: "f004-b", - label: "carbon economy", - explanation: - "NFTs helped create a new economy for creators, not carbon.", + label: "f004-b-label", + explanation: "f004-b-explanation", }, { id: "f004-c", - label: "creator economy", - explanation: "NFTs helped create the creator economy.", + label: "f004-c-label", + explanation: "f004-c-explanation", }, { id: "f004-d", - label: "doge economy", - explanation: - "NFTs helped create a new economy for creators, not doges 🐶.", + label: "f004-d-label", + explanation: "f004-d-explanation", }, ], correctAnswerId: "f004-c", }, f005: { - prompt: "NFTs on Ethereum are harmful to the environment", + prompt: "f005-prompt", answers: [ { id: "f005-a", - label: "True", - explanation: - "Since The Merge (transition to proof-of-stake), any transaction has been a negligible impact on the environment.", + label: "f005-a-label", + explanation: "f005-a-explanation", }, { id: "f005-b", - label: "False", - explanation: - "Since The Merge (transition to proof-of-stake), any transaction has been a negligible impact on the environment.", + label: "f005-b-label", + explanation: "f005-b-explanation", }, ], correctAnswerId: "f005-b", }, // Layer 2 g001: { - prompt: "Layer 2 blockchain networks are for:", + prompt: "g001-prompt", answers: [ { id: "g001-a", - label: "Scaling Ethereum", - explanation: - "The primary purpose of rollups and other layer 2 solutions is for scaling Ethereum.", + label: "g001-a-label", + explanation: "g001-a-explanation", }, { id: "g001-b", - label: "Making payments", - explanation: - "The primary purpose of rollups and other layer 2 solutions is for scaling Ethereum.", + label: "g001-b-label", + explanation: "g001-b-explanation", }, { id: "g001-c", - label: "Buying NFTs", - explanation: - "The primary purpose of rollups and other layer 2 solutions is for scaling Ethereum.", + label: "g001-c-label", + explanation: "g001-c-explanation", }, { id: "g001-d", - label: "Decentralizing Ethereum", - explanation: - "The primary purpose of rollups and other layer 2 solutions is for scaling Ethereum.", + label: "g001-d-label", + explanation: "g001-d-explanation", }, ], correctAnswerId: "g001-a", }, g002: { - prompt: - "To scale, most alternative layer 1 networks have primarily sacrificed on:", + prompt: "g002-prompt", answers: [ { id: "g002-a", - label: "security", - explanation: - "Most alternative Layer 1 networks on security and something else in order to scale.", + label: "g002-a-label", + explanation: "g002-a-explanation", }, { id: "g002-b", - label: "decentralization", - explanation: - "Most alternative Layer 1 networks on decentralization and something else in order to scale.", + label: "g002-b-label", + explanation: "g002-b-explanation", }, { id: "g002-c", - label: "token price", - explanation: "Token price does not have any impact on scaling ability.", + label: "g002-c-label", + explanation: "g002-c-explanation", }, { id: "g002-d", - label: "security and decentralization", - explanation: - "Most alternative layer 1 networks sacrifice on both security and decentralization in order to scale.", + label: "g002-d-label", + explanation: "g002-d-explanation", }, ], correctAnswerId: "g002-d", }, g003: { - prompt: "Which of the following are not considered to be layer 2?", + prompt: "g003-prompt", answers: [ { id: "g003-a", - label: "Validiums", - explanation: - "Validiums are not considered to be layer 2 solutions as they do not derive security or data availability from Ethereum", + label: "g003-a-label", + explanation: "g003-a-explanation", }, { id: "g003-b", - label: "Sidechains", - explanation: - "Sidechains are not considered to be layer 2 solutions as they do not derive security or data availability from Ethereum.", + label: "g003-b-label", + explanation: "g003-b-explanation", }, { id: "g003-c", - label: "Alternative layer 1 blockchains", - explanation: - "Alternative layer 1 blockchains are not considered to be layer 2 solutions.", + label: "g003-c-label", + explanation: "g003-c-explanation", }, { id: "g003-d", - label: "All of the above", - explanation: - "Validiums, Sidechains, and alternative layer 1 blockchains are not considered to be layer 2 solutions as they do not derive security or data availability from Ethereum.", + label: "g003-d-label", + explanation: "g003-d-explanation", }, ], correctAnswerId: "g003-d", }, g004: { - prompt: "Why does Ethereum not have an ‘official’ layer 2?", + prompt: "g004-prompt", answers: [ { id: "g004-a", - label: "Core developers are too busy working on Ethereum", - explanation: - "There are no plans for an ‘official’ layer 2 on Ethereum as we’ll benefit from a wide-variety of approaches to designing layer 2 solutions.", + label: "g004-a-label", + explanation: "g004-a-explanation", }, { id: "g004-b", - label: - "As an L1, Ethereum will eventually reach mass scaling on its own", - explanation: - "There are no plans for an ‘official’ layer 2 on Ethereum as we’ll benefit from a wide-variety of approaches to designing layer 2 solutions.", + label: "g004-b-label", + explanation: "g004-b-explanation", }, { id: "g004-c", - label: - "Core developers are still debating between optimistic and zk-rollups", - explanation: - "There are no plans for an ‘official’ layer 2 on Ethereum as we’ll benefit from a wide-variety of approaches to designing layer 2 solutions.", + label: "g004-c-label", + explanation: "g004-c-explanation", }, { id: "g004-d", - label: - "Ethereum will benefit from a wide-variety of approaches to designing an L2", - explanation: - "There are no plans for an ‘official’ layer 2 on Ethereum as we’ll benefit from a wide-variety of approaches to designing layer 2 solutions.", + label: "g004-d-label", + explanation: "g004-d-explanation", }, ], correctAnswerId: "g004-d", }, // The Merge h001: { - prompt: "The Merge moved Ethereum onto which consensus mechanism?", + prompt: "h001-prompt", answers: [ { id: "h001-a", - label: "Proof-of-work", - explanation: - "Proof-of-work was the consensus mechanism used before The Merge.", + label: "h001-a-label", + explanation: "h001-a-explanation", }, { id: "h001-b", - label: "Proof-of-stake", - explanation: "Correct! The Merge moved Ethereum onto proof-of-stake.", + label: "h001-b-label", + explanation: "h001-b-explanation", }, { id: "h001-c", - label: "Proof-of-authority", - explanation: - "Ethereum does not, and has never used proof-of-authority on Ethereum Mainnet.", + label: "h001-c-label", + explanation: "h001-c-explanation", }, { id: "h001-d", - label: "All of the above", - explanation: - "It would not be possible for Ethereum to have all of these consensus mechanisms at once.", + label: "h001-d-label", + explanation: "h001-d-explanation", }, ], correctAnswerId: "h001-b", }, h002: { - prompt: "The Merge reduced Ethereum’s energy consumption by:", + prompt: "h002-prompt", answers: [ { id: "h002-a", - label: "50%", - explanation: - "Ethereum’s energy consumption was reduced by 99.95% after The Merge enabled the transition from proof-of-work to proof-of-stake.", + label: "h002-a-label", + explanation: "h002-a-explanation", }, { id: "h002-b", - label: "62.5%", - explanation: - "Ethereum’s energy consumption was reduced by 99.95% after The Merge enabled the transition from proof-of-work to proof-of-stake.", + label: "h002-b-label", + explanation: "h002-b-explanation", }, { id: "h002-c", - label: "90%", - explanation: - "Ethereum’s energy consumption was reduced by 99.95% after The Merge enabled the transition from proof-of-work to proof-of-stake.", + label: "h002-c-label", + explanation: "h002-c-explanation", }, { id: "h002-d", - label: "99.95%", - explanation: - "Ethereum’s energy consumption was reduced by 99.95% after The Merge enabled the transition from proof-of-work to proof-of-stake.", + label: "h002-d-label", + explanation: "h002-d-explanation", }, ], correctAnswerId: "h002-d", }, h003: { - prompt: "When did The Merge happen?", + prompt: "h003-prompt", answers: [ { id: "h003-a", - label: "September 15th 2022", - explanation: - "The Merge happened on September 15th 2022 at 06:42:42 AM (UTC).", + label: "h003-a-label", + explanation: "h003-a-explanation", }, { id: "h003-b", - label: "December 1st 2021", - explanation: - "The Merge happened later than this. December 1st 2022 was when the Beacon Chain was launched.", + label: "h003-b-label", + explanation: "h003-b-explanation", }, { id: "h003-c", - label: "November 27 2013", - explanation: - "The Merge happened later than this. November 27 2013 is the day the Ethereum Whitepaper was released.", + label: "h003-c-label", + explanation: "h003-c-explanation", }, { id: "h003-d", - label: "October 31st 2008", - explanation: - "The Merge happened later than this. October 31st is the day the Bitcoin Whitepaper was released.", + label: "h003-d-label", + explanation: "h003-d-explanation", }, ], correctAnswerId: "h003-a", }, h004: { - prompt: "The Merge meant users had to exchange their ETH for ETH2:", + prompt: "h004-prompt", answers: [ { id: "h004-a", - label: "True", - explanation: - "ETH did not change at any point before, during, or after The Merge. The idea of ‘upgrading’ ETH to ETH2 was a common tactic by malicious actors to scam users.", + label: "h004-a-label", + explanation: "h004-a-explanation", }, { id: "h004-b", - label: "False", - explanation: - "ETH did not change at any point before, during, or after The Merge. The idea of ‘upgrading’ ETH to ETH2 was a common tactic by malicious actors to scam users.", + label: "h004-b-label", + explanation: "h004-b-explanation", }, ], correctAnswerId: "h004-b", }, h005: { - prompt: "Ethereum’s consensus layer was formerly known as:", + prompt: "h005-prompt", answers: [ { id: "h005-a", - label: "Proof-of-work", - explanation: - "Proof-of-work was the consensus mechanism used on Ethereum prior to The Merge.", + label: "h005-a-label", + explanation: "h005-a-explanation", }, { id: "h005-b", - label: "Eth2", - explanation: - "Before being renamed the consensus layer, it was originally called ‘Eth2’.", + label: "h005-b-label", + explanation: "h005-b-explanation", }, { id: "h005-c", - label: "Eth1", - explanation: - "Eth1 was the original name given to the execution layer, not the consensus layer.", + label: "h005-c-label", + explanation: "h005-c-explanation", }, { id: "h005-d", - label: "Sharding", - explanation: - "Sharding is an update on the Ethereum roadmap related to scaling.", + label: "h005-d-label", + explanation: "h005-d-explanation", }, ], correctAnswerId: "h005-b", diff --git a/src/intl/en/common.json b/src/intl/en/common.json index e50f8d87510..81b984a7855 100644 --- a/src/intl/en/common.json +++ b/src/intl/en/common.json @@ -202,6 +202,7 @@ "nav-developers-docs": "Developers docs", "nav-primary": "Primary", "next": "Next", + "nfts": "NFTs", "no": "No", "oasis-logo": "Oasis logo", "online": "Online", @@ -270,6 +271,7 @@ "wallets": "Wallets", "we-couldnt-find-that-page": "We couldn't find that page", "web3": "What is Web3?", + "web3-title": "Web3", "website-last-updated": "Website last updated", "what-is-ether": "What is ether (ETH)?", "what-is-ethereum": "What is Ethereum?", diff --git a/src/intl/en/learn-quizzes.json b/src/intl/en/learn-quizzes.json new file mode 100644 index 00000000000..a5ba604d6e6 --- /dev/null +++ b/src/intl/en/learn-quizzes.json @@ -0,0 +1,309 @@ +{ + "correct": "Correct", + "explanation": "Explanation", + "next-question": "Next question", + "score": "Score", + "see-results": "See results", + "share-results": "Share results", + "submit-answer": "Submit answer", + "test-your-knowledge": "Test your knowledge", + "total": "Total", + "try-again": "Try again", + "a001-prompt": "The biggest difference between Ethereum and Bitcoin is:", + "a001-a-label": "Ethereum doesn’t let you make payments to other people", + "a001-a-explanation": "Both Bitcoin and Ethereum let you make payments to other people.", + "a001-b-label": "You can run computer programs on Ethereum", + "a001-b-explanation": "Ethereum is programmable. This means you can put any computer program on the Ethereum blockchain.", + "a001-c-label": "You can run computer programs on Bitcoin", + "a001-c-explanation": "Unlike Ethereum, Bitcoin isn’t programmable and cannot run arbitrary computer programs.", + "a001-d-label": "They have different logos", + "a001-d-explanation": "They do have different logos! But this isn’t the biggest difference between them.", + "a002-prompt": "Ethereum’s native cryptocurrency is called:", + "a002-a-label": "Ether", + "a002-a-explanation": "Ether is the cryptocurrency native to the Ethereum network.", + "a002-b-label": "Ethereum", + "a002-b-explanation": "Ethereum is the blockchain, but its native currency is not called Ethereum. This is a common misconception.", + "a002-c-label": "Ethercoin", + "a002-c-explanation": "Unlike many other cryptocurrencies, Ethereum’s native cryptocurrency doesn’t contain the word ‘coin’.", + "a002-d-label": "Bitcoin", + "a002-d-explanation": "Bitcoin (uppercase B) was the first blockchain created, bitcoin (lowercase B) is it’s native cryptocurrency.", + "a003-prompt": "Who runs Ethereum?", + "a003-a-label": "Developers", + "a003-a-explanation": "Developers are crucial to building and improving Ethereum, but they are not the group who keep Ethereum running.", + "a003-b-label": "Miners", + "a003-b-explanation": "Mining hasn’t been possible since The Merge. There are no longer ‘miners’ on Ethereum.", + "a003-c-label": "The Ethereum Foundation", + "a003-c-explanation": "The Ethereum Foundation does not play any significant role in the day-to-day running of Ethereum nodes.", + "a003-d-label": "Anyone running a node", + "a003-d-explanation": "Anyone running a node is a crucial part of Ethereum’s infrastructure. If you haven’t already, consider running an Ethereum node.", + "a004-prompt": "Since Ethereum launched, how many times has the network went offline?", + "a004-a-label": "Never", + "a004-b-label": "Once", + "a004-c-label": "Four times", + "a004-d-label": "More than ten times", + "a004-explanation": "Ethereum has never went completely offline since it launched.", + "a005-prompt": "Ethereum consumes more electricity than:", + "a005-a-label": "YouTube", + "a005-a-explanation": "YouTube uses ~244 Terawatts per year. Ethereum uses 0.01 Terawatts per year.", + "a005-b-label": "Netflix", + "a005-b-explanation": "Netflix uses ~94 Terawatts per year. Ethereum uses 0.01 Terawatts per year.", + "a005-c-label": "PayPal", + "a005-c-explanation": "PayPal uses ~0.26 Terawatts per year. Ethereum uses 0.01 Terawatts per year.", + "a005-d-label": "None of the above", + "a005-d-explanation": "Ethereum uses 0.01 Terawatts per year. Less than YouTube (~244 TW/yr), Netflix (~94 TW/yr), and Paypal (~0.26 TW/yr).", + "b001-prompt": "Ether is also known as:", + "b001-a-label": "ETC", + "b001-a-explanation": "ETC is the ticker for Ethereum Classic.", + "b001-b-label": "ETR", + "b001-b-explanation": "ETR is not a ticker for ether or any significant cryptocurrency.", + "b001-c-label": "ETH", + "b001-c-explanation": "ETH is the ticker for ether on Ethereum.", + "b001-d-label": "BTC", + "b001-d-explanation": "BTC is the ticker for bitcoin on the Bitcoin network.", + "b002-prompt": "On Ethereum, network fees are paid in:", + "b002-a-label": "bitcoin", + "b002-a-explanation": "Lowercase “bitcoin” is the native cryptocurrency of the Bitcoin network.", + "b002-b-label": "ETH", + "b002-b-explanation": "Ether (ETH) is native cryptocurrency of Ethereum. All network fees on Ethereum are paid in ETH.", + "b002-c-label": "USD", + "b002-c-explanation": "It is not possible to pay network fees on Ethereum in USD (US Dollars), or any other FIAT currency.", + "b002-d-label": "Ethereum", + "b002-d-explanation": "Ethereum is the network, but Ethereum’s network fees are paid in ETH.", + "b003-prompt": "Staking on Ethereum helps secure the network because:", + "b003-a-label": "Stakers can ban people if they don’t like what they are doing", + "b003-a-explanation": "Stakers are not able to arbitrarily censor users.", + "b003-b-label": "If a staker tries to cheat the network, they risk losing their ETH", + "b003-b-explanation": "Stakers risk losing a significant amount of their ETH if they are shown to be behaving maliciously against the network. This is known as slashing.", + "b003-c-label": "Stakers run powerful computers to demonstrate proof-of-work", + "b003-c-explanation": "Stakers do not need powerful hardware to stake their ETH. Ethereum stopped using proof-of-work at The Merge.", + "b003-d-label": "Stakers undergo KYC before being accepted as a validator", + "b003-d-explanation": "Staking on Ethereum is permissionless and does not require KYC.", + "b004-prompt": "ETH is valuable because:", + "b004-a-label": "ETH is needed to do anything on Ethereum", + "b004-a-explanation": "This answer is partially correct, but it's only one of the reasons ETH is valuable.", + "b004-b-label": "ETH is an un-censorable peer-to-peer money", + "b004-b-explanation": "This answer is partially correct, but it's only one of the reasons ETH is valuable.", + "b004-c-label": "ETH is used as collateral for crypto loans", + "b004-c-explanation": "This answer is partially correct, but it's only one of the reasons ETH is valuable.", + "b004-d-label": "All of the above", + "b004-d-explanation": "Ethereum transactions cannot be censored, ETH is required to make any transaction on Ethereum, and it is crucial to the stability of the DeFi ecosystem.", + "c001-prompt": "Web3 allows users to own digital assets directly through:", + "c001-a-label": "DAOs", + "c001-a-explanation": "DAOs (Decentralized autonomous organizations) are member-owned communities without centralized leadership.", + "c001-b-label": "NFTs", + "c001-b-explanation": "NFTs (Non-fungible tokens) provide a way to represent anything unique as an Ethereum-based asset.", + "c001-c-label": "ENS", + "c001-c-explanation": "ENS (Ethereum Name Service) is a decentralized naming service for the Ethereum blockchain.", + "c001-d-label": "GitHub", + "c001-d-explanation": "GitHub is a centralized platform, primarily for storing code using distributed version control. GitHub does not allow ownership of your data or digital assets.", + "c002-prompt": "Web1 was read-only, Web2 is read-write, Web3 has been described as:", + "c002-a-label": "read-write-sell", + "c002-a-explanation": "Web3 has not been described in this way.", + "c002-b-label": "read-write-store", + "c002-b-explanation": "Web3 has not been described in this way.", + "c002-c-label": "read-write-own", + "c002-c-explanation": "Web3 allows users to own their data and has therefore been described as ‘read-write-own’, any improvement on Web2’s, which is only ‘read-write’.", + "c002-d-label": "read-write-buy", + "c002-d-explanation": "Web3 has not been described in this way.", + "c003-prompt": "Which iteration of the web does not rely on third-party payment providers?", + "c003-a-label": "Web1", + "c003-a-explanation": "Web1 did not have native, built-in payments.", + "c003-b-label": "Web2", + "c003-b-explanation": "Web2 does not have native, built-in payments.", + "c003-c-label": "Web3", + "c003-c-explanation": "Web3 has native, built-in payments with cryptocurrencies, such as ETH.", + "c003-d-label": "All of the above", + "c003-d-explanation": "Web1 and Web2 do not have native, built-in payments.", + "c004-prompt": "The term ‘Web3’ was first coined by:", + "c004-a-label": "Gavin Wood", + "c004-a-explanation": "Gavin Wood, a co-founder of Ethereum, is credited with coining the term Web3 shortly after Ethereum launched in 2015.", + "c004-b-label": "Steve Jobs", + "c004-b-explanation": "Steve Jobs did not coin the phrase ‘Web3’.", + "c004-c-label": "Vitalik Buterin", + "c004-c-explanation": "Vitalik Buterin, although the original founder of Ethereum, did not coin the phrase ‘Web3’.", + "c004-d-label": "Elon Musk", + "c004-d-explanation": "Elon Musk did not coin the phrase ‘Web3’.", + "c005-prompt": "You can have a single, censorship-resistant login across all of the web through the use of:", + "c005-a-label": "Sign-in with Facebook", + "c005-a-explanation": "Sign-in with Facebook is not censorship resistant.", + "c005-b-label": "Sign-in with Google", + "c005-b-explanation": "Sign-in with Google is not censorship resistant.", + "c005-c-label": "Sign-in with Ethereum", + "c005-c-explanation": "Sign-in with Ethereum is the only option that is censorship-resistant and usable on any web application.", + "c005-d-label": "Sign-in with Twitter", + "c005-d-explanation": "Sign-in with Twitter is not censorship resistant.", + "d001-prompt": "The most secure type of wallet is:", + "d001-a-label": "A mobile wallet", + "d001-a-explanation": "Mobile wallets hold private keys on a mobile device, which typically has connections to the internet, and potentially compromised by other software.", + "d001-b-label": "A hardware wallet", + "d001-b-explanation": "A hardware wallet’s private keys are stored on a dedicated device that can be kept off of the internet and are isolated from other applications on your devices.", + "d001-c-label": "A web wallet", + "d001-c-explanation": "Web wallets have less security than hardware wallets because the private keys are stored on an internet-connected device.", + "d001-d-label": "A desktop wallet", + "d001-d-explanation": "Desktop wallets hold private keys on a computer hard drive, which typically has connections to the internet, and potentially compromised by other software.", + "d002-prompt": "From the options presented, which is the most secure way to store your seed phrase?", + "d002-a-label": "In a photo on your phone", + "d002-a-explanation": "This is not the most secure option. If this photo is uploaded to cloud storage then a hacker gets this image and gains access to your account.", + "d002-b-label": "In a file on your computer", + "d002-b-explanation": "This is not the most secure option. Hacker are increasingly looking for cryptocurrency related information on target devices. If a hacker accesses the file with your seed phrase they will gain access to your account.", + "d002-c-label": "Written down on paper", + "d002-c-explanation": "Of the available options, writing down your seed phrase on paper is the most secure.", + "d002-d-label": "In a text message to a trusted family member", + "d002-d-explanation": "You should never text your seed phrase to anyone. The message could be intercepted by a third party, and even if you trust this person absolutely, you do not know who may be able to access their phone.", + "d003-prompt": "Who should you give your seed phrase / private keys to?", + "d003-a-label": "Someone you’re paying", + "d003-a-explanation": "You should never give your seed phrase or private keys to anyone. Instead, send tokens to their wallet address via a transaction.", + "d003-b-label": "To login to a dapp or wallet", + "d003-b-explanation": "You should never give your seed phrase / private keys to login to your wallet or dapp.", + "d003-c-label": "Support staff", + "d003-c-explanation": "You should never give your seed phrase / private keys to anyone claiming to be support staff. Anyone asking you for this is a scammer.", + "d003-d-label": "No one", + "d003-d-explanation": "Ideally, you should never give your seed phrase or private keys to anyone. If you trust someone completely with absolute access to your funds (such as a spouse), then you may decide to share this information with them.", + "d004-prompt": "A wallet and an account on Ethereum are the same thing.", + "d004-a-label": "True", + "d004-a-explanation": "A wallet is a visual interface used to interact with an Ethereum account.", + "d004-b-label": "False", + "d004-b-explanation": "A wallet is a visual interface used to interact with an Ethereum account.", + "e001-prompt": "Why should you use unique passwords for all of your accounts?", + "e001-a-label": "In case one of the platforms has a data breach", + "e001-a-explanation": "This answer is correct, but there are also other correct answers.", + "e001-b-label": "In case someone looking over your shoulder works out your password", + "e001-b-explanation": "This answer is correct, but there are also other correct answers.", + "e001-c-label": "In case malware, such as a key-logger, steals your password", + "e001-c-explanation": "This answer is correct, but there are also other correct answers.", + "e001-d-label": "All of the above", + "e001-d-explanation": "All answers are correct. Using unique passwords is the best way to prevent anyone else from accessing your account.", + "e002-prompt": "Following The Merge, ETH must be upgraded to ETH2.", + "e002-a-label": "True", + "e002-a-explanation": "You do not need to upgrade your ETH to ETH2. There is no ETH2 and this is a common narrative used by scammers.", + "e002-b-label": "False", + "e002-b-explanation": "You do not need to upgrade your ETH to ETH2. There is no ETH2 and this is a common narrative used by scammers.", + "e003-prompt": "ETH giveaways are:", + "e003-a-label": "A good way to get more ETH", + "e003-a-explanation": "ETH giveaways are scams designed to steal your ETH and other tokens. They are never a good way to get more ETH.", + "e003-b-label": "Always genuine", + "e003-b-explanation": "ETH giveaways are never genuine.", + "e003-c-label": "Commonly performed by prominent members of the community", + "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-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", + "e004-b-explanation": "Ethereum transactions cannot be reversed. Anyone who tells you otherwise might be trying to scam you.", + "f001-prompt": "NFTs are most comprehensively defined as:", + "f001-a-label": "unique digital assets", + "f001-a-explanation": "NFTs represent a unique digital asset.", + "f001-b-label": "digital artwork", + "f001-b-explanation": "NFTs represent a unique digital asset, this is commonly digital artwork, but it isn’t limited to art.", + "f001-c-label": "tickets to exclusive events", + "f001-c-explanation": "NFTs represent a unique digital asset, this could be a ticketing system, but it isn't limited to tickets.", + "f001-d-label": "legally binding contracts", + "f001-d-explanation": "Although a legal contract could be represented as an NFT, NFTs are not exclusive to legally binding contracts.", + "f002-prompt": "Two NFTs representing the same artwork are the same thing.", + "f002-a-label": "True", + "f002-a-explanation": "NFTs are non-fungible. This means even if they represent the piece of digital art, they are still uniquely identifiable. In the traditional artworld, this might be similar to originals and prints.", + "f002-b-label": "False", + "f002-b-explanation": "NFTs are non-fungible. This means even if they represent the piece of digital art, they are still uniquely identifiable. In the traditional artworld, this might be similar to originals and prints.", + "f003-prompt": "NFTs most commonly represent:", + "f003-a-label": "The password to your wallet", + "f003-a-explanation": "This is a security risk and generally a bad idea!", + "f003-b-label": "Ownership of a unique digital item", + "f003-b-explanation": "NFTs commonly represent ownership of a unique digital item.", + "f003-c-label": "Your current ETH balance", + "f003-c-explanation": "NFTs cannot represent your ETH balance arbitrarily.", + "f003-d-label": "All of the above", + "f003-d-explanation": "NFTs commonly represent ownership of a unique digital item, not ETH balances or wallet passwords.", + "f004-prompt": "NFTs have helped create a new:", + "f004-a-label": "curator economy", + "f004-a-explanation": "NFTs helped create a new economy for creators, not curators.", + "f004-b-label": "carbon economy", + "f004-b-explanation": "NFTs helped create a new economy for creators, not carbon.", + "f004-c-label": "creator economy", + "f004-c-explanation": "NFTs helped create the creator economy.", + "f004-d-label": "doge economy", + "f004-d-explanation": "NFTs helped create a new economy for creators, not doges 🐶.", + "f005-prompt": "NFTs on Ethereum are harmful to the environment", + "f005-a-label": "True", + "f005-a-explanation": "Since The Merge (transition to proof-of-stake), any transaction has been a negligible impact on the environment.", + "f005-b-label": "False", + "f005-b-explanation": "Since The Merge (transition to proof-of-stake), any transaction has been a negligible impact on the environment.", + "g001-prompt": "Layer 2 blockchain networks are for:", + "g001-a-label": "Scaling Ethereum", + "g001-a-explanation": "The primary purpose of rollups and other layer 2 solutions is for scaling Ethereum.", + "g001-b-label": "Making payments", + "g001-b-explanation": "The primary purpose of rollups and other layer 2 solutions is for scaling Ethereum.", + "g001-c-label": "Buying NFTs", + "g001-c-explanation": "The primary purpose of rollups and other layer 2 solutions is for scaling Ethereum.", + "g001-d-label": "Decentralizing Ethereum", + "g001-d-explanation": "The primary purpose of rollups and other layer 2 solutions is for scaling Ethereum.", + "g002-prompt": "To scale, most alternative layer 1 networks have primarily sacrificed on:", + "g002-a-label": "Security", + "g002-a-explanation": "Most alternative Layer 1 networks sacrifice on security and something else in order to scale.", + "g002-b-label": "Decentralization", + "g002-b-explanation": "Most alternative Layer 1 networks sacrifice on decentralization and something else in order to scale.", + "g002-c-label": "Token price", + "g002-c-explanation": "Token price does not have any impact on scaling ability.", + "g002-d-label": "Security and decentralization", + "g002-d-explanation": "Most alternative layer 1 networks sacrifice on both security and decentralization in order to scale.", + "g003-prompt": "Which of the following are not considered to be layer 2?", + "g003-a-label": "Validiums", + "g003-a-explanation": "Validiums are not considered to be layer 2 solutions as they do not derive security or data availability from Ethereum", + "g003-b-label": "Sidechains", + "g003-b-explanation": "Sidechains are not considered to be layer 2 solutions as they do not derive security or data availability from Ethereum.", + "g003-c-label": "Alternative layer 1 blockchains", + "g003-c-explanation": "Alternative layer 1 blockchains are not considered to be layer 2 solutions.", + "g003-d-label": "All of the above", + "g003-d-explanation": "Validiums, Sidechains, and alternative layer 1 blockchains are not considered to be layer 2 solutions as they do not derive security or data availability from Ethereum.", + "g004-prompt": "Why does Ethereum not have an ‘official’ layer 2?", + "g004-a-label": "Core developers are too busy working on Ethereum", + "g004-a-explanation": "There are no plans for an ‘official’ layer 2 on Ethereum as we’ll benefit from a wide-variety of approaches to designing layer 2 solutions.", + "g004-b-label": "As an L1, Ethereum will eventually reach mass scaling on its own", + "g004-b-explanation": "There are no plans for an ‘official’ layer 2 on Ethereum as we’ll benefit from a wide-variety of approaches to designing layer 2 solutions.", + "g004-c-label": "Core developers are still debating between optimistic and zk-rollups", + "g004-c-explanation": "There are no plans for an ‘official’ layer 2 on Ethereum as we’ll benefit from a wide-variety of approaches to designing layer 2 solutions.", + "g004-d-label": "Ethereum will benefit from a wide-variety of approaches to designing an L2", + "g004-d-explanation": "There are no plans for an ‘official’ layer 2 on Ethereum as we’ll benefit from a wide-variety of approaches to designing layer 2 solutions.", + "h001-prompt": "The Merge moved Ethereum onto which consensus mechanism?", + "h001-a-label": "Proof-of-work", + "h001-a-explanation": "Proof-of-work was the consensus mechanism used before The Merge.", + "h001-b-label": "Proof-of-stake", + "h001-b-explanation": "Correct! The Merge moved Ethereum onto proof-of-stake.", + "h001-c-label": "Proof-of-authority", + "h001-c-explanation": "Ethereum does not, and has never used proof-of-authority on Ethereum Mainnet.", + "h001-d-label": "All of the above", + "h001-d-explanation": "It would not be possible for Ethereum to have all of these consensus mechanisms at once.", + "h002-prompt": "The Merge reduced Ethereum’s energy consumption by:", + "h002-a-label": "50%", + "h002-a-explanation": "Ethereum’s energy consumption was reduced by 99.95% after The Merge enabled the transition from proof-of-work to proof-of-stake.", + "h002-b-label": "62.5%", + "h002-b-explanation": "Ethereum’s energy consumption was reduced by 99.95% after The Merge enabled the transition from proof-of-work to proof-of-stake.", + "h002-c-label": "90%", + "h002-c-explanation": "Ethereum’s energy consumption was reduced by 99.95% after The Merge enabled the transition from proof-of-work to proof-of-stake.", + "h002-d-label": "99.95%", + "h002-d-explanation": "Ethereum’s energy consumption was reduced by 99.95% after The Merge enabled the transition from proof-of-work to proof-of-stake.", + "h003-prompt": "When did The Merge happen?", + "h003-a-label": "September 15th 2022", + "h003-a-explanation": "The Merge happened on September 15th 2022 at 06:42:42 AM (UTC).", + "h003-b-label": "December 1st 2021", + "h003-b-explanation": "The Merge happened later than this. December 1st 2022 was when the Beacon Chain was launched.", + "h003-c-label": "November 27 2013", + "h003-c-explanation": "The Merge happened later than this. November 27, 2013 was when the Ethereum whitepaper was released.", + "h003-d-label": "October 31st 2008", + "h003-d-explanation": "The Merge happened later than this. October 31st is the day the Bitcoin Whitepaper was released.", + "h004-prompt": "The Merge meant users had to exchange their ETH for ETH2:", + "h004-a-label": "True", + "h004-a-explanation": "ETH did not change at any point before, during, or after The Merge. The idea of ‘upgrading’ ETH to ETH2 was a common tactic by malicious actors to scam users.", + "h004-b-label": "False", + "h004-b-explanation": "ETH did not change at any point before, during, or after The Merge. The idea of ‘upgrading’ ETH to ETH2 was a common tactic by malicious actors to scam users.", + "h005-prompt": "Ethereum’s consensus layer was formerly known as:", + "h005-a-label": "Proof-of-work", + "h005-a-explanation": "Proof-of-work was the consensus mechanism used before The Merge.", + "h005-b-label": "Eth2", + "h005-b-explanation": "Before being renamed the consensus layer, it was originally called ‘Eth2’.", + "h005-c-label": "Eth1", + "h005-c-explanation": "Eth1 was the original name given to the execution layer, not the consensus layer.", + "h005-d-label": "Sharding", + "h005-d-explanation": "Sharding is an update on the Ethereum roadmap related to scaling." +} diff --git a/src/types.ts b/src/types.ts index 3222c05334e..bd5e7d62bec 100644 --- a/src/types.ts +++ b/src/types.ts @@ -79,14 +79,14 @@ export interface AnswerChoice { export interface Answer { id: string - label: string - explanation: string + label: TranslationKey + explanation: TranslationKey moreInfoLabel?: string moreInfoUrl?: string } export interface RawQuestion { - prompt: string + prompt: TranslationKey answers: Array correctAnswerId: string } @@ -100,7 +100,7 @@ export interface QuestionBank { } export interface RawQuiz { - title: string + title: TranslationKey questions: Array // TODO: Force to be an array of questionID's }