Signing, store media, and payouts
Signed releases prove that an npm tarball came from the developer who owns the app on fkn.dev. fkn.app displays verified store art and release badges only from releases whose signature checks out against the app’s active signing keys.
Signing keys
Section titled “Signing keys”Open your app on fkn.dev and go to the Signing tab. Two key workflows are supported:
- Held keys:
fkn.devgenerates and holds an Ed25519 signing key tied to your account. Use this for quick releases directly from CI or your workstation after approving key operations in the console. - Self-managed CLI keys: Generate an Ed25519 key pair locally, register its public key on the Signing tab, and sign release artifacts offline or in GitHub Actions before publishing to npm.
When you rotate or retire a key, older versions signed during its active window remain valid unless you explicitly revoke the key. You can also flag a specific version as deprecated or security on the Signing tab without unpublishing from npm.
Signing an npm release
Section titled “Signing an npm release”Use the @fkn/sign CLI (fkn-sign) after your build step and before npm publish. For a registered app on fkn.dev, generate or export a release key, register its public key on the Signing tab with fkn-sign key prove, and run fkn-sign release --npm:
fkn-sign key prove --app fkn:app:<your-id> --key-file /path/to/release.keyfkn-sign release --npm --key-file /path/to/release.keyfkn-sign release --npm hashes every file npm pack ships, signs the manifest into fkn.json, and checks the result against the same verifier browsers run. Keep "signed": true inside package.json under fkn, and include "fkn.json" in files if your package.json declares a files allow-list.
Before it hashes anything, fkn-sign release checks fkn.network, fkn.embed and, from @fkn/sign 0.0.17, fkn.settings in package.json. A problem in any of them refuses the release with exit code 1 and no fkn.json written, printing one line per problem, each after the path of package.json and a colon. For fkn.settings (link your rooms page) the lines are these:
fkn.settings is an object from an fkn.app account page to a path in the appfkn.settings.<key> is not an fkn.app account page: fkn.settings takes roomsfkn.settings.rooms is not a path in the app: '/', then letters, digits, '-', '.', '_' or '~' between single slashes, at most 256 characters
Verify a published version against unpkg with fkn-sign verify npm:<name>@<version>. Exit code 2 means unpkg does not serve every file yet, so CI steps retry on 2.
Verified store media on fkn.app
Section titled “Verified store media on fkn.app”When fkn.app opens a signed npm release, it reads store art from two places. The square app icon comes from the package’s signed web app manifest (manifest.json or *.webmanifest, picking the largest PNG or SVG whose purpose includes any), while background, cover, and screenshots are declared in package.json under fkn:
{ "name": "@scope/my-app", "version": "1.0.0", "keywords": ["fkn-type:app"], "files": ["dist", "store", "app.webmanifest", "fkn.json"], "fkn": { "app": "fkn:app:<your-id>", "signed": true, "url": "https://my-app.example.com/", "background": "store/background.webp", "cover": "store/cover.webp", "screenshots": [ "store/home.webp", "store/player.webp" ] }}| Asset | Where declared | Format and limits |
|---|---|---|
icon | Signed manifest.json or *.webmanifest (icons) | PNG or SVG with purpose including any |
background | package.json (fkn.background) | Still .png, .jpg, .jpeg, or .webp (max 1 MiB, 3840 px per side) |
cover | package.json (fkn.cover) | Still .png, .jpg, .jpeg, or .webp 2:3 capsule (max 1 MiB, 3840 px per side) |
screenshots | package.json (fkn.screenshots) | 1 to 6 still .png, .jpg, .jpeg, or .webp paths (max 1 MiB, 3840 px per side) |
fkn-sign refuses animated PNGs, animated WebPs, files over 1,048,576 bytes, and dimensions over 3,840 pixels per side. Keep every store image and web app manifest inside the published signed tarball so fkn.app verifies their digests alongside fkn.json.
fkn.app shows the screenshots on your app’s page and in the preview of its card. On Home, on Discover and in a plugin’s Used by list, a mouse or pen resting on the card, or the keyboard focus on it, opens the preview once the release the card draws has something the card does not show: its screenshots, one at a time with Previous and Next, or the description from package.json in full when the card shows none of it or cuts it short. A release that does not verify shows no screenshots there.
Creator payouts
Section titled “Creator payouts”Organizations eligible for payouts can connect Stripe from the Payouts page in the fkn.dev account menu:
- Open Payouts from your account menu on fkn.dev.
- Choose your payout country and complete Stripe onboarding.
- Return to
fkn.devto confirm payout status and review balances.