primer · onchain

Four onchain primitives, demystified.

Every idea in this repo leans on one of four web3 primitives. Each one runs against Plasma Testnet (chain ID 9746, native token XPL, ~1s blocks, full EVM) so you can ship a verifiable demo with zero hosting and free faucet gas.

The four secrets

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

  • METAMASK_PRIVATE_KEYExported from MetaMask. Fund on Plasma Testnet via openfaucet.org (free XPL).open ↗
  • PRIVY_APP_IDGoogle sign-in and an embedded wallet auto-provisioned on Plasma.open ↗
  • PINATA_JWTPin to IPFS.open ↗
  • PLASMA_RPC_URLOptional. Defaults to https://testnet-rpc.plasma.to (public, rate-limited).