直接进入正文
Dre Design

案例 · 品牌 + 产品

KZero

一个可嵌入的 zkLogin 钱包:用 Google 登录,在 Polkadot 签名,不用助记词。包括品牌识别、登录组件和开发者 Playground

KZero 把普通的 Google 或 Apple 账号变成链上钱包:一张宿主直接放进页面的卡片,一个由三个基本形组成的标志,一个粉色信号色

角色
品牌 · 产品 · UI
平台
Web SDK · Playground
重点
zkLogin · 组件 · 系统

Sign in with Google Sign on Polkadot *No seed phrase*

KZero is an embeddable login and wallet layer for Substrate dApps. It pairs OpenID sign-in with zero-knowledge proofs, so an ordinary Google or Apple account controls an on-chain address — and nobody, KZero included, can link the two.

I designed the identity, the drop-in widget host apps embed, and the developer playground where teams tune it to their own brand

Role — Brand, product & UI design

Web SDK · Playground · Mobile web

  • 0 private keys or seed phrases to keep
  • 6 digit session OTP guards every signature
  • 24 theme combinations out of the box
  • 3 flows, end to end: sign in, sign, recover

Square, key, zero

The mark spells K0 from three primitives: the square is the host app, the chevron is the key turning, the circle is the account it opens. The wordmark is drawn on the same 10-unit grid, with its cap height locked to the square.

Clear space — 5u on every side

Minimum sizes — lockup, mark, app icon

  • Unit — u = 10
  • 43u × 18u Mark
  • 139u × 18u Lockup
  • Stroke-free — solid primitives only
  • APP BOUNDARY — The host’s own surface. KZero lives inside it
  • KEY — The turn of a key — the proof that unlocks it
  • ACCOUNT — Zero: an address with no seed phrase behind it

Ink, paper and one signal

KZero stays monochrome so it can sit inside anyone else’s product. Pink is reserved for the moments that need a thumb — the primary action, the active OTP cell, a live proof.

Host accents — the widget swaps its signal for the host’s brand

  • Geist — Display & interface — Regular, Medium
  • Geist Mono — Addresses, proofs, config

Keyless One tap Anywhere

From the original product line — the promise the whole system is built around

One widget, three moments

Everything a user meets lives inside a 320px card the host drops into its own page — no redirect, no extension, no wallet download

One widget, every host

Hosts pick a theme, an accent and a corner radius in the playground. Each choice is a variable mode, so the same component re-skins itself without a single detached layer.

themes × accents × radii — plus any custom hex a host pastes in

From a Google tap to a locked session

The first visit creates the account and a session OTP in one pass. A background security check runs the whole time; the pill in the header is the only thing the user has to read.

Every failure state keeps the way back one tap away — retry from the same card, never a dead end

Unsafe environment blocks OTP creation entirely: KZero will not let a user set a secret inside a compromised browser

What happens between tap and block

The only step the user sees

The session OTP gates step 05 on this device — a stolen laptop with a live session still can’t sign

  • Ephemeral key — Generated in the browser for this session and set to expire. It signs; it never leaves the device.
  • OpenID token — Google signs a JWT whose nonce commits to that ephemeral key
  • Salt — Derived inside a TEE, so the Google ID can never be linked to the on-chain address
  • Zero-knowledge proof — Built server-side on GPU: “this token is valid” — without revealing the token
  • On-chain check — The zkLogin pallet verifies proof and signature, then executes the call

Tune it, preview it, ship the config

Integrators get a live playground: pick providers, theme, accent and radius, watch the widget update in place, then export a single JSON config to drop into their dApp

Try the whole loop before writing code

The demo tab signs a real testnet transaction: claim faucet tokens, send them to Alice, approve in the widget, and read the raw session object in the console

On mobile the widget becomes a bottom sheet — same card, same component

Built as a system, not as screens

Fifty-plus components, three variable collections, fifteen text styles. Every widget state in this case is assembled from these parts.

ICONS · 24 GRID · 1.75 STROKE