The applet lifecycle: resolve fetches and verifies, plan narrows the environment under the user's grants, mount performs the NIP-5D mount order and handleWindowMessage runs the guard in front of the bridge.
resolve
plan
mount
handleWindowMessage
The composed shell's parts.
The lifecycle methods.
const lifecycle = createAppletLifecycle(context);const summary = await lifecycle.resolve(pointer); Copy
const lifecycle = createAppletLifecycle(context);const summary = await lifecycle.resolve(pointer);
The applet lifecycle:
resolvefetches and verifies,plannarrows the environment under the user's grants,mountperforms the NIP-5D mount order andhandleWindowMessageruns the guard in front of the bridge.