Privacy Policy
1. Scope
This Privacy Policy describes how TOKENLOCK collects, uses, stores, and shares information when you use tokenlock.ai, the hosted TOKENLOCK API, the dashboard, documentation, and demo pages.
It does not cover websites you protect with TOKENLOCK. Those sites have their own policies, and you (the customer) are responsible for them.
2. No custody, no keys
TOKENLOCK never takes custody of tokens or other assets. We never ask for, and the Service is not built to receive, a private key or recovery phrase. Signing happens in the wallet you or your visitor already uses. Signing moves no funds.
3. Information we collect
Account and site records
- The Bitcoin address you use as your dashboard account.
- Site records: allowed origins, required tokens, the publishable key, a hash of the secret key (the secret itself is shown once and is not stored in the clear), branding, webhook settings, plan, and usage.
- Optional fields you enter on registered keys and organizations, which can include owner names, owner emails, labels, and organization names.
- Plan-order records: plan, period, USD price, Bitcoin amount, payment address, transaction id when a payment is seen, and status.
Sign-in, challenges, and passes
- One-time challenges issued for dashboard sign-in and for "Sign in with your Token." Challenges are single use and expire in 10 minutes.
- The wallet address presented, the result of the check, the origin, and reason codes.
- Used-challenge records so a challenge cannot be reused. For gate sign-in, the stored record includes the address and a timestamp, not the signature. For some name-check challenges, the used record can include the signed message and the signature.
- Short-lived passes issued after a successful check (default 15 minutes, at most 24 hours; agent passes default 15 minutes, minimum 60 seconds). Your systems present the pass on later requests; TOKENLOCK verifies it. Decision-log records do not contain passes or signatures.
Session and other cookies we set
__Host-tl_session: dashboard session cookie (HttpOnly, Secure, Path=/, no Domain, SameSite=Lax). The session ends after 12 hours without a request, and never lasts more than 7 days after sign-in. The cookie is re-issued at most once an hour. A legacytl_sessioncookie is accepted for one release only and is not refreshed. Logout clears both cookie names.tl_admin: platform admin cookie (HttpOnly, Secure, Path=/api/v1/tokenlock/admin, SameSite=Strict, 4 hours). This is for platform administration, not ordinary customer sessions.vault_pass: vault demo cookie (HttpOnly, Secure, Path=/vault, SameSite=Lax, 1 hour).tl_edemo: enterprise demo sandbox cookie. It is a demo cookie, not a customer product session.
A server-side sign-out record (valid_after) is stored so earlier sessions can be invalidated.
Cookies set on your own domain by your integration (for example to hold a pass) are under your control and are subject to your policy.
Attempt log
For each site, TOKENLOCK records sign-in attempts: time, pass or fail, a reason code (for example bad_signature, not_holder, expired, already_used, origin_mismatch, or holder_changed), the signing address, a keyed hash of the IP address (raw IPs are not stored in this log), the user agent, and the origin. The dashboard shows about 90 days. Each monthly file keeps at most 2,000 of the newest attempt rows; the counts still reflect the full total. Automatic deletion of older monthly files was not found in the code.
Decision log
The hosted decision log records sign-in outcomes (authorized, denied, or abandoned), denied pass checks, and successful verifies that reach our API. It is not a log of every request. Locally cached library decisions and self-verify decisions on your servers are not written to the hosted log. A logging failure does not block access.
Entries can include a correlation id, the reason, key and owner fields you have stored, the resource, the wallet address, a hashed IP, the user agent, and timestamps. Decision-log records, webhooks, and log streams do not contain passes, signatures, secret keys, or raw IP addresses (ip_hash only). You can turn on hash_addresses so webhooks and streams receive an address hash instead of the wallet address.
Decision-log retention and caps by plan:
| Plan | Retention | Monthly cap | Daily cap |
|---|---|---|---|
| Free | 14 days | 500 | 50 |
| Business | 180 days | 25,000 | 2,500 |
| Enterprise | 365 days | 100,000 | 10,000 |
Redis keys expire one day after the retention window. If a site goes over the per-day list cap, the oldest rows for that day are dropped. Export is a read of whatever is still in Redis; it is not a separate archive. The decision log is not copied to the Blob backup.
On Business and Enterprise, you can opt in to a decision webhook (one POST per logged decision, 3 second timeout, no retries, best-effort). On Enterprise, you can also configure log streams to an HTTPS endpoint, Splunk, or Datadog that you provide (best-effort, with bounded retries). Those destinations receive the event data you chose to stream.
Access-control state and backups
Access settings, organizations, keys (including owner names and emails you enter), and open requests live in Redis. After admin changes, a durable backup is written to object storage at an HMAC-hashed path, encrypted with AES-256-GCM. A separate encrypted journal records key and policy changes so a later revoke is not undone by an older snapshot. Backups hold state, keys, and requests. They do not include the decision log or the admin-action history list. Access state, backups, and journals have no automatic expiry.
Rate limits, abuse checks, and Turnstile
We apply rate limits per IP and, for some unauthenticated routes, per network prefix. Counters are stored for short windows in Redis and in memory. They are used to enforce limits, not as a long-term identity record.
When Cloudflare Turnstile is enabled, public forms (the request form, dashboard sign-up or sign-in, and new enterprise-demo sandboxes) and, separately, the sign-in gate after repeated failures, may require a Turnstile check. We send the captcha token and, when available, the client IP to Cloudflare's verification API.
Optional request form
If you submit the TOKENLOCK request form, we store the Bitcoin address, an optional X handle, an optional site, a short description of intended use, a hashed IP, and a timestamp.
Usage and payments
We store counts of successful sign-ins and monthly active wallets, and payment-detection records as described above. We look up the Bitcoin price and confirmation status from public Bitcoin APIs in order to invoice and activate plans.
Holdings lookups
To check whether a wallet holds a required token, we query public token-holding APIs, including Tokenscan, using the wallet address and token you configured. We do not send private keys. For plan payments, we query public Bitcoin APIs, including mempool.space, to detect payment and confirmations and to quote a Bitcoin price.
Ordinary website requests
When you visit our sites or call our API, the hosting platform may process standard request metadata such as IP address, user agent, and timestamps in platform logs.
4. How we use information
We use this information to operate the Service: to authenticate you, issue and check passes, apply your policies, meter plans, detect payment, prevent abuse, keep backups, provide the dashboard and exports, send the optional webhooks and log streams you configure, and communicate with you about the Service.
5. Where information is stored and who processes it
The Service is hosted on Vercel. As implemented, TOKENLOCK uses these processors:
- Vercel — hosts the application. Vercel may process request metadata in platform logs under Vercel's terms. We did not find a separate advertising or analytics tracker in the TOKENLOCK product code reviewed for this draft.
- Vercel Blob — site documents, accounts, attempt logs, used-challenge markers, session invalidation records, plan orders, and encrypted access-state backups and journals.
- Upstash Redis — access state, decision logs, rate-limit counters, and related operational keys.
- Cloudflare Turnstile — bot checks when captcha is enabled, as described above.
- Tokenscan — public token-holding lookups.
- mempool.space — public Bitcoin payment detection, confirmations, and price quotes.
We did not find TOKENLOCK product code that sends transactional email through Resend or another mail provider. If that changes, this policy should be updated.
If you configure a decision webhook or a log stream, we send the event data you opted to stream to the destination you provide. Those destinations are yours, or your vendor's, not TOKENLOCK's default processors. Credentials you give us for those destinations (for example a Splunk token or Datadog API key) are encrypted at rest and are not returned by the API, shown in the dashboard, or written into delivery errors.
TOKENLOCK operators who have the live Redis credentials can read, change, or delete Redis keys. Operators who have the object-storage credentials can read, overwrite, or delete stored objects; operators who also have the backup encryption key can decrypt a backup or journal. We may also disclose information if required by law.
6. Retention
- Decision log: retained for the plan window in the table above. Redis keys expire one day after that window.
- Attempt log: about 90 days are shown in the dashboard. Monthly files are stored in object storage. Automatic deletion of older files was not found in the code.
- Access state, encrypted backups, and journals: no automatic expiry.
- Challenges: expire in 10 minutes. Used-challenge records are written to object storage to prevent replay. Automatic deletion of those records was not found in the code.
- Dashboard session cookie: 12-hour idle timeout and a 7-day absolute maximum.
- Plan orders, request-form records, account and site documents, usage markers, and session invalidation records: retained in object storage until deleted through an operator process or a documented deletion request. No automatic expiry was found in the code.
- Rate-limit counters: short windows only.
Soft-deleting a site does not purge Redis access state, encrypted backups or journals, or decision-log keys. Decision-log keys expire with their retention window. To request permanent deletion of owner details, backups, journals, and residual site records, email hello@tokenlock.ai (placeholder). Include the site id or the dashboard account address. We will not ask for a recovery phrase or private key.
7. Your choices
You can export the decision log (CSV or JSONL) from the dashboard or API. You cannot edit or delete individual decision records through a customer API. You can change settings, keys, and organizations; enable hash_addresses; sign out; rotate or revoke keys; and soft-delete a site. You may email hello@tokenlock.ai (placeholder) to request access, correction, or permanent deletion, subject to what the product can actually erase and to any legal retention need.
8. International processing
The Service is operated from the United States. If you use it from elsewhere, your information is processed in the United States and in the locations of the processors listed above.
9. Children
The Service is not directed at children, and we do not knowingly collect personal information from children.
10. Changes
We may update this Privacy Policy. We will post the updated policy and change the effective date. For material changes we may also notify you using the account or contact information we have.
11. Contact
Questions about privacy, including deletion requests: hello@tokenlock.ai.
[Company legal name] [Company address]