Sign in with your Token
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://proveitonchain.com/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://proveitonchain.com/api/v1/gate/verify?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.
Want to check one person instead? Verify someone.
Running this for a team, vendors or AI agents? See the enterprise demo: approve, scope, log and revoke.