primer · onchain

Four onchain primitives, demystified.

Every idea in this repo leans on one of four web3 primitives. Each one runs against Cronos Testnet (a free, real testnet) so you can ship a verifiable demo with zero hosting and sub-cent gas paid from a faucet-funded wallet.

The five secrets

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

  • METAMASK_PRIVATE_KEYExported from MetaMask. Fund on Cronos Testnet via the Google Cloud faucet.open ↗
  • PRIVY_APP_IDGoogle sign-in + embedded-wallet transactions.open ↗
  • PINATA_JWTPin to IPFS.open ↗
  • CRONOS_RPC_URLOptional. A public RPC is used if omitted.