icon starknetLearn how to build on Starknet; the superpowers and the gotchas.

SPEEDRUN STARKNET

Challenge #0

๐ŸŽŸ Simple NFT Example

๐ŸŽซ Create a simple NFT to learn basics of ๐Ÿ— Scaffold-Stark. You'll use Scarb to compile and Starknet.js 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! ๐Ÿš€

image challenge
Challenge #1

๐Ÿฅฉ Decentralized Staking App

๐Ÿฆธ 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. The users only have to trust the code. We'll learn about the approve pattern for ERC20s.

image challenge
Challenge #2

๐Ÿต Token Vendor

๐Ÿค– Smart contracts are kind of like "always on" vending machines that anyone can access. Let's make a decentralized, digital currency (an ERC20 token in Cairo for Starknet). Then, let's build an unstoppable vending machine that will buy and sell the currency. We'll learn about how contract to contract interactions work.

image challenge
Challenge #3

๐ŸŽฒ Dice Game

๐ŸŽฐ Randomness is tricky on a public deterministic blockchain. The block hash is the result proof-of-work (for now) and some builders use this as a weak form of randomness. In this challenge you will take advantage of a Dice Game contract by predicting the randomness in order to only roll winning dice!

image challenge
JOiN CORE-STARS
The Core-Stars is a curated group of Starknet builders creating products, prototypes, and protocols to enrich the web3 ecosystem. A place to ask for support, show off your builds and meet other builders. Start crafting your Web3 portfolio by submitting your DEX, onchain Game or SVG NFT build.
Challenge #4

โš–๏ธ Build a DEX

๐Ÿ’ต Build an exchange that swaps ETH to STRK token and STRK token 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...

image challenge
Challenge #5

๐Ÿ“บ A State Channel Application

๐Ÿ›ฃ๏ธ The Ethereum blockchain has great decentralization & security properties but these properties come at a price: transaction throughput is low, and transactions can be expensive. This makes many traditional web applications infeasible on a blockchain... or does it? State channels look to solve these problems by allowing participants to securely transact off-chain while keeping interaction with Ethereum Mainnet at a minimum.

image challenge
Challenge #6

๐Ÿ‘› Multisig Wallet Challenge

๐Ÿ›ฃ๏ธ The Ethereum blockchain has great decentralization & security properties but these properties come at a price: transaction throughput is low, and transactions can be expensive. This makes many traditional web applications infeasible on a blockchain... or does it? State channels look to solve these problems by allowing participants to securely transact off-chain while keeping interaction with Ethereum Mainnet at a minimum.

image challenge
Challenge #7

๐ŸŽ SVG NFT ๐ŸŽซ Building Cohort Challenge

๐Ÿง™ Tinker around with cutting edge smart contracts that render SVGs in Solidity. ๐Ÿงซ We quickly discovered that the render function needs to be public... ๐Ÿค” This allows NFTs that own other NFTs to render their stash. Just wait until you see an Optimistic Loogie and a Fancy Loogie swimming around in the same Loogie Tank!

image challenge