From 2faae969197c67ee45a7db6ac09748df8ce75eaf Mon Sep 17 00:00:00 2001 From: gianmalarcon Date: Thu, 15 Aug 2024 17:39:27 +0700 Subject: [PATCH] Fix: Update paths --- README.md | 10 +++++----- packages/nextjs/app/challenge/[id]/page.tsx | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 1c32c8fa..345de7d1 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 ed808e91..8e71189d 100644 --- a/packages/nextjs/app/challenge/[id]/page.tsx +++ b/packages/nextjs/app/challenge/[id]/page.tsx @@ -16,7 +16,7 @@ const PageView: React.FC = () => { const getMarkdown = async () => { const response = await fetch( `https://raw.githubusercontent.com/Quantum3-Labs/speedrunstark/${id}/README.md`, - // `https://raw.githubusercontent.com/scaffold-eth/se-2-challenges/challenge-0-simple-nft/README.md`, + // `https://raw.githubusercontent.com/scaffold-eth/speedrunstark/challenge-0-simple-nft/README.md`, ); const markdownData = await response.text();