primer · onchain

Four onchain primitives, demystified.

Every idea in this repo leans on one of four web3 primitives. Each one runs against Linea Sepolia (a free, real Ethereum L2 testnet where gas is effectively zero) so you can ship a verifiable demo with zero hosting.

The five secrets

Add these in your Lovable project (Settings → Secrets) before pasting any mega-prompt:

  • METAMASK_PRIVATE_KEYExported from MetaMask. Fund on Linea Sepolia via the official faucet.open ↗
  • ETHERSCAN_API_KEYLineaScan is on Etherscan Multichain — same key verifies Linea Sepolia.open ↗
  • PRIVY_APP_IDGoogle sign-in with an embedded Linea Sepolia wallet.open ↗
  • PINATA_JWTPin to IPFS.open ↗
  • LINEA_SEPOLIA_RPC_URLRecommended. A public Linea Sepolia RPC is used if omitted, but Alchemy is required for reliable event reads.