Appearance
Gateway Artifacts
The playground's active path is production-equivalent gateway loading:
- Build each napplet as a single-file artifact.
- Emit
dist/index.htmlanddist/.nip5a-manifest.json. - Fetch manifest metadata through
/napplet-gateway/<dTag>/manifest.json. - Register
(dTag, aggregateHash)before iframe navigation. - Navigate to
/napplet-gateway/<dTag>/<aggregateHash>/index.html.
This path keeps the iframe opaque-origin and avoids direct dev-server shortcuts. Use pnpm audit:gateway-artifacts to verify the artifact shape.