Skip to main content

How to Integrate a Frontend

[stub] Frontends should treat artifacts and prepared calls as data boundaries: load the compiled artifact, collect wallet signatures through an app-specific signer, then submit through a provider that implements the Provider interface.

Planned Topics

  • Wallet connection and public-key discovery.
  • Preparing calls without broadcasting.
  • Presenting method arguments and state transitions to users.
  • Persisting deployed outpoints for later spends.
caution

Do not hard-code a test WIF in browser code. Use a wallet-backed signer or a server-side signing service with explicit custody rules.