Pick a depth. Each prompt opens in your AI pre-loaded with the lesson. Click a row to preview the prompt.
To deploy, you need a wallet (an address + private key) and an RPC endpoint (a node to talk to). Locally, Anvil gives you ten pre-funded accounts and an RPC at http://127.0.0.1:8545 in one command. For a testnet like Sepolia, you'll sign up for an RPC provider (Alchemy, Infura, or a public one) and fund a wallet from a faucet. This is plumbing, but it's plumbing every single deploy needs.
Anvil is a local EVM node that starts instantly, pre-funds ten accounts with 10 000 ETH each, and mines a block per transaction — making iteration loops near-instant. Sepolia is Ethereum's canonical testnet where transactions flow through real validators, so deploy timings and gas costs match mainnet behavior.
# ---- LOCAL (Anvil) ----
# Start anvil in a separate terminal:
anvil
# Outputs 10 test accounts with private keys and 10,000 ETH each.
# RPC URL: http://127.0.0.1:8545
# ---- TESTNET (Sepolia) ----
# 1. Create a wallet (you can use foundry's cast to make one):
cast wallet new
# Save the private key to .env (never commit it):
echo 'PRIVATE_KEY=0x...' >> .env
# 2. Get a Sepolia RPC URL from Alchemy/Infura/public:
echo 'SEPOLIA_RPC_URL=https://ethereum-sepolia.publicnode.com' >> .env
# 3. Fund your wallet from a Sepolia faucet
# (google "sepolia faucet" — they come and go).
# Sanity check balance:
cast balance $(cast wallet address --private-key $PRIVATE_KEY) \
--rpc-url $SEPOLIA_RPC_URLanvil in a terminal. Note the 10 test accounts and their private keys. These reset every time anvil restarts.cast balance 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 --rpc-url http://127.0.0.1:8545. You should see 10000000000000000000000 wei.cast wallet new. Save the private key somewhere safe (a .env file with .gitignore, not your repo).cast balance and a Sepolia RPC URL. Confirm the faucet worked.