"use client"; import Image from "next/image"; import Link from "next/link"; import { Address } from "@scaffold-ui/components"; import type { NextPage } from "next"; import { hardhat } from "viem/chains"; import { useAccount } from "wagmi"; import { BugAntIcon, MagnifyingGlassIcon } from "@heroicons/react/24/outline"; import { useTargetNetwork } from "~~/hooks/scaffold-eth"; const Home: NextPage = () => { const { address: connectedAddress } = useAccount(); const { targetNetwork } = useTargetNetwork(); return ( <>
Connected Address:
🦸 A superpower of Ethereum 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, not each other.
🌟 The final deliverable is deploying a Dapp that lets users send ether to a contract and then fund the cause if the conditions are met, then deploy your app to a public webserver. Submit the url on{" "} SpeedrunEthereum.com {" "} !
Tinker with your smart contract using the{" "} Debug Contracts {" "} tab.
Explore your local transactions with the{" "} Block Explorer {" "} tab.