primer · onchain

Four onchain primitives, demystified.

Every idea in this repo leans on one of four web3 primitives. Each one runs against World Chain Sepolia (a free, real testnet) so you can ship a verifiable demo with zero hosting and zero gas spent by your users.

The five secrets

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

  • METAMASK_PRIVATE_KEYExported from MetaMask. Fund on World Chain Sepolia via the Alchemy faucet.open ↗
  • ETHERSCAN_API_KEYFor npx hardhat verify after deploy.open ↗
  • PRIVY_APP_IDGoogle sign-in + sponsored transactions.open ↗
  • PINATA_JWTPin to IPFS.open ↗
  • SEPOLIA_RPC_URLOptional. A public RPC is used if omitted.
sybil resistance

World ID proof-of-personhood

0 ideas use this
kernel
an IDKit widget that generates a World ID proof, verified server-side against the Worldcoin developer API before any onchain write is allowed
how it drives the UI
a 'verify you're human' step that unlocks the onchain action once verified — one proof per user per action