primer · sui testnet

Four Sui primitives, demystified.

Every idea in this repo leans on one of four Sui-native primitives. Each runs against Sui Testnet (free, real, publicly inspectable) so you can ship a verifiable demo with zero hosting and zero wallet install; users fund a custodial Testnet address from the faucet.

The four secrets

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

  • SUI_DEPLOYER_KEYSui keypair (base64) used by `sui client publish`. Fund the address at the Sui Testnet faucet.open ↗
  • SUI_WALLET_SALT64-char random string, generated once via Lovable Cloud secrets. Used with HKDF to derive a per-user Ed25519 Sui keypair server-side.open ↗
  • WALRUS_PUBLISHER_URLDefault: https://publisher.walrus-testnet.walrus.space — used only when the idea pins media.open ↗
  • WALRUS_AGGREGATOR_URLOptional. Defaults to https://aggregator.walrus-testnet.walrus.space.
wallet UX

Google sign-in + custodial wallet

250 ideas use this
kernel
Google sign-in via Lovable-managed OAuth; the server derives a per-user Ed25519 Sui keypair (HKDF from SUI_WALLET_SALT + user.id) and signs transactions inside a createServerFn. Testnet-only custodial demo pattern.
how it drives the UI
a one-click 'Sign in with Google' that reveals the user's custodial Sui address and a Testnet faucet link