KODE
MIX & MATCH
A universal SDK for instant competition, seamless integration, and cross-chain interoperability.
SUPERCHARGE EVERYTHING
SUPERCHARGE

REVENUEPlayersViewersSponsorsFansStreamersActivity
REVENUEPlayersViewersSponsorsFansStreamersActivity
DESIGN YOUR COMPETITIVE ECOSYSTEM
GAME AGNOSTIC
Plug & Play any on-chain and off-chain game.
FULL SOVEREIGNTY
Own and control your smart contracts.
EVERY BLOCKCHAIN
Choose your chain.
CUSTOM TOKEN & INTERFACE
Integrate any asset for any use.
ACCOUNT ABSTRACTION
Accessible by anyone.
TOURNAMENTS
Customizable tournament infrastructure with automated rewards.
INSTANTLY INTEGRATE
Players
Revenue
AI Agents
Viewers
YOU WERE BORN TO COMPILE
export const AuthTokenPayload = z.object({
gameId: GameId,
});
export type AuthTokenPayload = z.infer<typeof AuthTokenPayload>;
export const TeamScore = z.object({
players: PlayerId.array(),
scores: z.number().array(),
});
export type TeamScore = z.infer<typeof TeamScore>;
export const GameEndedEvent = z.object({
matchId: MatchId,
tournamentId: z.string().optional(),
winners: z.record(z.number(), TeamScore),
});
export type GameEndedEvent = z.infer<typeof GameEndedEvent>;
export const GameStartedEvent = z.object({
matchId: MatchId,
tournamentId: TournamentId.optional(),
timestamp: z.coerce.number().int(),
});
export type GameStartedEvent = z.infer<typeof GameStartedEvent>;
export const LinkTokenPayload = z.object({
gameId: GameId,
playerId: PlayerId,
rating: z.coerce.number().optional(),
});