Cotal TypeScript packages
    Preparing search index...

    Function ensureIssuer

    • Load-or-create the space's user-bearer issuer: first call generates the Ed25519 signing key and persists it under the pinned spaceIssuer iss; later calls return the SAME keys, so outstanding bearers keep verifying. A persisted iss that disagrees with the space's pin fails loud (the material belongs to another space/layout — never sign under a mismatched issuer).

      Parameters

      Returns Promise<UserTokenIssuer>