🔗 URL shortener
Short links whose code is derived from the URL and anchored on-chain — so the mapping is verifiable and censorship-resistant, not a row in a database someone can edit or delete.
codefirst 7 base62 chars of
sha256("bsv.cx:url:" + url)on-chain
OP_RETURN bsv.cx url1 <code> <url>Endpoints
POST /s
{ "url": "https://…" } → create + anchorGET /:code302 redirect to the target
GET /:code/viewhuman proof page
GET /:code/infoJSON record
GET /s/:code301 → /:code (permanent legacy alias)
curl -X POST https://bsv.cx/s -H 'content-type: application/json' -d '{"url":"https://example.com"}'
Verify it yourself
Recompute the code from the target URL, then read the OP_RETURN in the anchor
transaction — it carries bsv.cx / url1 / <code> / <url>. No trust in bsv.cx required.