primer · onchain

Four onchain primitives, demystified.

Every idea in this repo leans on one of four web3 primitives. Each one runs against Flow EVM Testnet (chainId 545) — a real EVM chain with a free faucet, verified on Flowscan (Blockscout), so you can ship a provable demo with zero hosting and a fractional-cent per-user gas budget.

The three secrets

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

  • FLOW_EVM_PRIVATE_KEYHardhat deployer key. Fund it (free) on Flow EVM Testnet via the faucet.open ↗
  • PRIVY_APP_IDGoogle sign-in + embedded wallet (user pays fractional-cent gas).open ↗
  • PINATA_JWTPin to IPFS.open ↗
  • FLOW_EVM_RPC_URLOptional. The public Flow EVM RPC (https://testnet.evm.nodes.onflow.org) works fine.