No secret to steal
The private key never leaves the wallet. We never see it, and nothing reusable is stored on our servers. Each site still has its own TOKENLOCK site secret, used to talk to the API, not a password your users share.
No user passwords or shared partner keys on our servers. A one-time challenge, a Token check, and scoped access you can revoke.
The wallet proves it controls the address by signing a payment that never happens. That proof is BIP-322, Bitcoin's standard for signing a message without moving funds.
The site issues a one-time message with a random nonce, bound to the site's origin. Single use; it expires in 10 minutes by default.
A virtual to_spend transaction commits to the message and pays the address. The wallet signs a to_sign transaction that spends it. Never broadcast; no funds move.
The verifier rebuilds that spend and checks the signature with the same rules Bitcoin nodes use (BIP-143 SegWit, BIP-341 Taproot). No custom crypto, and no full script engine.
The address must hold the access Token, plus the organization's approval where required.
Scoped to routes, methods and environments. Revocable per key. Every decision logged.
On the hosted service, each challenge is single use and expires in 10 minutes. In self-verify, the default is also 10 minutes, and you can set the lifetime from 60 seconds to 30 minutes. Legacy addresses that start with 1 sign with the classic "sign message" format instead of BIP-322. We accept both, so wallets without BIP-322 can still sign in.
The private key never leaves the wallet. We never see it, and nothing reusable is stored on our servers. Each site still has its own TOKENLOCK site secret, used to talk to the API, not a password your users share.
Each challenge is single use, bound to one site, and expires. A captured signature cannot be used again.
Taproot (Schnorr) and SegWit (ECDSA) via BIP-322, for bc1q, 3... and single-key bc1p addresses. Classic sign-message for legacy 1... addresses. Multisig is not supported yet.
| Passwords / API keys | SSO / OAuth | TOKENLOCK | |
|---|---|---|---|
| User secret on server | Yes | At the IdP | None: key stays in wallet |
| Phishable or leakable | Yes | Partly | No reusable sign-in secret |
| Revocation | Manual rotation | IdP admin | Per key, next request (hosted) |
| Who you trust | Your database | The IdP | Public Token check + org approval |
Hosted revocation in the table is strict mode, the default, with registered keys: the change is visible on the next request. In self-verify, it takes effect on the next successful policy refresh, every 60 seconds by default.
The underlying keys are secp256k1, at about 128-bit security, the same strength class as the P-256 keys used in TLS. The same curve and signatures secure over $1 trillion of Bitcoin: an open bounty no one has claimed.
A pass proves the visitor controlled a wallet holding the Token when they signed. It does not prove legal identity. Later requests present that short-lived pass; they are not signed one by one.
Email hello@tokenlock.ai. For a closer look at the integration, see the docs or try the demo.