From 3203143f6c92cdb35f9b48beda7f2633a95c3d32 Mon Sep 17 00:00:00 2001 From: Nadai2010 Date: Sun, 1 Sep 2024 20:14:02 +0100 Subject: [PATCH] Update reference --- README.md | 10 +++++----- packages/nextjs/app/challenge/[id]/page.tsx | 6 +++--- packages/nextjs/components/Footer.tsx | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 345de7d11..aaaf0a4e6 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ 🎫 Create a simple NFT to learn the basics of 🏗 scaffold-stark. You'll use [Scarb](https://docs.swmansion.com/scarb/) to compile and [Starknet.js](https://www.starknetjs.com/) to deploy smart contracts. Then, you'll use a template React app full of important Starknet components and hooks. Finally, you'll deploy an NFT to a public network to share with friends! 🚀 - + --- @@ -16,7 +16,7 @@ 🦸 A superpower of Starknet is allowing you, the builder, to create a simple set of rules that an adversarial group of players can use to work together. In this challenge, you create a decentralized application where users can coordinate a group funding effort. If the users cooperate, the money is collected in a second smart contract. If they defect, the worst that can happen is everyone gets their money back. The users only have to trust the code. We'll learn about the "approve" pattern for ERC20s. - + --- @@ -24,7 +24,7 @@ 🤖 Smart contracts are kind of like "always on" vending machines that anyone can access. Let's make a decentralized, digital currency. Then, let's build an unstoppable vending machine that will buy and sell the currency. We'll learn how contract to contract interactions work. - + --- @@ -32,7 +32,7 @@ 🎰 Randomness is tricky on a public deterministic blockchain. In this challenge you will explore creating random numbers using block hash and how that may be exploitable. Attack the dice game with your own contract by predicting the randomness ahead of time to always roll a winner! - + --- @@ -40,6 +40,6 @@ 💵 Build an exchange that swaps ETH to tokens and tokens to ETH. 💰 This is possible because the smart contract holds reserves of both assets and has a price function based on the ratio of the reserves. Liquidity providers are issued a token that represents their share of the reserves and fees... - + --- diff --git a/packages/nextjs/app/challenge/[id]/page.tsx b/packages/nextjs/app/challenge/[id]/page.tsx index 55ac2794e..752011827 100644 --- a/packages/nextjs/app/challenge/[id]/page.tsx +++ b/packages/nextjs/app/challenge/[id]/page.tsx @@ -15,11 +15,11 @@ const PageView: React.FC = () => { useEffect(() => { const getMarkdown = async () => { const response = await fetch( - `https://raw.githubusercontent.com/Quantum3-Labs/speedrunstark/${id}/README.md`, + `https://raw.githubusercontent.com/Scaffold-Stark/speedrunstark/${id}/README.md`, ); let markdownData = await response.text(); - const baseUrl = `https://raw.githubusercontent.com/Quantum3-Labs/speedrunstark/${id}/`; + const baseUrl = `https://raw.githubusercontent.com/Scaffold-Stark/speedrunstark/${id}/`; markdownData = markdownData.replace( /!\[(.*?)\]\((?!https?)(.*?)\)/g, `![$1](${baseUrl}$2)`, @@ -33,7 +33,7 @@ const PageView: React.FC = () => { const handleClick = () => { window.open( - `https://github.com/Quantum3-Labs/speedrunstark/tree/${id}`, + `https://github.com/Scaffold-Stark/speedrunstark/tree/${id}`, "_blank", ); }; diff --git a/packages/nextjs/components/Footer.tsx b/packages/nextjs/components/Footer.tsx index 53e2a0535..069db0e03 100644 --- a/packages/nextjs/components/Footer.tsx +++ b/packages/nextjs/components/Footer.tsx @@ -53,7 +53,7 @@ export const Footer = () => {