Sign in (demo)

Lock a page, download or community role to people who hold a name or token on Bitcoin. Visitors sign a one-time message in their wallet. Free for them and for you.

Demo: holders of GOTPROOF or TOKENLOCK only

Hold GOTPROOF or TOKENLOCK? Sign in to unlock this box. Anyone else sees a clear "not a holder" message.

Add it to your site

Recommended: check the pass on your server so locked content is never sent until we do the Token check. This demo does that: the private text is fetched only after the server confirms the pass. The visitor gets a pass that lasts 15 minutes by default.

<script src="https://tokenlock.ai/gate.js"></script>
<script>
  ProveItGate.signIn({ assets: ['GOTPROOF'] })        // any one of these
    .then(({ pass }) => fetch('/members', { headers: { 'x-pass': pass } }));
</script>

Your server checks the pass:

GET https://tokenlock.ai/api/v1/gate/verify?identity_only=true&pass=PASS
→ { "valid": true, "address": "bc1q…", "assets_held": ["GOTPROOF"],
    "origin": "https://yoursite.com", "expires_at": "…" }

Confirm valid, that origin is your site, and that assets_held has what you require. No code? Drop in <div data-proveit-gate data-assets="GOTPROOF" data-on-pass="onPass"></div>. Works with names, numbered tokens and sub-tokens, or anyName: true for anyone with a name on Bitcoin. Full reference in the developer docs.

Soft gate: if you only hide content with JavaScript in the browser, it still reaches the visitor and can be bypassed with an extension or dev tools. Fine for teasers and soft paywalls, not for anything that must stay private.

Want a whole locked section, checked on the server for every page and file? See the live holders-only vault and how to build your own.

A pass proves the visitor controls a wallet that held the token when they signed. It does not prove legal identity. Signing moves no funds.
Running this for a team, vendors or AI agents? See the enterprise demo: approve, scope, log allowed and denied hosted checks, and revoke.

Sign in with your Token

Holders pass, and a short snippet adds the same sign-in box to your site.

Holders01

Sign in with your Token

Demo

The demo asks the wallet to sign a challenge. Holders of the required Token get a pass. Everyone else is denied.

Try the gate →
Snippet02

Add the sign-in box

gate.js

A short script tag adds the same sign-in box to a page. Used alone it is a soft gate; lock the path on your server for enforcement.

Add it to your site →