SDKs that keep secrets on your server
Server SDKs sign wall links and verify postbacks, so secrets stay on your server.
Opens at launch. This page shows how it works. Each SDK shows its status from one config: Available, or Coming soon until its package is published.
import { signLaunchUrl, verifyRewardPostback } from "@krin/sdk";
// Open the wall for a user: a fresh nonce, signed sub ids
const { url } = await signLaunchUrl(launchSecret, {
placement: "plc_...",
userId: "player-1042",
});
// Credit a reward once, after the signature checks out
export default {
async fetch(request) {
const { postback } = await verifyRewardPostback([postbackSecret], request);
if (!postback.test) await creditOnce(postback.conversion_id, postback.reward);
return new Response(null, { status: 204 });
},
}; In short
Server SDKs for TypeScript and PHP sign wall links and verify reward postbacks. A web wall needs no SDK, and client SDKs never hold a secret.
Secrets stay on your server
- 01
TypeScript and PHP SDKs for your server.
- 02
A web wall needs no SDK at all.
- 03
Client SDKs never hold a secret.
- 04
Tested code for Node, PHP and Python in the docs.
Straight answers
Which platforms are supported?
Web and Android first, with TypeScript and PHP on the server. iOS, Unity, React Native and Flutter come next, on the same API.
Do I need an SDK for a web wall?
No. A signed link and a postback handler are enough. The docs have tested code for Node, PHP and Python.
Start as an advertiser or as a publisher
Create an account and start in Sandbox. Live campaigns and walls go through review first.
Last updated: